D28285: [ApplicationLauncherJob] Add way to launch KServiceAction
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Mar 25 15:47:31 GMT 2020
broulik created this revision.
broulik added reviewers: Frameworks, dfaure, davidedmundson.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
broulik requested review of this revision.
REVISION SUMMARY
This offers convenience API for launching a specific `KServiceAction` on a `KService`.
TEST PLAN
We have a bunch of places in Plasma where (task manager, kickoff, krunner) where we deal with service actions. Right now they all pretty much `KRun::runCommand(action.exec())`.
This new API ensures it gets the same capabilities (including URL expansion) and proper startup info (app icon bouncy cursor) as regular service launches.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D28285
AFFECTED FILES
src/gui/applicationlauncherjob.cpp
src/gui/applicationlauncherjob.h
To: broulik, #frameworks, dfaure, davidedmundson
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200325/faeba199/attachment.html>
More information about the Kde-frameworks-devel
mailing list