Changeset View
Changeset View
Standalone View
Standalone View
plugins/projectmanagerview/projecttreeview.cpp
Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Line(s) | |||||
334 | { | 334 | { | ||
335 | QList<ProjectBaseItem*> itemlist; | 335 | QList<ProjectBaseItem*> itemlist; | ||
336 | if ( indexAt( pos ).isValid() ) { | 336 | if ( indexAt( pos ).isValid() ) { | ||
337 | itemlist = selectedProjects(); | 337 | itemlist = selectedProjects(); | ||
338 | } | 338 | } | ||
339 | QMenu menu( this ); | 339 | QMenu menu( this ); | ||
340 | 340 | | |||
341 | KDevelop::ProjectItemContextImpl context(itemlist); | 341 | KDevelop::ProjectItemContextImpl context(itemlist); | ||
342 | QList<ContextMenuExtension> extensions = ICore::self()->pluginController()->queryPluginsForContextMenuExtensions( &context ); | 342 | QList<ContextMenuExtension> extensions = ICore::self()->pluginController()->queryPluginsForContextMenuExtensions(&context, &menu); | ||
343 | 343 | | |||
344 | QList<QAction*> buildActions; | 344 | QList<QAction*> buildActions; | ||
345 | QList<QAction*> vcsActions; | 345 | QList<QAction*> vcsActions; | ||
346 | QList<QAction*> analyzeActions; | 346 | QList<QAction*> analyzeActions; | ||
347 | QList<QAction*> extActions; | 347 | QList<QAction*> extActions; | ||
348 | QList<QAction*> projectActions; | 348 | QList<QAction*> projectActions; | ||
349 | QList<QAction*> fileActions; | 349 | QList<QAction*> fileActions; | ||
350 | QList<QAction*> runActions; | 350 | QList<QAction*> runActions; | ||
▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines |