void CppPlugin::findUsages() { Core::EditorManager *em = Core::EditorManager::instance(); CPPEditorWidget *editor = qobject_cast<CPPEditorWidget*>(em->currentEditor()->widget()); if (editor) editor->findUsages(); }
void CppPlugin::findUsages() { CPPEditorWidget *editor = qobject_cast<CPPEditorWidget*>(Core::EditorManager::currentEditor()->widget()); if (editor) editor->findUsages(); }