summaryrefslogtreecommitdiffstats
path: root/kio/misc/kwalletd/ktimeout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/misc/kwalletd/ktimeout.cpp')
-rw-r--r--kio/misc/kwalletd/ktimeout.cpp14
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());