diff options
Diffstat (limited to 'src/sources/threadedtrigger.h')
-rw-r--r-- | src/sources/threadedtrigger.h | 18 |
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 |