From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: TQt4 port kvirc This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/my/idle.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/modules/my/idle.h') diff --git a/src/modules/my/idle.h b/src/modules/my/idle.h index 647b2691..449d36fa 100644 --- a/src/modules/my/idle.h +++ b/src/modules/my/idle.h @@ -22,16 +22,17 @@ #define IDLE_H #include "kvi_settings.h" -#include -#include -#include -#include +#include +#include +#include +#include class IdlePlatform; -class Idle : public QObject +class Idle : public TQObject { Q_OBJECT + TQ_OBJECT public: Idle(); ~Idle(); @@ -72,13 +73,13 @@ class Idle::Private public: Private() {} - QPoint lastMousePos; - QDateTime idleSince; + TQPoint lastMousePos; + TQDateTime idleSince; bool active; int idleTime; - QDateTime startTime; - QTimer checkTimer; + TQDateTime startTime; + TQTimer checkTimer; }; #endif -- cgit v1.2.1