mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
remove useless method
This commit is contained in:
parent
68d8a14b9c
commit
48711e73ba
|
@ -2492,11 +2492,6 @@ void ArticleView::copyAsText()
|
|||
QApplication::clipboard()->setText( text );
|
||||
}
|
||||
|
||||
void ArticleView::inspect()
|
||||
{
|
||||
ui.definition->triggerPageAction( QWebEnginePage::InspectElement );
|
||||
}
|
||||
|
||||
void ArticleView::highlightFTSResults()
|
||||
{
|
||||
closeSearch();
|
||||
|
|
|
@ -362,9 +362,6 @@ private slots:
|
|||
/// Copy current selection as plain text
|
||||
void copyAsText();
|
||||
|
||||
/// Inspect element
|
||||
void inspect();
|
||||
|
||||
void setActiveDictIds(ActiveDictIds);
|
||||
|
||||
void dictionaryClear( ActiveDictIds ad );
|
||||
|
|
|
@ -34,11 +34,6 @@ void ArticleWebView::setUp( Config::Class * cfg )
|
|||
setZoomFactor(cfg->preferences.zoomFactor);
|
||||
}
|
||||
|
||||
void ArticleWebView::triggerPageAction( QWebEnginePage::WebAction action, bool checked )
|
||||
{
|
||||
QWebEngineView::triggerPageAction( action, checked );
|
||||
}
|
||||
|
||||
QWebEngineView * ArticleWebView::createWindow( QWebEnginePage::WebWindowType type )
|
||||
{
|
||||
if(type==QWebEnginePage::WebWindowType::WebDialog)
|
||||
|
|
|
@ -35,8 +35,6 @@ public:
|
|||
void setSelectionBySingleClick( bool set )
|
||||
{ selectionBySingleClick = set; }
|
||||
|
||||
void triggerPageAction(QWebEnginePage::WebAction action, bool checked = false);
|
||||
|
||||
bool eventFilter(QObject *obj, QEvent *ev);
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Reference in a new issue