add more spacing
[personal-kdebase.git] / workspace / khotkeys / kcm_hotkeys / CMakeLists.txt
blob0bb01747085bf9d7440a614bbd5bed3a8bfd544d
1 # Qt Designer Files
2 include_directories(ui)
4 set(
5     kcm_hotkeys_PART_SRCS
6     kcm_hotkeys.cpp
7     # kcm_gestures.cpp
8     kcm_module_factory.cpp
9     global_settings_widget.cpp
10     hotkeys_model.cpp
11     hotkeys_proxy_model.cpp
12     hotkeys_tree_view.cpp
14     # TRIGGER WIDGETS
15     triggers/trigger_widget_base.cpp
16     triggers/shortcut_trigger_widget.cpp
18     # ACTION WIDGETS
19     actions/action_widget_base.cpp
20     actions/command_url_action_widget.cpp
21     actions/dbus_action_widget.cpp
22     actions/menuentry_action_widget.cpp
24     # ACTION_DATA WIDGETS
25     hotkeys_widget_iface.cpp
26     hotkeys_widget_base.cpp
27     action_group_widget.cpp
28     simple_action_data_widget.cpp
29     )
31 kde4_add_ui_files(
32     kcm_hotkeys_PART_SRCS
33     ui/global_settings_widget.ui
34     ui/command_url_action_widget.ui
35     ui/dbus_action_widget.ui
36     ui/hotkeys_widget_base.ui
37     ui/simple_action_data_widget.ui
38     ui/shortcut_trigger_widget.ui
39     ui/menuentry_action_widget.ui
40     )
42 qt4_add_dbus_interface(
43     kcm_hotkeys_PART_SRCS
44     ${CMAKE_CURRENT_BINARY_DIR}/../app/org.kde.khotkeys.xml
45     khotkeys_interface)
48 kde4_add_plugin(
49     kcm_hotkeys
50     ${kcm_hotkeys_PART_SRCS}
51     )
53 target_link_libraries(
54     kcm_hotkeys
55     khotkeysprivate
56     ${KDE4_KIO_LIBS}
57     ${QT_QTGUI_LIBRARY}
58     ${QT_QT3SUPPORT_LIBRARY}
59     )
61 install(
62     TARGETS kcm_hotkeys
63     DESTINATION ${PLUGIN_INSTALL_DIR}
64     )
66 install(
67     FILES khotkeys.desktop
68 #          gestures.desktop
69           settings-input-actions.desktop
70     DESTINATION ${SERVICES_INSTALL_DIR}
71     )