diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:36:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:36:11 +0900 |
commit | b05bbf90f3b7b82b722dfc584e9b040b0803d771 (patch) | |
tree | 2a4f442342143e24875666691d4036be0528f585 /src/tdebluezioclient | |
parent | 66ca19ad6b97fbfd4c2896b53c8c0d35cee0faa2 (diff) | |
download | tdebluez-b05bbf90f3b7b82b722dfc584e9b040b0803d771.tar.gz tdebluez-b05bbf90f3b7b82b722dfc584e9b040b0803d771.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tdebluezioclient')
-rw-r--r-- | src/tdebluezioclient/commandhandler.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tdebluezioclient/commandhandler.cpp b/src/tdebluezioclient/commandhandler.cpp index ca1fde1..0de5254 100644 --- a/src/tdebluezioclient/commandhandler.cpp +++ b/src/tdebluezioclient/commandhandler.cpp @@ -111,11 +111,11 @@ void CommandHandler::start() void CommandHandler::commonConnect(TDEIO::Job* job) { - connect(job, SIGNAL(infoMessage(TDEIO::Job*,const TQString&)), - this, SLOT(slotInfoMessage(TDEIO::Job*,const TQString&))); - connect(job, SIGNAL(percent (TDEIO::Job*, unsigned long)), - this, SLOT(slotPercent(TDEIO::Job*, unsigned long))); - connect(job, SIGNAL(result(TDEIO::Job*)), this, SLOT(slotFinished(TDEIO::Job*))); + connect(job, TQ_SIGNAL(infoMessage(TDEIO::Job*,const TQString&)), + this, TQ_SLOT(slotInfoMessage(TDEIO::Job*,const TQString&))); + connect(job, TQ_SIGNAL(percent (TDEIO::Job*, unsigned long)), + this, TQ_SLOT(slotPercent(TDEIO::Job*, unsigned long))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), this, TQ_SLOT(slotFinished(TDEIO::Job*))); } KURL::List CommandHandler::urlList(const TQStringList& sources) @@ -136,8 +136,8 @@ void CommandHandler::list(const TQString& target) TDEIO::ListJob* job = TDEIO::listDir(KURL(target), showProgressWindow, showHidden); this->job = job; commonConnect(job); - connect(job, SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)), - this, SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&))); + connect(job, TQ_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)), + this, TQ_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&))); } void CommandHandler::get(const TQString& target) @@ -146,8 +146,8 @@ void CommandHandler::get(const TQString& target) TDEIO::TransferJob* job = TDEIO::get(KURL(target), reload, showProgressWindow); this->job = job; commonConnect(job); - connect(job, SIGNAL(data(TDEIO::Job*,const TQByteArray&)), - this, SLOT(slotData(TDEIO::Job*,const TQByteArray&))); + connect(job, TQ_SIGNAL(data(TDEIO::Job*,const TQByteArray&)), + this, TQ_SLOT(slotData(TDEIO::Job*,const TQByteArray&))); } void CommandHandler::put(const TQString& target) @@ -158,8 +158,8 @@ void CommandHandler::put(const TQString& target) overwrite, resume, showProgressWindow); this->job = job; commonConnect(job); - connect(job, SIGNAL(dataReq(TDEIO::Job*,TQByteArray&)), - this, SLOT(slotDataReq(TDEIO::Job*,TQByteArray&))); + connect(job, TQ_SIGNAL(dataReq(TDEIO::Job*,TQByteArray&)), + this, TQ_SLOT(slotDataReq(TDEIO::Job*,TQByteArray&))); } void CommandHandler::mkdir(const TQString& target) |