RFC: move krunnermodel in org.kde.plasma.core

Aurélien Gâteau agateau at kde.org
Wed Oct 3 11:40:13 UTC 2012


Le mercredi 3 octobre 2012 13:20:43 Marco Martin a écrit :
> Hi all,
> for some reason the krunner model ended up into its own import, that doesn't
> make much sense and causes that tad ov overhead of having one more so.
> 
> its real place would be org.kde.plasma.core together the other libplasma
> bindings.
> 
> if this is moved today would cause some annoyances but not much, basically
> is madder of deleting
> import org.kde.runnermodel
> from the qml files that are using it (and make sure they have import
> org.kde.plasma.core that is 99% likely they have already)
>
> the api of the class wouldn't change

Makes sense to me.

You may want to take advantage of this small breakage to replace the name of 
the model roles from label to display and icon to decoration. This would make 
RunnerModel follow the same conventions used by Qt when exposing C++ models.

Aurélien


More information about the Plasma-devel mailing list