summaryrefslogtreecommitdiffstats
path: root/src/kernel/qnetworkprotocol.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/kernel/qnetworkprotocol.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'src/kernel/qnetworkprotocol.cpp')
-rw-r--r--src/kernel/qnetworkprotocol.cpp144
1 files changed, 72 insertions, 72 deletions
diff --git a/src/kernel/qnetworkprotocol.cpp b/src/kernel/qnetworkprotocol.cpp
index 1adfa9455..27b6dff44 100644
--- a/src/kernel/qnetworkprotocol.cpp
+++ b/src/kernel/qnetworkprotocol.cpp
@@ -399,38 +399,38 @@ TQNetworkProtocol::TQNetworkProtocol()
{
d = new TQNetworkProtocolPrivate( this );
- connect( d->opStartTimer, SIGNAL( timeout() ),
- this, SLOT( startOps() ) );
- connect( d->removeTimer, SIGNAL( timeout() ),
- this, SLOT( removeMe() ) );
+ connect( d->opStartTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( startOps() ) );
+ connect( d->removeTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( removeMe() ) );
if ( url() ) {
- connect( this, SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
- url(), SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( finished(TQNetworkOperation*) ),
- url(), SIGNAL( finished(TQNetworkOperation*) ) );
- connect( this, SIGNAL( start(TQNetworkOperation*) ),
- url(), SIGNAL( start(TQNetworkOperation*) ) );
- connect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
- connect( this, SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
- url(), SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( removed(TQNetworkOperation*) ),
- url(), SIGNAL( removed(TQNetworkOperation*) ) );
- connect( this, SIGNAL( itemChanged(TQNetworkOperation*) ),
- url(), SIGNAL( itemChanged(TQNetworkOperation*) ) );
- connect( this, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
- url(), SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
- connect( this, SIGNAL( connectionStateChanged(int,const TQString&) ),
- url(), SIGNAL( connectionStateChanged(int,const TQString&) ) );
+ connect( this, TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( finished(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( finished(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( start(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( start(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
+ connect( this, TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( removed(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( removed(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( itemChanged(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( itemChanged(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( connectionStateChanged(int,const TQString&) ),
+ url(), TQ_SIGNAL( connectionStateChanged(int,const TQString&) ) );
}
- connect( this, SIGNAL( finished(TQNetworkOperation*) ),
- this, SLOT( processNextOperation(TQNetworkOperation*) ) );
- connect( this, SIGNAL( newChild(const TQUrlInfo&,TQNetworkOperation*) ),
- this, SLOT( emitNewChildren(const TQUrlInfo&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( finished(TQNetworkOperation*) ),
+ this, TQ_SLOT( processNextOperation(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( newChild(const TQUrlInfo&,TQNetworkOperation*) ),
+ this, TQ_SLOT( emitNewChildren(const TQUrlInfo&,TQNetworkOperation*) ) );
}
@@ -452,26 +452,26 @@ TQNetworkProtocol::~TQNetworkProtocol()
void TQNetworkProtocol::setUrl( TQUrlOperator *u )
{
if ( url() ) {
- disconnect( this, SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
- url(), SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( finished(TQNetworkOperation*) ),
- url(), SIGNAL( finished(TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( start(TQNetworkOperation*) ),
- url(), SIGNAL( start(TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
- disconnect( this, SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
- url(), SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( removed(TQNetworkOperation*) ),
- url(), SIGNAL( removed(TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( itemChanged(TQNetworkOperation*) ),
- url(), SIGNAL( itemChanged(TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
- url(), SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
- disconnect( this, SIGNAL( connectionStateChanged(int,const TQString&) ),
- url(), SIGNAL( connectionStateChanged(int,const TQString&) ) );
+ disconnect( this, TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( finished(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( finished(TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( start(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( start(TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
+ disconnect( this, TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( removed(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( removed(TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( itemChanged(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( itemChanged(TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
+ disconnect( this, TQ_SIGNAL( connectionStateChanged(int,const TQString&) ),
+ url(), TQ_SIGNAL( connectionStateChanged(int,const TQString&) ) );
}
@@ -483,26 +483,26 @@ void TQNetworkProtocol::setUrl( TQUrlOperator *u )
d->url = u;
if ( url() ) {
- connect( this, SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
- url(), SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( finished(TQNetworkOperation*) ),
- url(), SIGNAL( finished(TQNetworkOperation*) ) );
- connect( this, SIGNAL( start(TQNetworkOperation*) ),
- url(), SIGNAL( start(TQNetworkOperation*) ) );
- connect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- url(), SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
- connect( this, SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
- url(), SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
- connect( this, SIGNAL( removed(TQNetworkOperation*) ),
- url(), SIGNAL( removed(TQNetworkOperation*) ) );
- connect( this, SIGNAL( itemChanged(TQNetworkOperation*) ),
- url(), SIGNAL( itemChanged(TQNetworkOperation*) ) );
- connect( this, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
- url(), SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
- connect( this, SIGNAL( connectionStateChanged(int,const TQString&) ),
- url(), SIGNAL( connectionStateChanged(int,const TQString&) ) );
+ connect( this, TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( finished(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( finished(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( start(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( start(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ url(), TQ_SLOT( addEntry(const TQValueList<TQUrlInfo>&) ) );
+ connect( this, TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( removed(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( removed(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( itemChanged(TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( itemChanged(TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
+ url(), TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) );
+ connect( this, TQ_SIGNAL( connectionStateChanged(int,const TQString&) ),
+ url(), TQ_SIGNAL( connectionStateChanged(int,const TQString&) ) );
}
if ( !d->opInProgress && !d->operationQueue.isEmpty() )
@@ -1018,8 +1018,8 @@ TQNetworkOperation::TQNetworkOperation( TQNetworkProtocol::Operation operation,
{
d = new TQNetworkOperationPrivate;
d->deleteTimer = new TQTimer( this );
- connect( d->deleteTimer, SIGNAL( timeout() ),
- this, SLOT( deleteMe() ) );
+ connect( d->deleteTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( deleteMe() ) );
d->operation = operation;
d->state = TQNetworkProtocol::StWaiting;
d->args[ 0 ] = arg0;
@@ -1047,8 +1047,8 @@ TQNetworkOperation::TQNetworkOperation( TQNetworkProtocol::Operation operation,
{
d = new TQNetworkOperationPrivate;
d->deleteTimer = new TQTimer( this );
- connect( d->deleteTimer, SIGNAL( timeout() ),
- this, SLOT( deleteMe() ) );
+ connect( d->deleteTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( deleteMe() ) );
d->operation = operation;
d->state = TQNetworkProtocol::StWaiting;
d->args[ 0 ] = TQString::null;