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-04 10:31:06 +0900 |
commit | 7c95b68b3568737a10901c3e12d316e06dc4015f (patch) | |
tree | f9e52f0ee62e755155aedfe6fb4a99e590d9d055 /kpilot/kpilotProbeDialog.cpp | |
parent | bdb5acdfbfe8973f2b45fe54193ad543064c1ac5 (diff) | |
download | kpilot-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 'kpilot/kpilotProbeDialog.cpp')
-rw-r--r-- | kpilot/kpilotProbeDialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpilot/kpilotProbeDialog.cpp b/kpilot/kpilotProbeDialog.cpp index 97960ea..e78367b 100644 --- a/kpilot/kpilotProbeDialog.cpp +++ b/kpilot/kpilotProbeDialog.cpp @@ -154,11 +154,11 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) : fTimeoutTimer = new TQTimer( this ); fProgressTimer = new TQTimer( this ); fRotateLinksTimer = new TQTimer( this ); - connect( fProcessEventsTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(processEvents()) ); - connect( fTimeoutTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout()) ); - connect( fProgressTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( progress()) ); - connect( fRotateLinksTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( detect()) ); - connect( this, TQT_SIGNAL(finished()), this, TQT_SLOT(disconnectDevices()) ); + connect( fProcessEventsTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(processEvents()) ); + connect( fTimeoutTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()) ); + connect( fProgressTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( progress()) ); + connect( fRotateLinksTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( detect()) ); + connect( this, TQ_SIGNAL(finished()), this, TQ_SLOT(disconnectDevices()) ); } ProbeDialog::~ProbeDialog() @@ -182,7 +182,7 @@ int ProbeDialog::exec() mDetected = false; mUserName = TQString(); mDevice = TQString(); - TQTimer::singleShot( 0, this, TQT_SLOT( startDetection() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( startDetection() ) ); return KDialogBase::exec(); } @@ -193,7 +193,7 @@ void ProbeDialog::startDetection() disconnectDevices(); fProgress->setProgress(0); fStatus->setText( i18n("Starting detection...") ); - TQTimer::singleShot(0, this, TQT_SLOT(processEvents()) ); + TQTimer::singleShot(0, this, TQ_SLOT(processEvents()) ); processEvents(); PilotDaemonDCOP_stub *daemonStub = new PilotDaemonDCOP_stub("kpilotDaemon", "KPilotDaemonIface"); if (daemonStub) { @@ -226,7 +226,7 @@ void ProbeDialog::startDetection() DEBUGKPILOT<<"new kpilotDeviceLink for "<<(*it)<<endl; #endif mDeviceLinks[i].append( link ); - connect( link, TQT_SIGNAL(deviceReady(KPilotDeviceLink*)), this, TQT_SLOT(connection(KPilotDeviceLink*)) ); + connect( link, TQ_SIGNAL(deviceReady(KPilotDeviceLink*)), this, TQ_SLOT(connection(KPilotDeviceLink*)) ); processEvents(); } } @@ -293,7 +293,7 @@ void ProbeDialog::connection( KPilotDeviceLink*lnk) fResultsGroup->setEnabled( true ); enableButtonOK(true); - TQTimer::singleShot(0, this, TQT_SLOT(retrieveDBList())); + TQTimer::singleShot(0, this, TQ_SLOT(retrieveDBList())); } void ProbeDialog::retrieveDBList() @@ -329,7 +329,7 @@ void ProbeDialog::retrieveDBList() // End sync gracefully, but don't change settings on the handheld. mActiveLink->endSync( KPilotLink::NoUpdate ); - TQTimer::singleShot(0, this, TQT_SLOT(disconnectDevices())); + TQTimer::singleShot(0, this, TQ_SLOT(disconnectDevices())); } void ProbeDialog::disconnectDevices() { |