Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json().

Review Request #121957 - Created Jan. 9, 2015 and submitted

Information
Elias Probst
kwin
86a8485...
Reviewers
kwin

Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json() instead.

Get rid of deprecation warnings in effects KCM.

Effects KCM still works as expected - all effects load and can be used.

Nearly all deprecation warnings regarding kservice_desktop_to_json() are gone now in effects KCM.

There's only one remaining:

Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/usr/lib64/qt5/plugins/kwin/effects/configs/kcm_kwin4_genericscripted.so" instead of kservice_desktop_to_json() in your CMake code.

I couldn't find out so far why kcm_kwin4_genericscripted.so is still processed using kservice_desktop_to_json().

Martin Flöser
Elias Probst
Review request changed

Status: Closed (submitted)

Loading...