From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- dcoprss/xmlrpciface.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'dcoprss/xmlrpciface.cpp') 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 &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 &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 ); } -- cgit v1.2.3