Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json() instead.
Get rid of deprecation warnings in effects KCM. REVIEW: 121957
This commit is contained in:
parent
5c6b89876a
commit
d00d3ea83c
22 changed files with 23 additions and 23 deletions
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_blur_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_blur_config blur_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_blur_config blur_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -24,7 +24,7 @@ target_link_libraries(kwin_coverswitch_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_coverswitch_config coverswitch_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_coverswitch_config coverswitch_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -42,7 +42,7 @@ target_link_libraries(kwin_cube_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_cube_config cube_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_cube_config cube_config.desktop)
|
||||
|
||||
# cube slide
|
||||
set(kwin_cubeslide_config_SRCS cubeslide_config.cpp)
|
||||
|
@ -59,7 +59,7 @@ target_link_libraries(kwin_cubeslide_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_cubeslide_config cubeslide_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_cubeslide_config cubeslide_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_dashboard_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_dashboard_config dashboard_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_dashboard_config dashboard_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -25,7 +25,7 @@ target_link_libraries(kwin_desktopgrid_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_desktopgrid_config desktopgrid_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_desktopgrid_config desktopgrid_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_diminactive_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_diminactive_config diminactive_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_diminactive_config diminactive_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_flipswitch_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_flipswitch_config flipswitch_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_flipswitch_config flipswitch_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_glide_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_glide_config glide_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_glide_config glide_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -24,7 +24,7 @@ target_link_libraries(kwin_invert_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_invert_config invert_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_invert_config invert_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -26,7 +26,7 @@ target_link_libraries(kwin_lookingglass_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_lookingglass_config lookingglass_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_lookingglass_config lookingglass_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_magiclamp_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_magiclamp_config magiclamp_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_magiclamp_config magiclamp_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_magnifier_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_magnifier_config magnifier_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_magnifier_config magnifier_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -16,7 +16,7 @@ target_link_libraries(kwin_mouseclick_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_mouseclick_config mouseclick_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_mouseclick_config mouseclick_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_mousemark_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_mousemark_config mousemark_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_mousemark_config mousemark_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -23,7 +23,7 @@ target_link_libraries(kwin_presentwindows_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_presentwindows_config presentwindows_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_presentwindows_config presentwindows_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_resize_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_resize_config resize_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_resize_config resize_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_showfps_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_showfps_config showfps_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_showfps_config showfps_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_thumbnailaside_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_thumbnailaside_config thumbnailaside_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_thumbnailaside_config thumbnailaside_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -23,7 +23,7 @@ target_link_libraries(kwin_trackmouse_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_trackmouse_config trackmouse_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_trackmouse_config trackmouse_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_windowgeometry_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_windowgeometry_config windowgeometry_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_windowgeometry_config windowgeometry_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -14,7 +14,7 @@ target_link_libraries(kwin_wobblywindows_config
|
|||
KF5::Service
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_wobblywindows_config wobblywindows_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_wobblywindows_config wobblywindows_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
|
@ -15,7 +15,7 @@ target_link_libraries(kwin_zoom_config
|
|||
KF5::XmlGui
|
||||
)
|
||||
|
||||
kservice_desktop_to_json(kwin_zoom_config zoom_config.desktop)
|
||||
kcoreaddons_desktop_to_json(kwin_zoom_config zoom_config.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
|
|
Loading…
Reference in a new issue