summaryrefslogtreecommitdiffstats
path: root/src/traylabelmgr.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:36:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:36:22 +0900
commitbbb852bc4da9595b161550ff3551597732d7a5a5 (patch)
tree8a2dd47d52826d20074f34df750b2a56bba331d0 /src/traylabelmgr.cpp
parenta655d265a43702e001f139cb43d61a709768bd82 (diff)
downloadtdedocker-bbb852bc4da9595b161550ff3551597732d7a5a5.tar.gz
tdedocker-bbb852bc4da9595b161550ff3551597732d7a5a5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/traylabelmgr.cpp')
-rw-r--r--src/traylabelmgr.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/traylabelmgr.cpp b/src/traylabelmgr.cpp
index b011288..b262ac8 100644
--- a/src/traylabelmgr.cpp
+++ b/src/traylabelmgr.cpp
@@ -47,10 +47,10 @@ TrayLabelMgr* TrayLabelMgr::instance()
TrayLabelMgr::TrayLabelMgr() : mReady(false), mHiddenLabelsCount(0)
{
- connect(&restoreSessionTimer, SIGNAL(timeout()), this, SLOT(doRestoreSession()));
+ connect(&restoreSessionTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(doRestoreSession()));
// Set ourselves up to be called from the application loop
- TQTimer::singleShot(0, this, SLOT(startup()));
+ TQTimer::singleShot(0, this, TQ_SLOT(startup()));
}
TrayLabelMgr::~TrayLabelMgr()
@@ -76,7 +76,7 @@ void TrayLabelMgr::startup(void)
if (wait_time-- > 0 && do_wait)
{
TRACE("Will check sys tray status after 1 second");
- TQTimer::singleShot(1000, this, SLOT(startup()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(startup()));
return;
}
@@ -117,12 +117,12 @@ void TrayLabelMgr::startup(void)
// Initialize a TQTrayLabel after its creation
void TrayLabelMgr::manageTrayLabel(TQTrayLabel *t)
{
- connect(t, SIGNAL(destroyed(TQObject *)), this, SLOT(trayLabelDestroyed(TQObject *)));
- connect(t, SIGNAL(undocked(TQTrayLabel *)), t, SLOT(deleteLater()));
+ connect(t, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(trayLabelDestroyed(TQObject *)));
+ connect(t, TQ_SIGNAL(undocked(TQTrayLabel *)), t, TQ_SLOT(deleteLater()));
// All TQTrayLabels will emit this signal. We just need one of them
if (mTrayLabels.count() == 0)
- connect(t, SIGNAL(sysTrayDestroyed()), this, SLOT(sysTrayDestroyed()));
+ connect(t, TQ_SIGNAL(sysTrayDestroyed()), this, TQ_SLOT(sysTrayDestroyed()));
mTrayLabels.prepend(t);
TRACE("New TQTrayLabel prepended. Count=%i", mTrayLabels.count());
@@ -484,8 +484,8 @@ void TrayLabelMgr::trayLabelDestroyed(TQObject *t)
else if (reconnect)
{
TRACE("Reconnecting");
- connect(mTrayLabels.getFirst(), SIGNAL(sysTrayDestroyed()),
- this, SLOT(sysTrayDestroyed()));
+ connect(mTrayLabels.getFirst(), TQ_SIGNAL(sysTrayDestroyed()),
+ this, TQ_SLOT(sysTrayDestroyed()));
}
}
@@ -497,7 +497,7 @@ void TrayLabelMgr::sysTrayDestroyed(void)
* to not pop up a box when the user is logging out. So, we set ourselves
* up to notify user after 3 seconds.
*/
- TQTimer::singleShot(3000, this, SLOT(notifySysTrayAbsence()));
+ TQTimer::singleShot(3000, this, TQ_SLOT(notifySysTrayAbsence()));
}
void TrayLabelMgr::notifySysTrayAbsence()