Review Request 122239: Add KCMShell.open() to kquickcontrolsaddons
Lukáš Tinkl
lukas at kde.org
Sat Jan 24 23:44:34 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122239/#review74683
-----------------------------------------------------------
src/qmlcontrols/kquickcontrolsaddons/kcmshell.h
<https://git.reviewboard.kde.org/r/122239/#comment51775>
Wouldn't it be sufficient to just provide one method, taking the stringlist? I think it would still work from JS, you can normally omit the array specifier []
- Lukáš Tinkl
On Led. 24, 2015, 10:41 odp., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122239/
> -----------------------------------------------------------
>
> (Updated Led. 24, 2015, 10:41 odp.)
>
>
> Review request for Plasma.
>
>
> Repository: kdeclarative
>
>
> Description
> -------
>
> 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.
>
>
> Diffs
> -----
>
> src/qmlcontrols/kquickcontrolsaddons/CMakeLists.txt 65e28ff
> src/qmlcontrols/kquickcontrolsaddons/kcmshell.h PRE-CREATION
> src/qmlcontrols/kquickcontrolsaddons/kcmshell.cpp PRE-CREATION
> src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.cpp 289f1ed
>
> Diff: https://git.reviewboard.kde.org/r/122239/diff/
>
>
> Testing
> -------
>
> Works. Dunno if the name causes clashes or this is the right place to put it.
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150124/f40b4a36/attachment.html>
More information about the Plasma-devel
mailing list