| 373 | } |
| 374 | |
| 375 | void OpenWithPlugin::delegateToExternalApplication(const KService::Ptr& service) const |
| 376 | { |
| 377 | Q_ASSERT(service->isApplication()); |
| 378 | |
| 379 | auto* job = new KIO::ApplicationLauncherJob(service); |
| 380 | job->setUrls(m_urls); |
| 381 | job->setUiDelegate(KIO::createDefaultJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, |
| 382 | ICore::self()->uiController()->activeMainWindow())); |
| 383 | job->start(); |
| 384 | } |
| 385 | |
| 386 | void OpenWithPlugin::openApplication(const KService::Ptr& service) |
| 387 | { |
nothing calls this directly
no test coverage detected