summaryrefslogtreecommitdiffstats
path: root/lib/kpilotdevicelink.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:31:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:31:06 +0900
commit7c95b68b3568737a10901c3e12d316e06dc4015f (patch)
treef9e52f0ee62e755155aedfe6fb4a99e590d9d055 /lib/kpilotdevicelink.cpp
parentbdb5acdfbfe8973f2b45fe54193ad543064c1ac5 (diff)
downloadkpilot-7c95b68b3568737a10901c3e12d316e06dc4015f.tar.gz
kpilot-7c95b68b3568737a10901c3e12d316e06dc4015f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kpilotdevicelink.cpp')
-rw-r--r--lib/kpilotdevicelink.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kpilotdevicelink.cpp b/lib/kpilotdevicelink.cpp
index ecad02a..05edf14 100644
--- a/lib/kpilotdevicelink.cpp
+++ b/lib/kpilotdevicelink.cpp
@@ -76,7 +76,7 @@ static inline void startOpenTimer(DeviceCommThread *dev, TQTimer *&t)
if ( !t)
{
t = new TQTimer(dev);
- TQObject::connect(t, TQT_SIGNAL(timeout()), dev, TQT_SLOT(openDevice()));
+ TQObject::connect(t, TQ_SIGNAL(timeout()), dev, TQ_SLOT(openDevice()));
}
// just a single-shot timer. we'll know when to start it again...
t->start(1000, true);
@@ -306,8 +306,8 @@ bool DeviceCommThread::open(const TQString &device)
fSocketNotifier = new TQSocketNotifier(fTempSocket,
TQSocketNotifier::Read, this);
- TQObject::connect(fSocketNotifier, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(acceptDevice()));
+ TQObject::connect(fSocketNotifier, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(acceptDevice()));
fSocketNotifierActive=true;
/**
@@ -323,7 +323,7 @@ bool DeviceCommThread::open(const TQString &device)
}
fWorkaroundUSBTimer = new TQTimer(this);
- connect(fWorkaroundUSBTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(workaroundUSB()));
+ connect(fWorkaroundUSBTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(workaroundUSB()));
fWorkaroundUSBTimer->start(timeout, true);
return true;