summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt34
-rw-r--r--src/apppropprg.h2
-rw-r--r--src/clip.cpp7
-rw-r--r--src/clip.h2
-rw-r--r--src/item.cpp6
-rw-r--r--src/item.h10
-rw-r--r--src/kooldock.cpp38
-rw-r--r--src/kooldock.h10
-rw-r--r--src/setupdialogprg.cpp10
-rw-r--r--src/setupdialogprg.h20
-rw-r--r--src/xosd.cpp13
-rw-r--r--src/xosd.h10
12 files changed, 99 insertions, 63 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..6cb5864
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,34 @@
+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_LIB_DIR}
+)
+
+
+##### kooldock (executable)
+
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ appProp.ui
+ setupdialog.ui
+ apppropprg.cpp
+ clip.cpp dinfo.cpp
+ item.cpp kooldock.cpp
+ main.cpp
+ setupdialogprg.cpp
+ xosd.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/src/apppropprg.h b/src/apppropprg.h
index 605b07d..1aaeda0 100644
--- a/src/apppropprg.h
+++ b/src/apppropprg.h
@@ -12,7 +12,7 @@
#ifndef APPPROPPRG_H
#define APPPROPPRG_H
-#include <ntqwidget.h>
+#include <tqwidget.h>
#include "appProp.h"
/**
diff --git a/src/clip.cpp b/src/clip.cpp
index d47b3e8..023cedc 100644
--- a/src/clip.cpp
+++ b/src/clip.cpp
@@ -1,8 +1,8 @@
#include "clip.h"
-#include <ntqwidget.h>
-#include <ntqbitmap.h>
-#include <ntqpainter.h>
+#include <tqwidget.h>
+#include <tqbitmap.h>
+#include <tqpainter.h>
#include <netwm.h>
#include <netwm_def.h>
#include <twin.h>
@@ -47,3 +47,4 @@ void clip::paintEvent(TQPaintEvent*)
mp.end();
setMask(bm);
}
+#include "clip.moc"
diff --git a/src/clip.h b/src/clip.h
index b2701b4..11fca73 100644
--- a/src/clip.h
+++ b/src/clip.h
@@ -5,7 +5,7 @@
#include <config.h>
#endif
-#include <ntqwidget.h>
+#include <tqwidget.h>
#include <netwm.h>
#include <twin.h>
diff --git a/src/item.cpp b/src/item.cpp
index ad43c7e..15c1266 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -18,9 +18,9 @@
#include <tdeglobal.h>
#include <kicontheme.h>
-#include <ntqfile.h>
-#include <ntqimage.h>
-#include <ntqtextstream.h>
+#include <tqfile.h>
+#include <tqimage.h>
+#include <tqtextstream.h>
#include "item.h"
diff --git a/src/item.h b/src/item.h
index 5d94695..2682ade 100644
--- a/src/item.h
+++ b/src/item.h
@@ -21,13 +21,13 @@
#include <kiconloader.h>
#include <twin.h>
-#include <ntqstring.h>
-#include <ntqpixmap.h>
-#include <ntqptrlist.h>
+#include <tqstring.h>
+#include <tqpixmap.h>
+#include <tqptrlist.h>
#include <vector>
-#include <ntqevent.h>
-#include <ntqnamespace.h>
+#include <tqevent.h>
+#include <tqnamespace.h>
const int MAX_LEN = 256;
const int SIZE_INC = 1;
diff --git a/src/kooldock.cpp b/src/kooldock.cpp
index 00a0ec3..d81143e 100644
--- a/src/kooldock.cpp
+++ b/src/kooldock.cpp
@@ -19,21 +19,21 @@
#include <math.h>
#include <algorithm>
-#include <ntqpixmap.h>
-#include <ntqimage.h>
-#include <ntqpainter.h>
-#include <ntqcursor.h>
-#include <ntqdir.h>
-#include <ntqstringlist.h>
-#include <ntqvaluelist.h>
-#include <ntqtooltip.h>
-#include <ntqrect.h>
-#include <ntqfile.h>
-#include <ntqtextstream.h>
-#include <ntqbrush.h>
-#include <ntqpoint.h>
-#include <ntqfont.h>
-#include <ntqdatetime.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqpainter.h>
+#include <tqcursor.h>
+#include <tqdir.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
+#include <tqtooltip.h>
+#include <tqrect.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
+#include <tqbrush.h>
+#include <tqpoint.h>
+#include <tqfont.h>
+#include <tqdatetime.h>
#include <twin.h>
#include <kprocess.h>
@@ -46,7 +46,7 @@
#include <kpixmapio.h>
#include <kstandarddirs.h>
#include <tdeaboutapplication.h>
-#include <ntqlistbox.h>
+#include <tqlistbox.h>
#include <keditlistbox.h>
// for "renicing" the bar
@@ -61,13 +61,12 @@
#include "setupdialogprg.h"
// macros
-
#define min(a, b) (a < b) ? (a) : (b)
#define max(a, b) (a > b) ? (a) : (b)
#include <dcopclient.h>
-#include <iostream>
-#include <ntqdatastream.h>
+//#include <iostream>
+#include <tqdatastream.h>
KoolDock::KoolDock(TQWidget* parent, const char* name) :
TQWidget(parent, name, WStyle_Customize | WStyle_NoBorder | WNoAutoErase | WDestructiveClose | WStyle_StaysOnTop)
@@ -3959,3 +3958,4 @@ void KoolDock::rmFromTaskList(WId id)
}
}
}
+#include "kooldock.moc"
diff --git a/src/kooldock.h b/src/kooldock.h
index 34731ff..9e87d6b 100644
--- a/src/kooldock.h
+++ b/src/kooldock.h
@@ -28,14 +28,14 @@
#include <kpixmap.h>
#include <kurifilter.h>
-#include <ntqwidget.h>
-#include <ntqptrlist.h>
-#include <ntqtimer.h>
-#include <ntqcolor.h>
+#include <tqwidget.h>
+#include <tqptrlist.h>
+#include <tqtimer.h>
+#include <tqcolor.h>
#include <netwm.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include "item.h"
#include "xosd.h"
diff --git a/src/setupdialogprg.cpp b/src/setupdialogprg.cpp
index ae304cb..6e760a7 100644
--- a/src/setupdialogprg.cpp
+++ b/src/setupdialogprg.cpp
@@ -19,13 +19,13 @@
#include <kpushbutton.h>
#include <keditlistbox.h>
#include <klineedit.h>
-#include <ntqlistbox.h>
+#include <tqlistbox.h>
#include <krun.h>
-#include <ntqiconview.h>
-#include <ntqdir.h>
-#include <ntqstringlist.h>
-#include <ntqtabwidget.h>
+#include <tqiconview.h>
+#include <tqdir.h>
+#include <tqstringlist.h>
+#include <tqtabwidget.h>
#include "setupdialog.h"
#include "setupdialogprg.h"
diff --git a/src/setupdialogprg.h b/src/setupdialogprg.h
index 4d5b308..51c3b20 100644
--- a/src/setupdialogprg.h
+++ b/src/setupdialogprg.h
@@ -16,16 +16,16 @@
#include "apppropprg.h"
// QT includes
-#include <ntqcolor.h>
-#include <ntqstring.h>
-#include <ntqcheckbox.h>
-#include <ntqlineedit.h>
-#include <ntqspinbox.h>
-#include <ntqfont.h>
-#include <ntqptrlist.h>
-#include <ntqtabwidget.h>
-#include <ntqpushbutton.h>
-#include <ntqradiobutton.h>
+#include <tqcolor.h>
+#include <tqstring.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqspinbox.h>
+#include <tqfont.h>
+#include <tqptrlist.h>
+#include <tqtabwidget.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
// KDE includes
#include <tdefontcombo.h>
diff --git a/src/xosd.cpp b/src/xosd.cpp
index c4a100f..fed3313 100644
--- a/src/xosd.cpp
+++ b/src/xosd.cpp
@@ -1,12 +1,12 @@
#include "xosd.h"
-#include <ntqpainter.h>
-#include <ntqbitmap.h>
-#include <ntqstring.h>
-#include <ntqfont.h>
-#include <ntqfontmetrics.h>
+#include <tqpainter.h>
+#include <tqbitmap.h>
+#include <tqstring.h>
+#include <tqfont.h>
+#include <tqfontmetrics.h>
-#include <ntqwidget.h>
+#include <tqwidget.h>
#include <tdelocale.h>
#include <netwm.h>
#include <netwm_def.h>
@@ -193,3 +193,4 @@ void xosd::move2(int x, int y)
lastY = y;
}
}
+#include "xosd.moc"
diff --git a/src/xosd.h b/src/xosd.h
index 6d1b206..6bd6206 100644
--- a/src/xosd.h
+++ b/src/xosd.h
@@ -5,11 +5,11 @@
#include <config.h>
#endif
-#include <ntqstring.h>
-#include <ntqwidget.h>
-#include <ntqfont.h>
-#include <ntqpixmap.h>
-#include <ntqbitmap.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqfont.h>
+#include <tqpixmap.h>
+#include <tqbitmap.h>
#include <netwm.h>
#include <twin.h>