summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt44
-rw-r--r--src/customtraylabel.cpp2
-rw-r--r--src/kdocker.cpp2
-rw-r--r--src/qtraylabel.cpp4
-rw-r--r--src/traylabelmgr.cpp4
-rw-r--r--src/util.cpp2
6 files changed, 55 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..0096124
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,44 @@
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${CMAKE_SOURCE_DIR}/src
+ ${XMU_INCLUDEDIR}
+ ${XPM_INCLUDEDIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdocker ###################################
+
+tde_add_executable( kdocker AUTOMOC
+ SOURCES
+ customtraylabel.cpp
+ kdocker.cpp
+ main.cpp
+ qtraylabel.cpp
+ trace.cpp
+ traylabelmgr.cpp
+ util.cpp
+ LINK
+ kdecore-shared kdeui-shared DCOP-shared
+ ${XMU_LIBRARIES} ${XPM_LIBRARIES}
+ DESTINATION
+ ${BIN_INSTALL_DIR}
+)
+
diff --git a/src/customtraylabel.cpp b/src/customtraylabel.cpp
index 684a098..757df2f 100644
--- a/src/customtraylabel.cpp
+++ b/src/customtraylabel.cpp
@@ -360,3 +360,5 @@ void CustomTrayLabel::dropEvent(QDropEvent *)
"that is brought in front when you hover the item over the tray icon"));
}
+
+#include "customtraylabel.moc"
diff --git a/src/kdocker.cpp b/src/kdocker.cpp
index fd6ce9b..ded1643 100644
--- a/src/kdocker.cpp
+++ b/src/kdocker.cpp
@@ -229,3 +229,5 @@ void KDocker::saveState(QSessionManager &sm)
// sm.setRestartCommand(applicationFilePath());
}
+
+#include "kdocker.moc"
diff --git a/src/qtraylabel.cpp b/src/qtraylabel.cpp
index 34284bd..2c528c1 100644
--- a/src/qtraylabel.cpp
+++ b/src/qtraylabel.cpp
@@ -37,7 +37,7 @@
#include <X11/cursorfont.h>
#include <X11/xpm.h>
-#include <Xmu/WinUtil.h>
+#include <X11/Xmu/WinUtil.h>
#include <string.h>
#include <stdlib.h>
@@ -809,3 +809,5 @@ bool QTrayLabel::restoreState(QSettings &settings)
// End kicking butt
+
+#include "qtraylabel.moc"
diff --git a/src/traylabelmgr.cpp b/src/traylabelmgr.cpp
index 9bbf013..54a789e 100644
--- a/src/traylabelmgr.cpp
+++ b/src/traylabelmgr.cpp
@@ -35,7 +35,7 @@
#include "traylabelmgr.h"
#include "util.h"
-#include <Xmu/WinUtil.h>
+#include <X11/Xmu/WinUtil.h>
#include <errno.h>
#include <stdlib.h>
@@ -523,3 +523,5 @@ bool TrayLabelMgr::x11EventFilter(XEvent *ev)
return ret;
}
+
+#include "traylabelmgr.moc"
diff --git a/src/util.cpp b/src/util.cpp
index 6ddf920..a8766b1 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -23,7 +23,7 @@
#include "util.h"
#include <X11/Xutil.h>
-#include <Xmu/WinUtil.h>
+#include <X11/Xmu/WinUtil.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>