Core: Apply 'static' pattern to Core::FindPlugin

Also, rename it to Core::Find. It hasn't been a plugin for a while.

Change-Id: I845885ccf18bdc1440258d523b033758d5583881
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
hjk
2016-03-11 19:12:07 +01:00
parent 2ffd95f66a
commit bcf7a11c24
15 changed files with 172 additions and 212 deletions

View File

@@ -405,7 +405,7 @@ bool TextBrowserHelpWidget::eventFilter(QObject *obj, QEvent *event)
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
if (keyEvent->key() == Qt::Key_Slash) {
keyEvent->accept();
Core::FindPlugin::instance()->openFindToolBar(Core::FindPlugin::FindForwardDirection);
Core::Find::openFindToolBar(Core::Find::FindForwardDirection);
return true;
}
} else if (event->type() == QEvent::ToolTip) {