summaryrefslogtreecommitdiffstats
path: root/kjsembed/tools/headers/qtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/tools/headers/qtimer.h')
-rw-r--r--kjsembed/tools/headers/qtimer.h20
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;
}