diff options
Diffstat (limited to 'src/traylabelmgr.cpp')
-rw-r--r-- | src/traylabelmgr.cpp | 18 |
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() |