diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/misc/kwalletd/ktimeout.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/misc/kwalletd/ktimeout.cpp')
-rw-r--r-- | kio/misc/kwalletd/ktimeout.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kio/misc/kwalletd/ktimeout.cpp b/kio/misc/kwalletd/ktimeout.cpp index 1827b8bba..e13a32d20 100644 --- a/kio/misc/kwalletd/ktimeout.cpp +++ b/kio/misc/kwalletd/ktimeout.cpp @@ -23,7 +23,7 @@ #include "ktimeout.h" KTimeout::KTimeout(int size) -: QObject(), _timers(size) { +: TQObject(), _timers(size) { _timers.setAutoDelete(true); } @@ -39,7 +39,7 @@ void KTimeout::clear() { void KTimeout::removeTimer(int id) { - QTimer *t = _timers.find(id); + TQTimer *t = _timers.find(id); if (t != 0L) { _timers.remove(id); // autodeletes } @@ -51,15 +51,15 @@ void KTimeout::addTimer(int id, int timeout) { return; } - QTimer *t = new QTimer; - connect(t, SIGNAL(timeout()), this, SLOT(timeout())); + TQTimer *t = new QTimer; + connect(t, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout())); t->start(timeout); _timers.insert(id, t); } void KTimeout::resetTimer(int id, int timeout) { - QTimer *t = _timers.find(id); + TQTimer *t = _timers.find(id); if (t) { t->changeInterval(timeout); } @@ -67,9 +67,9 @@ void KTimeout::resetTimer(int id, int timeout) { void KTimeout::timeout() { - const QTimer *t = static_cast<const QTimer*>(sender()); + const TQTimer *t = static_cast<const TQTimer*>(sender()); if (t) { - QIntDictIterator<QTimer> it(_timers); + TQIntDictIterator<TQTimer> it(_timers); for (; it.current(); ++it) { if (it.current() == t) { emit timedOut(it.currentKey()); |