diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:31:06 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 14:52:43 +0900 |
| commit | f9289944a1f0a34b3df76770f27461e6b3752b46 (patch) | |
| tree | 131dc32a84bc1385c2823c210c0974bbc0d0ff6c /lib/kpilotdevicelink.cpp | |
| parent | 3b5ccc656fde07ed416181abf061b4fcd90e2830 (diff) | |
| download | kpilot-f9289944a1f0a34b3df76770f27461e6b3752b46.tar.gz kpilot-f9289944a1f0a34b3df76770f27461e6b3752b46.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7c95b68b3568737a10901c3e12d316e06dc4015f)
Diffstat (limited to 'lib/kpilotdevicelink.cpp')
| -rw-r--r-- | lib/kpilotdevicelink.cpp | 8 |
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; |
