remove useless method

This commit is contained in:
Xiao YiFang 2022-08-05 22:13:30 +08:00
parent 68d8a14b9c
commit 48711e73ba
4 changed files with 0 additions and 15 deletions

View file

@ -2492,11 +2492,6 @@ void ArticleView::copyAsText()
QApplication::clipboard()->setText( text );
}
void ArticleView::inspect()
{
ui.definition->triggerPageAction( QWebEnginePage::InspectElement );
}
void ArticleView::highlightFTSResults()
{
closeSearch();

View file

@ -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 );

View file

@ -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)

View file

@ -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: