summaryrefslogtreecommitdiffstats
path: root/dcoprss/xmlrpciface.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /dcoprss/xmlrpciface.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'dcoprss/xmlrpciface.cpp')
-rw-r--r--dcoprss/xmlrpciface.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/dcoprss/xmlrpciface.cpp b/dcoprss/xmlrpciface.cpp
index e34907e2..7c868d50 100644
--- a/dcoprss/xmlrpciface.cpp
+++ b/dcoprss/xmlrpciface.cpp
@@ -55,12 +55,12 @@ void Query::call( const TQString &server, const TQString &method,
TDEIO::TransferJob *job = TDEIO::http_post( KURL( server ), postData, false );
job->addMetaData( "UserAgent", userAgent );
job->addMetaData( "content-type", "Content-Type: text/xml; charset=utf-8" );
- connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job *, const TQString & ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job *, const TQString & ) ) );
- connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- this, TQT_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( infoMessage( TDEIO::Job *, const TQString & ) ),
+ this, TQ_SLOT( slotInfoMessage( TDEIO::Job *, const TQString & ) ) );
+ connect( job, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void Query::slotInfoMessage( TDEIO::Job *, const TQString &msg )
@@ -373,9 +373,9 @@ void Server::call( const TQString &method, const TQValueList<TQVariant> &args,
}
Query *query = Query::create( this );
- connect( query, TQT_SIGNAL( infoMessage( const TQString & ) ),
- this, TQT_SIGNAL( infoMessage( const TQString & ) ) );
- connect( query, TQT_SIGNAL( finished( const KXMLRPC::Query::Result & ) ),
+ connect( query, TQ_SIGNAL( infoMessage( const TQString & ) ),
+ this, TQ_SIGNAL( infoMessage( const TQString & ) ) );
+ connect( query, TQ_SIGNAL( finished( const KXMLRPC::Query::Result & ) ),
receiver, slot );
query->call( m_url.url(), method, args, m_userAgent );
}
@@ -390,9 +390,9 @@ void Server::call( const TQString &method, const TQValueList<TQVariant> &args,
}
Query *query = Query::create( this );
- connect( query, TQT_SIGNAL( infoMessage( const TQString &msg ) ),
+ connect( query, TQ_SIGNAL( infoMessage( const TQString &msg ) ),
infoObject, infoSlot );
- connect( query, TQT_SIGNAL( finished( const KXMLRPC::Query::Result & ) ),
+ connect( query, TQ_SIGNAL( finished( const KXMLRPC::Query::Result & ) ),
receiver, slot );
query->call( m_url.url(), method, args, m_userAgent );
}