diff options
Diffstat (limited to 'klaptopdaemon/laptop_daemon.cpp')
-rw-r--r-- | klaptopdaemon/laptop_daemon.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klaptopdaemon/laptop_daemon.cpp b/klaptopdaemon/laptop_daemon.cpp index 97e70ba..4a7545d 100644 --- a/klaptopdaemon/laptop_daemon.cpp +++ b/klaptopdaemon/laptop_daemon.cpp @@ -100,7 +100,7 @@ laptop_daemon::laptop_daemon(const TQCString& obj): KDEDModule(obj) sony_notifier = 0; knownFullyCharged = 0; sony_disp = 0; - connect(this, TQT_SIGNAL(signal_checkBattery()), TQT_SLOT(checkBatteryNow())); + connect(this, TQ_SIGNAL(signal_checkBattery()), TQ_SLOT(checkBatteryNow())); //hasAudio = (audioServer.serverStatus() == 0) ? true : false; @@ -113,8 +113,8 @@ laptop_daemon::laptop_daemon(const TQCString& obj): KDEDModule(obj) else _pcmcia = NULL; if (_pcmcia) - connect(_pcmcia, TQT_SIGNAL(cardUpdated(int)), this, TQT_SLOT(updatePCMCIA(int))); - connect( &autoLock, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) ); + connect(_pcmcia, TQ_SIGNAL(cardUpdated(int)), this, TQ_SLOT(updatePCMCIA(int))); + connect( &autoLock, TQ_SIGNAL(timeout()), this, TQ_SLOT(timerDone()) ); } @@ -297,8 +297,8 @@ void laptop_daemon::restart() if (sony_notifier == 0) { sony_notifier = new TQSocketNotifier( sony_fd, TQSocketNotifier::Read, this ); if (sony_notifier) - TQObject::connect( sony_notifier, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(sonyDataReceived()) ); + TQObject::connect( sony_notifier, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(sonyDataReceived()) ); } } else { if (sony_notifier) { @@ -388,13 +388,13 @@ void laptop_daemon::timerDone() wakepos.setY(TQCursor::pos().y()); if (!wake_timer) { wake_timer = new TQTimer(this); - connect(wake_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(WakeCheck())); + connect(wake_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(WakeCheck())); wake_timer->start(1*1000, 1); } } else { if (!backoffTimer) { backoffTimer = new TQTimer(this); - connect(backoffTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(BackoffRestart())); + connect(backoffTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(BackoffRestart())); backoffTimer->start(60*1000, 1); } } |