diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/tools/headers/qtimer.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/tools/headers/qtimer.h')
-rw-r--r-- | kjsembed/tools/headers/qtimer.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/tools/headers/qtimer.h b/kjsembed/tools/headers/qtimer.h index b662470d..311e5e08 100644 --- a/kjsembed/tools/headers/qtimer.h +++ b/kjsembed/tools/headers/qtimer.h @@ -1,7 +1,7 @@ /**************************************************************************** ** ** -** Definition of QTimer class +** Definition of TQTimer class ** ** Created : 931111 ** @@ -39,16 +39,16 @@ #define QTIMER_H #ifndef QT_H -#include "qobject.h" +#include "tqobject.h" #endif // QT_H -class Q_EXPORT QTimer : public QObject +class Q_EXPORT TQTimer : public QObject { Q_OBJECT public: - QTimer( QObject *parent=0, const char *name=0 ); - ~QTimer(); + TQTimer( TQObject *parent=0, const char *name=0 ); + ~TQTimer(); bool isActive() const; @@ -56,7 +56,7 @@ public: void changeInterval( int msec ); void stop(); - static void singleShot( int msec, QObject *receiver, const char *member ); + static void singleShot( int msec, TQObject *receiver, const char *member ); int timerId() const { return id; } @@ -64,7 +64,7 @@ signals: void timeout(); protected: - bool event( QEvent * ); + bool event( TQEvent * ); private: int id; @@ -73,13 +73,13 @@ private: private: // Disabled copy constructor and operator= #if defined(Q_DISABLE_COPY) - QTimer( const QTimer & ); - QTimer &operator=( const QTimer & ); + TQTimer( const TQTimer & ); + TQTimer &operator=( const TQTimer & ); #endif }; -inline bool QTimer::isActive() const +inline bool TQTimer::isActive() const { return id >= 0; } |