Changeset View
Changeset View
Standalone View
Standalone View
plugins/quickopen/quickopenplugin.cpp
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Line(s) | 400 | { | |||
---|---|---|---|---|---|
407 | delete m_documentationItemData; | 407 | delete m_documentationItemData; | ||
408 | delete m_actionsItemData; | 408 | delete m_actionsItemData; | ||
409 | } | 409 | } | ||
410 | 410 | | |||
411 | void QuickOpenPlugin::unload() | 411 | void QuickOpenPlugin::unload() | ||
412 | { | 412 | { | ||
413 | } | 413 | } | ||
414 | 414 | | |||
415 | ContextMenuExtension QuickOpenPlugin::contextMenuExtension(Context* context) | 415 | ContextMenuExtension QuickOpenPlugin::contextMenuExtension(Context* context, QWidget* parent) | ||
416 | { | 416 | { | ||
417 | KDevelop::ContextMenuExtension menuExt = KDevelop::IPlugin::contextMenuExtension(context); | 417 | KDevelop::ContextMenuExtension menuExt = KDevelop::IPlugin::contextMenuExtension(context, parent); | ||
418 | 418 | | |||
419 | KDevelop::DeclarationContext* codeContext = dynamic_cast<KDevelop::DeclarationContext*>(context); | 419 | KDevelop::DeclarationContext* codeContext = dynamic_cast<KDevelop::DeclarationContext*>(context); | ||
420 | 420 | | |||
421 | if (!codeContext) { | 421 | if (!codeContext) { | ||
422 | return menuExt; | 422 | return menuExt; | ||
423 | } | 423 | } | ||
424 | 424 | | |||
425 | DUChainReadLocker readLock; | 425 | DUChainReadLocker readLock; | ||
▲ Show 20 Lines • Show All 742 Lines • Show Last 20 Lines |