CMake macros porting

kconfig_add_kcfg_files
qt5_add_dbus_adaptor
qt5_generate_dbus_interface
This commit is contained in:
Aleix Pol 2013-11-26 19:51:13 +01:00
parent 02a42b355b
commit 94f31606e6
25 changed files with 49 additions and 49 deletions

View file

@ -215,11 +215,11 @@ if(WAYLAND_FOUND AND KWIN_HAVE_EGL)
set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} egl_wayland_backend.cpp)
endif()
kde4_add_kcfg_files(kwin_KDEINIT_SRCS settings.kcfgc)
kconfig_add_kcfg_files(kwin_KDEINIT_SRCS settings.kcfgc)
qt4_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.KWin.xml dbusinterface.h KWin::DBusInterface )
qt4_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Compositing.xml composite.h KWin::Compositor )
qt4_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Effects.xml effects.h KWin::EffectsHandlerImpl )
qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.KWin.xml dbusinterface.h KWin::DBusInterface )
qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Compositing.xml composite.h KWin::Compositor )
qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Effects.xml effects.h KWin::EffectsHandlerImpl )
qt5_add_dbus_interface( kwin_KDEINIT_SRCS
${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml ksmserver_interface)

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
blur/blur.cpp
blur/blurshader.cpp )
kde4_add_kcfg_files(kwin4_effect_builtins_sources blur/blurconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources blur/blurconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
blur/blur_config.cpp
blur/blur_config.ui )
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources blur/blurconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources blur/blurconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
coverswitch/coverswitch.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources coverswitch/coverswitchconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES
@ -29,7 +29,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
coverswitch/coverswitch_config.cpp
coverswitch/coverswitch_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources coverswitch/coverswitchconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -8,7 +8,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
cube/cubeslide.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources
kconfig_add_kcfg_files(kwin4_effect_builtins_sources
cube/cubeslideconfig.kcfgc
cube/cubeconfig.kcfgc
)
@ -51,7 +51,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
cube/cubeslide_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources
cube/cubeslideconfig.kcfgc
cube/cubeconfig.kcfgc
)

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
dashboard/dashboard.cpp
dashboard/dashboard.cpp )
kde4_add_kcfg_files(kwin4_effect_builtins_sources dashboard/dashboardconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources dashboard/dashboardconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
dashboard/dashboard_config.cpp
dashboard/dashboard_config.ui )
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources dashboard/dashboardconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources dashboard/dashboardconfig.kcfgc)
install( FILES
dashboard/dashboard_config.desktop

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
desktopgrid/desktopgrid.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources desktopgrid/desktopgridconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources desktopgrid/desktopgridconfig.kcfgc)
# .desktop files
install( FILES
@ -26,7 +26,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
desktopgrid/desktopgrid_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources desktopgrid/desktopgridconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources desktopgrid/desktopgridconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
diminactive/diminactive.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources diminactive/diminactiveconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources diminactive/diminactiveconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
diminactive/diminactive_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources diminactive/diminactiveconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources diminactive/diminactiveconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
flipswitch/flipswitch.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources flipswitch/flipswitchconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources flipswitch/flipswitchconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
flipswitch/flipswitch_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources flipswitch/flipswitchconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources flipswitch/flipswitchconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
glide/glide.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources glide/glideconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources glide/glideconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
glide/glide_config.cpp
glide/glide_config.ui )
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources glide/glideconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources glide/glideconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
kscreen/kscreen.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources kscreen/kscreenconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources kscreen/kscreenconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
logout/logout.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources logout/logoutconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources logout/logoutconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
lookingglass/lookingglass.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources lookingglass/lookingglassconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources lookingglass/lookingglassconfig.kcfgc)
# .desktop files
install( FILES
@ -30,7 +30,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
lookingglass/lookingglass_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources lookingglass/lookingglassconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources lookingglass/lookingglassconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
magiclamp/magiclamp.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources magiclamp/magiclampconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources magiclamp/magiclampconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
magiclamp/magiclamp_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources magiclamp/magiclampconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources magiclamp/magiclampconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
magnifier/magnifier.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources magnifier/magnifierconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources magnifier/magnifierconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
magnifier/magnifier_config.cpp
magnifier/magnifier_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources magnifier/magnifierconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources magnifier/magnifierconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
mouseclick/mouseclick.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources mouseclick/mouseclickconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources mouseclick/mouseclickconfig.kcfgc)
# .desktop files
install( FILES
@ -23,7 +23,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
mouseclick/mouseclick_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources mouseclick/mouseclickconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources mouseclick/mouseclickconfig.kcfgc)
install( FILES
mouseclick/mouseclick_config.desktop

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
mousemark/mousemark.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources mousemark/mousemarkconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources mousemark/mousemarkconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
mousemark/mousemark_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources mousemark/mousemarkconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources mousemark/mousemarkconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -7,7 +7,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
presentwindows/presentwindows_proxy.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources presentwindows/presentwindowsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources presentwindows/presentwindowsconfig.kcfgc)
# .desktop files
install( FILES
@ -27,7 +27,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
presentwindows/presentwindows_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources presentwindows/presentwindowsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources presentwindows/presentwindowsconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
resize/resize.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources resize/resizeconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources resize/resizeconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
resize/resize_config.cpp
resize/resize_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources resize/resizeconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources resize/resizeconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -5,7 +5,7 @@
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
sheet/sheet.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources sheet/sheetconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources sheet/sheetconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
showfps/showfps.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources showfps/showfpsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources showfps/showfpsconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
showfps/showfps_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources showfps/showfpsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources showfps/showfpsconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
thumbnailaside/thumbnailaside.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources thumbnailaside/thumbnailasideconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources thumbnailaside/thumbnailasideconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
thumbnailaside/thumbnailaside_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources thumbnailaside/thumbnailasideconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources thumbnailaside/thumbnailasideconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
trackmouse/trackmouse.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources trackmouse/trackmouseconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources trackmouse/trackmouseconfig.kcfgc)
# .desktop files
install( FILES
@ -28,7 +28,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
trackmouse/trackmouse_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources trackmouse/trackmouseconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources trackmouse/trackmouseconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
windowgeometry/windowgeometry.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources windowgeometry/windowgeometryconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources windowgeometry/windowgeometryconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
windowgeometry/windowgeometry_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources windowgeometry/windowgeometryconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources windowgeometry/windowgeometryconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
wobblywindows/wobblywindows.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources wobblywindows/wobblywindowsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources wobblywindows/wobblywindowsconfig.kcfgc)
# .desktop files
install( FILES
@ -22,7 +22,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
wobblywindows/wobblywindows_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources wobblywindows/wobblywindowsconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources wobblywindows/wobblywindowsconfig.kcfgc)
# .desktop files
install( FILES

View file

@ -6,7 +6,7 @@ set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
zoom/zoom.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources zoom/zoomconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources zoom/zoomconfig.kcfgc)
# .desktop files
install( FILES
@ -21,7 +21,7 @@ set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources
zoom/zoom_config.cpp
zoom/zoom_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources zoom/zoomconfig.kcfgc)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources zoom/zoomconfig.kcfgc)
# .desktop files
install( FILES