From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- src/kernel/qurloperator.cpp | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/kernel/qurloperator.cpp') diff --git a/src/kernel/qurloperator.cpp b/src/kernel/qurloperator.cpp index 1defadc97..ca508c48c 100644 --- a/src/kernel/qurloperator.cpp +++ b/src/kernel/qurloperator.cpp @@ -600,23 +600,23 @@ TQPtrList TQUrlOperator::copy( const TQString &from, const T if ( gProt && (gProt->supportedOperations()&TQNetworkProtocol::OpGet) && pProt && (pProt->supportedOperations()&TQNetworkProtocol::OpPut) ) { - connect( gProt, SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ), - this, SLOT( copyGotData(const TQByteArray&,TQNetworkOperation*) ) ); - connect( gProt, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ), - this, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) ); - connect( gProt, SIGNAL( finished(TQNetworkOperation*) ), - this, SLOT( continueCopy(TQNetworkOperation*) ) ); - connect( gProt, SIGNAL( finished(TQNetworkOperation*) ), - this, SIGNAL( finished(TQNetworkOperation*) ) ); - connect( gProt, SIGNAL( connectionStateChanged(int,const TQString&) ), - this, SIGNAL( connectionStateChanged(int,const TQString&) ) ); - - connect( pProt, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ), - this, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) ); - connect( pProt, SIGNAL( finished(TQNetworkOperation*) ), - this, SIGNAL( finished(TQNetworkOperation*) ) ); - connect( pProt, SIGNAL( finished(TQNetworkOperation*) ), - this, SLOT( finishedCopy() ) ); + connect( gProt, TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ), + this, TQ_SLOT( copyGotData(const TQByteArray&,TQNetworkOperation*) ) ); + connect( gProt, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ), + this, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) ); + connect( gProt, TQ_SIGNAL( finished(TQNetworkOperation*) ), + this, TQ_SLOT( continueCopy(TQNetworkOperation*) ) ); + connect( gProt, TQ_SIGNAL( finished(TQNetworkOperation*) ), + this, TQ_SIGNAL( finished(TQNetworkOperation*) ) ); + connect( gProt, TQ_SIGNAL( connectionStateChanged(int,const TQString&) ), + this, TQ_SIGNAL( connectionStateChanged(int,const TQString&) ) ); + + connect( pProt, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ), + this, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ) ); + connect( pProt, TQ_SIGNAL( finished(TQNetworkOperation*) ), + this, TQ_SIGNAL( finished(TQNetworkOperation*) ) ); + connect( pProt, TQ_SIGNAL( finished(TQNetworkOperation*) ), + this, TQ_SLOT( finishedCopy() ) ); TQNetworkOperation *opGet = new TQNetworkOperation( TQNetworkProtocol::OpGet, frm, TQString::null, TQString::null ); ops.append( opGet ); @@ -935,8 +935,8 @@ void TQUrlOperator::getNetworkProtocol() d->networkProtocol = (TQNetworkProtocol *)p; d->networkProtocol->setUrl( this ); - connect( d->networkProtocol, SIGNAL( itemChanged(TQNetworkOperation*) ), - this, SLOT( slotItemChanged(TQNetworkOperation*) ) ); + connect( d->networkProtocol, TQ_SIGNAL( itemChanged(TQNetworkOperation*) ), + this, TQ_SLOT( slotItemChanged(TQNetworkOperation*) ) ); } /*! @@ -1121,10 +1121,10 @@ void TQUrlOperator::continueCopy( TQNetworkOperation *op ) deleteOperation( rm ); } } - disconnect( gProt, SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ), - this, SLOT( copyGotData(const TQByteArray&,TQNetworkOperation*) ) ); - disconnect( gProt, SIGNAL( finished(TQNetworkOperation*) ), - this, SLOT( continueCopy(TQNetworkOperation*) ) ); + disconnect( gProt, TQ_SIGNAL( data(const TQByteArray&,TQNetworkOperation*) ), + this, TQ_SLOT( copyGotData(const TQByteArray&,TQNetworkOperation*) ) ); + disconnect( gProt, TQ_SIGNAL( finished(TQNetworkOperation*) ), + this, TQ_SLOT( continueCopy(TQNetworkOperation*) ) ); } /*! -- cgit v1.2.1