summaryrefslogtreecommitdiffstats
path: root/dcoprss/xmlrpciface.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /dcoprss/xmlrpciface.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
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
Diffstat (limited to 'dcoprss/xmlrpciface.cpp')
-rw-r--r--dcoprss/xmlrpciface.cpp12
1 files changed, 6 insertions, 6 deletions
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<TQVariant> 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;