From 7c95b68b3568737a10901c3e12d316e06dc4015f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:31:06 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- lib/kpilotdevicelink.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/kpilotdevicelink.cpp') 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; -- cgit v1.2.3