diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
commit | 0a80cfd57d271dd44221467efb426675fa470356 (patch) | |
tree | 6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/kvilib/ext/kvi_garbage.h | |
parent | 3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff) | |
download | kvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip |
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
Diffstat (limited to 'src/kvilib/ext/kvi_garbage.h')
-rw-r--r-- | src/kvilib/ext/kvi_garbage.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/kvilib/ext/kvi_garbage.h b/src/kvilib/ext/kvi_garbage.h index 6bb75641..8c8e71e4 100644 --- a/src/kvilib/ext/kvi_garbage.h +++ b/src/kvilib/ext/kvi_garbage.h @@ -24,23 +24,24 @@ #include "kvi_settings.h" -#include <qobject.h> +#include <tqobject.h> #include "kvi_pointerlist.h" -#include <qtimer.h> +#include <tqtimer.h> -class KVILIB_API KviGarbageCollector : public QObject +class KVILIB_API KviGarbageCollector : public TQObject { Q_OBJECT + TQ_OBJECT public: KviGarbageCollector(); ~KviGarbageCollector(); protected: - KviPointerList<QObject> * m_pGarbageList; - QTimer * m_pCleanupTimer; + KviPointerList<TQObject> * m_pGarbageList; + TQTimer * m_pCleanupTimer; bool m_bForceCleanupNow; public: - void collect(QObject * g); + void collect(TQObject * g); protected: void triggerCleanup(int iTimeout); protected slots: |