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-08 19:03:29 +0900 |
| commit | 50734d4f8e3203418552808f66dc57e07a08e930 (patch) | |
| tree | 249c7d6fcf916ea753be994b9461a0025ee991af /src/tdebluezioclient/commandhandler.cpp | |
| parent | 1f09199620d6eaccaab310e78c994e2a0f009c8c (diff) | |
| download | tdebluez-50734d4f.tar.gz tdebluez-50734d4f.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b05bbf90f3b7b82b722dfc584e9b040b0803d771)
Diffstat (limited to 'src/tdebluezioclient/commandhandler.cpp')
| -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) |
