| 341 | } |
| 342 | |
| 343 | void GrepDialog::addUrlToMenu(QMenu* menu, const QUrl& url) |
| 344 | { |
| 345 | QAction* action = menu->addAction(m_plugin->core()->projectController()->prettyFileName(url, KDevelop::IProjectController::FormatPlain)); |
| 346 | action->setData(QVariant(url.toString(QUrl::PreferLocalFile))); |
| 347 | connect(action, &QAction::triggered, this, &GrepDialog::synchronizeDirActionTriggered); |
| 348 | } |
| 349 | |
| 350 | void GrepDialog::addStringToMenu(QMenu* menu, const QString& string) |
| 351 | { |
nothing calls this directly
no test coverage detected