summaryrefslogtreecommitdiffstats
path: root/client/config
diff options
context:
space:
mode:
Diffstat (limited to 'client/config')
-rw-r--r--client/config/CMakeLists.txt26
-rw-r--r--client/config/Makefile.am2
-rw-r--r--client/config/config.cpp4
-rw-r--r--client/config/dominoConfig.h (renamed from client/config/config.h)4
4 files changed, 33 insertions, 3 deletions
diff --git a/client/config/CMakeLists.txt b/client/config/CMakeLists.txt
new file mode 100644
index 0000000..e2193f8
--- /dev/null
+++ b/client/config/CMakeLists.txt
@@ -0,0 +1,26 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### twin_domino_config (kpart)
+
+tde_add_kpart( twin_domino_config AUTOMOC
+
+ SOURCES
+ config.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/client/config/Makefile.am b/client/config/Makefile.am
index 8831c43..0e0c631 100644
--- a/client/config/Makefile.am
+++ b/client/config/Makefile.am
@@ -7,4 +7,4 @@ twin_domino_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
twin_domino_config_la_LIBADD = $(LIB_TDEUI) $(LIB_TQT) $(LIB_TDECORE)
METASOURCES = AUTO
-noinst_HEADERS = config.h
+noinst_HEADERS = dominoConfig.h
diff --git a/client/config/config.cpp b/client/config/config.cpp
index 5dfffb2..48025ae 100644
--- a/client/config/config.cpp
+++ b/client/config/config.cpp
@@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
+#include "dominoConfig.h"
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tqvbox.h>
@@ -284,5 +284,5 @@ void DominoConfig::loadButtonContourColors() {
}
-#include "config.moc"
+#include "dominoConfig.moc"
diff --git a/client/config/config.h b/client/config/dominoConfig.h
index e48e96e..6313d96 100644
--- a/client/config/config.h
+++ b/client/config/dominoConfig.h
@@ -23,6 +23,10 @@
#ifndef DOMINOCONFIG_H
#define DOMINOCONFIG_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tqcheckbox.h>
#include <tdeconfig.h>
#include <tqvbox.h>