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