Add KCMShell.open() to kquickcontrolsaddons
Review Request #122239 - Created Jan. 24, 2015 and submitted
|Kai Uwe Broulik|
Since there are already like 10 copies of the ProcessRunner for all kinds of plasmoids wanting to open a KCM, this adds a KCMShell.open("foo") and KCMShell.open(["foo", "bar", "baz"]) singleton.
Works. Dunno if the name causes clashes or this is the right place to put it.
|given we can open multiple modules it would be good to expose setting --caption and --icon to kcmshell otherwise it ...||David Edmundson|
QStringList is enough. That is unexpected, to say the least, and not standard JS behavior. But it's nice nonetheless.
Revision 2 (+86)