From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcoprss/xmlrpciface.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dcoprss/xmlrpciface.cpp') diff --git a/dcoprss/xmlrpciface.cpp b/dcoprss/xmlrpciface.cpp index 64259bbb..a70053d0 100644 --- a/dcoprss/xmlrpciface.cpp +++ b/dcoprss/xmlrpciface.cpp @@ -33,9 +33,9 @@ using namespace KXMLRPC; -Query *Query::create( TQObject *parent, const char *name ) +Query *Query::create( TQObject *tqparent, const char *name ) { - return new Query( parent, name ); + return new Query( tqparent, name ); } void Query::call( const TQString &server, const TQString &method, @@ -255,7 +255,7 @@ TQVariant Query::demarshal( const TQDomElement &elem ) else return TQVariant( false ); } else if ( typeName == "base64" ) - return TQVariant( KCodecs::base64Decode( typeElement.text().latin1() ) ); + return TQVariant( KCodecs::base64Decode( TQCString(typeElement.text().latin1() )) ); else if ( typeName == "datetime" || typeName == "datetime.iso8601" ) return TQVariant( TQDateTime::fromString( typeElement.text(), Qt::ISODate ) ); else if ( typeName == "array" ) { @@ -282,7 +282,7 @@ TQVariant Query::demarshal( const TQDomElement &elem ) return TQVariant(); } -Query::Query( TQObject *parent, const char *name ) : TQObject( parent, name ) +Query::Query( TQObject *tqparent, const char *name ) : TQObject( tqparent, name ) { } @@ -352,8 +352,8 @@ TQValueList Server::toVariantList( const TQStringList &arg ) return args; } -Server::Server( const KURL &url, TQObject *parent, const char *name ) - : TQObject( parent, name ) +Server::Server( const KURL &url, TQObject *tqparent, const char *name ) + : TQObject( tqparent, name ) { if ( url.isValid() ) m_url = url; -- cgit v1.2.1