summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-08 22:07:35 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-08 22:21:04 (GMT)
commit39787e4324e3a7560e44a39408183dab97ff90b9 (patch)
treea90f3ef6e4a85af5e822e02d9261406f09b389fc
parent0ba233788c56abd91e24f80f92a00081c7470875 (diff)
Use kconfig_add_kcfg_files for kcfgc
-rw-r--r--CMakeLists.txt4
-rw-r--r--active/components/CMakeLists.txt2
-rw-r--r--generators/kimgio/CMakeLists.txt2
-rw-r--r--generators/poppler/CMakeLists.txt2
-rw-r--r--generators/spectre/CMakeLists.txt2
5 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51d2014..fd3adaa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,7 @@ kde4_add_ui_files(okularcore_SRCS
core/chooseenginewidget.ui
)
-kde4_add_kcfg_files(okularcore_SRCS conf/settings_core.kcfgc )
+kconfig_add_kcfg_files(okularcore_SRCS conf/settings_core.kcfgc )
kde4_add_library(okularcore SHARED ${okularcore_SRCS})
@@ -234,7 +234,7 @@ kde4_add_ui_files(okularpart_SRCS
conf/dlgpresentationbase.ui
)
-kde4_add_kcfg_files(okularpart_SRCS conf/settings.kcfgc )
+kconfig_add_kcfg_files(okularpart_SRCS conf/settings.kcfgc )
qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml)
diff --git a/active/components/CMakeLists.txt b/active/components/CMakeLists.txt
index 19b759e..07eac9b 100644
--- a/active/components/CMakeLists.txt
+++ b/active/components/CMakeLists.txt
@@ -18,7 +18,7 @@ set(okular_SRCS
thumbnailitem.cpp
)
-kde4_add_kcfg_files(okular_SRCS ${CMAKE_SOURCE_DIR}/conf/settings.kcfgc )
+kconfig_add_kcfg_files (okular_SRCS ${CMAKE_SOURCE_DIR}/conf/settings.kcfgc )
qt4_automoc(${okular_SRCS})
diff --git a/generators/kimgio/CMakeLists.txt b/generators/kimgio/CMakeLists.txt
index 5c46af8..0eea1fb 100644
--- a/generators/kimgio/CMakeLists.txt
+++ b/generators/kimgio/CMakeLists.txt
@@ -16,7 +16,7 @@ target_link_libraries(okularGenerator_kimgio okularcore ${KDE4_KDEUI_LIBS} ${KDE
install(TARGETS okularGenerator_kimgio DESTINATION ${PLUGIN_INSTALL_DIR})
set( kimgiotest_SRCS tests/kimgiotest.cpp ${CMAKE_SOURCE_DIR}/ui/pagepainter.cpp ${CMAKE_SOURCE_DIR}/ui/guiutils.cpp )
-kde4_add_kcfg_files( kimgiotest_SRCS ${CMAKE_SOURCE_DIR}/conf/settings.kcfgc )
+kconfig_add_kcfg_files( kimgiotest_SRCS ${CMAKE_SOURCE_DIR}/conf/settings.kcfgc )
kde4_add_unit_test( kimgiotest ${kimgiotest_SRCS} )
target_link_libraries( kimgiotest ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY} ${QIMAGEBLITZ_LIBRARIES} okularcore )
diff --git a/generators/poppler/CMakeLists.txt b/generators/poppler/CMakeLists.txt
index 4849655..8d9b1f0 100644
--- a/generators/poppler/CMakeLists.txt
+++ b/generators/poppler/CMakeLists.txt
@@ -40,7 +40,7 @@ kde4_add_ui_files(okularGenerator_poppler_PART_SRCS
conf/pdfsettingswidget.ui
)
-kde4_add_kcfg_files(okularGenerator_poppler_PART_SRCS conf/pdfsettings.kcfgc )
+kconfig_add_kcfg_files(okularGenerator_poppler_PART_SRCS conf/pdfsettings.kcfgc )
kde4_add_plugin(okularGenerator_poppler ${okularGenerator_poppler_PART_SRCS})
diff --git a/generators/spectre/CMakeLists.txt b/generators/spectre/CMakeLists.txt
index 617047a..be77d65 100644
--- a/generators/spectre/CMakeLists.txt
+++ b/generators/spectre/CMakeLists.txt
@@ -17,7 +17,7 @@ kde4_add_ui_files(okularGenerator_ghostview_SRCS
conf/gssettingswidget.ui
)
-kde4_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
+kconfig_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
kde4_add_plugin(okularGenerator_ghostview ${okularGenerator_ghostview_SRCS})