diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 20:33:17 +0900 |
| commit | 677dae3bd35bd025d338292a296632d3d2f183e4 (patch) | |
| tree | a5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/kvilib/ext | |
| parent | 0066e291146de702674fb38a0a2428db405698b0 (diff) | |
| download | kvirc-677dae3b.tar.gz kvirc-677dae3b.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')
| -rw-r--r-- | src/kvilib/ext/kvi_garbage.cpp | 6 | ||||
| -rw-r--r-- | src/kvilib/ext/kvi_sharedfiles.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kvilib/ext/kvi_garbage.cpp b/src/kvilib/ext/kvi_garbage.cpp index 17c2afb..4d79b48 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); } diff --git a/src/kvilib/ext/kvi_sharedfiles.cpp b/src/kvilib/ext/kvi_sharedfiles.cpp index 4651a3c..69a2525 100644 --- a/src/kvilib/ext/kvi_sharedfiles.cpp +++ b/src/kvilib/ext/kvi_sharedfiles.cpp @@ -101,7 +101,7 @@ KviSharedFilesManager::KviSharedFilesManager() m_pSharedListDict = new KviPointerHashTable<TQString,KviSharedFileList>(); m_pSharedListDict->setAutoDelete(true); m_pCleanupTimer = new TQTimer(); - connect(m_pCleanupTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(cleanup())); + connect(m_pCleanupTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(cleanup())); } KviSharedFilesManager::~KviSharedFilesManager() |
