MCPcopy Create free account
hub / github.com/KDE/kdevelop / delegateToExternalApplication

Method delegateToExternalApplication

plugins/openwith/openwithplugin.cpp:375–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void 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
386void OpenWithPlugin::openApplication(const KService::Ptr& service)
387{

Callers

nothing calls this directly

Calls 4

setUrlsMethod · 0.80
uiControllerMethod · 0.80
activeMainWindowMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected