Port kded plugin to json metadata
ClosedPublic

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

Diff Detail

Repository
R109 KWriteD
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
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
78

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

81

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
154 ↗(On Diff #2062)

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.