summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/laptop_daemon.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
committerMichele Calgaro <[email protected]>2024-01-18 22:46:01 +0900
commit278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch)
tree4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /klaptopdaemon/laptop_daemon.cpp
parenta8bb8db5a25e70bf9de62c56c15c442883a752dc (diff)
downloadtdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.tar.gz
tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c)
Diffstat (limited to 'klaptopdaemon/laptop_daemon.cpp')
-rw-r--r--klaptopdaemon/laptop_daemon.cpp14
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);
}
}