summaryrefslogtreecommitdiffstats
path: root/qtmcop
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 22:03:55 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 22:03:55 +0000
commit4448315e65918e744219f7b814effa54e796e286 (patch)
tree8f2ca9f57584ad2ad56f966fa5c09c0558929830 /qtmcop
parentcba01693b4883ecefb114e4dd2dfea209f2a6675 (diff)
downloadarts-4448315e65918e744219f7b814effa54e796e286.tar.gz
arts-4448315e65918e744219f7b814effa54e796e286.zip
arts, kdelibs, kdebase, kdepim: use new tqt build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1226236 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtmcop')
-rw-r--r--qtmcop/CMakeLists.txt9
-rw-r--r--qtmcop/qiomanager_p.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/qtmcop/CMakeLists.txt b/qtmcop/CMakeLists.txt
index f2733c4..a4ff199 100644
--- a/qtmcop/CMakeLists.txt
+++ b/qtmcop/CMakeLists.txt
@@ -34,14 +34,11 @@ install( FILES
##### qtmcop ##############################
-add_custom_command(
- OUTPUT qiomanager_p.moc
- COMMAND ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -o qiomanager_p.moc
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h
-)
+set( qtmcop_SRCS qiomanager.cc )
+tde_moc( qtmcop_SRCS qiomanager_p.h )
tde_add_library( qtmcop SHARED
- SOURCES qiomanager.cc qiomanager_p.moc
+ SOURCES ${qtmcop_SRCS}
VERSION 1.0.0
LINK mcop-shared ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
diff --git a/qtmcop/qiomanager_p.h b/qtmcop/qiomanager_p.h
index b4fea29..5c5e8e5 100644
--- a/qtmcop/qiomanager_p.h
+++ b/qtmcop/qiomanager_p.h
@@ -40,6 +40,7 @@ namespace Arts {
class QIOWatch : public TQObject {
Q_OBJECT
+ TQ_OBJECT
protected:
TQSocketNotifier *qsocketnotify;
int _fd;
@@ -61,6 +62,7 @@ public slots:
class QTimeWatch : public TQObject {
Q_OBJECT
+ TQ_OBJECT
protected:
TQTimer *timer;
TimeNotify *_client;