summaryrefslogtreecommitdiffstats
path: root/src/sources/threadedtrigger.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
commit383adc283801b6238d8acfc750890613a63f8060 (patch)
treeaf3a65389067c05263db2ef4551a541501422998 /src/sources/threadedtrigger.h
parentda7847adb43726079c7a4be1f06acbebe0bdde57 (diff)
downloadkima-383adc283801b6238d8acfc750890613a63f8060.tar.gz
kima-383adc283801b6238d8acfc750890613a63f8060.zip
TQt4 port kima
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sources/threadedtrigger.h')
-rw-r--r--src/sources/threadedtrigger.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sources/threadedtrigger.h b/src/sources/threadedtrigger.h
index 8d84d5f..2978e6d 100644
--- a/src/sources/threadedtrigger.h
+++ b/src/sources/threadedtrigger.h
@@ -24,18 +24,18 @@
#include "source.h"
#include "updateevent.h"
#include "triggeredsource.h"
-#include <qwaitcondition.h>
-#include <qmutex.h>
-#include <qthread.h>
-#include <qevent.h>
-#include <qobject.h>
+#include <tqwaitcondition.h>
+#include <tqmutex.h>
+#include <tqthread.h>
+#include <tqevent.h>
+#include <tqobject.h>
/**
* ThreadedTrigger calls the fetchValue method of a source asynchronous using a thread
* @author Ken Werner
*/
-class ThreadedTrigger : public QObject, QThread{
- Q_OBJECT //macro which activates signals and slots (moc)
+class ThreadedTrigger : public TQObject, TQThread{
+ TQ_OBJECT //macro which activates signals and slots (tqmoc)
public:
/**
* Creates a new ThreadedTrigger
@@ -78,12 +78,12 @@ private:
* this is the condition, on which this thread sleeps
* mRefreshSleep milliseconds.
*/
- QWaitCondition mWaitCond;
+ TQWaitCondition mWaitCond;
/*
* this mutex ensures that the thread always sleeps on the
* condition, if we signal it.
*/
- QMutex mWaitMutex;
+ TQMutex mWaitMutex;
};
#endif //THREADEDTRIGGER_H