Port kded plugin to json metadata
ClosedPublic

Authored by heikobecker on Jan 21 2016, 6:25 PM.

Diff Detail

Repository
R109 KWriteD
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
heikobecker updated this revision to Diff 2058.Jan 21 2016, 6:25 PM
heikobecker retitled this revision from to Port kded plugin to json metadata.
heikobecker updated this object.
heikobecker edited the test plan for this revision. (Show Details)
heikobecker added a reviewer: plasma-devel.
arichardson added inline comments.
CMakeLists.txt
79

Add SERVICE_TYPES kdedmodule.desktop here to ensure that all keys have the right type

84–85

Could be simplified to use kcoreaddons_add_plugin(kded_kwrite SOURCES kwrited.cpp JSON "kwrited.json" INSTALL_NAMESPACE "kf5/kded")

heikobecker updated this revision to Diff 2062.Jan 22 2016, 8:58 AM

Used suggested kcoreaddons_add_plugin

arichardson accepted this revision.Jan 23 2016, 5:04 PM
arichardson added a reviewer: arichardson.

Looks good to me once the JSON has been changed to use bool

kwrited.json
155

This and the following should be a boolean not a string.
desktoptojson -s kdedmodule.desktop -i $in -o $out should correctly do that

This revision is now accepted and ready to land.Jan 23 2016, 5:04 PM
This revision was automatically updated to reflect the committed changes.