diff options
Diffstat (limited to 'qtinterface/tqtimer.h')
-rw-r--r-- | qtinterface/tqtimer.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/qtinterface/tqtimer.h b/qtinterface/tqtimer.h index 4df2502..7b6b72b 100644 --- a/qtinterface/tqtimer.h +++ b/qtinterface/tqtimer.h @@ -29,6 +29,15 @@ Boston, MA 02110-1301, USA. // Reimplement the QTimer class // For Qt3, no changes are needed +#include <qtimer.h> + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTimer class +// For Qt4, some changes are needed + // Linker tricks required to override a class without changing its name #define QTimer IQTimer #include <qtimer.h> @@ -83,7 +92,7 @@ inline bool QTimer::isActive() const return id >= 0; } -#endif // USE_QT3 +#endif // USE_QT4 // #ifdef USE_QT4 // |