summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_garbage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 20:33:17 +0900
commit677dae3bd35bd025d338292a296632d3d2f183e4 (patch)
treea5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/kvilib/ext/kvi_garbage.cpp
parent0066e291146de702674fb38a0a2428db405698b0 (diff)
downloadkvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz
kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/kvilib/ext/kvi_garbage.cpp')
-rw-r--r--src/kvilib/ext/kvi_garbage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/ext/kvi_garbage.cpp b/src/kvilib/ext/kvi_garbage.cpp
index 17c2afb9..4d79b488 100644
--- a/src/kvilib/ext/kvi_garbage.cpp
+++ b/src/kvilib/ext/kvi_garbage.cpp
@@ -51,7 +51,7 @@ void KviGarbageCollector::collect(TQObject * g)
//tqDebug("COLLECTING GARBAGE %s",g->className());
m_pGarbageList->append(g);
// tqDebug("Registering garbage object %d (%s:%s)",g,g->className(),g->name());
- connect(g,TQT_SIGNAL(destroyed()),this,TQT_SLOT(garbageSuicide()));
+ connect(g,TQ_SIGNAL(destroyed()),this,TQ_SLOT(garbageSuicide()));
triggerCleanup(0);
}
@@ -83,7 +83,7 @@ void KviGarbageCollector::triggerCleanup(int iTimeout)
m_pCleanupTimer->stop();
} else {
m_pCleanupTimer = new TQTimer(this);
- connect(m_pCleanupTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(cleanup()));
+ connect(m_pCleanupTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(cleanup()));
}
m_pCleanupTimer->start(iTimeout);
}
@@ -118,7 +118,7 @@ void KviGarbageCollector::cleanup()
for(TQObject * o2 = dying.first();o2;o2 = dying.next())
{
//tqDebug("KILLING GARBAGE CLASS %s",o2->className());
- disconnect(o2,TQT_SIGNAL(destroyed()),this,TQT_SLOT(garbageSuicide()));
+ disconnect(o2,TQ_SIGNAL(destroyed()),this,TQ_SLOT(garbageSuicide()));
m_pGarbageList->removeRef(o2);
}