diff options
Diffstat (limited to 'kresources/blogging/xmlrpcjob.cpp')
-rw-r--r-- | kresources/blogging/xmlrpcjob.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kresources/blogging/xmlrpcjob.cpp b/kresources/blogging/xmlrpcjob.cpp index 19582ec35..f2e516308 100644 --- a/kresources/blogging/xmlrpcjob.cpp +++ b/kresources/blogging/xmlrpcjob.cpp @@ -39,9 +39,9 @@ #define KIO_ARGS TQByteArray packedArgs; \ TQDataStream stream( packedArgs, IO_WriteOnly ); stream -using namespace KIO; +using namespace TDEIO; -namespace KIO { +namespace TDEIO { class XMLRPCResult { friend class XmlrpcJob; @@ -68,7 +68,7 @@ public: XmlrpcJob::XmlrpcJob( const KURL& url, const TQString& method, const TQValueList<TQVariant> ¶ms, bool showProgressInfo) - : TransferJob( url, KIO::CMD_SPECIAL, TQByteArray(), TQByteArray(), + : TransferJob( url, TDEIO::CMD_SPECIAL, TQByteArray(), TQByteArray(), showProgressInfo ) { d = new XmlrpcJobPrivate; @@ -147,10 +147,10 @@ kdDebug() << m_str_response << endl; istream >> s_url; istream >> s_method; // PROPFIND - if ( (s_cmd == 7) && (s_method == (int)KIO::HTTP_POST) ) { + if ( (s_cmd == 7) && (s_method == (int)TDEIO::HTTP_POST) ) { m_packedArgs.truncate(0); TQDataStream stream( m_packedArgs, IO_WriteOnly ); - stream << (int)7 << m_redirectionURL << (int)KIO::HTTP_POST; + stream << (int)7 << m_redirectionURL << (int)TDEIO::HTTP_POST; } } else */ @@ -383,7 +383,7 @@ kdDebug()<<"Demarshalling element \"" << elem.text() <<"\"" << endl; /* Convenience methods */ -XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, const TQValueList<TQVariant> ¶ms, bool showProgressInfo ) +XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method, const TQValueList<TQVariant> ¶ms, bool showProgressInfo ) { if ( url.isEmpty() ) { kdWarning() << "Cannot execute call to " << method << ": empty server URL" << endl; @@ -395,15 +395,15 @@ XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, const TQVal return job; } -XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, +XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method, const TQVariant &arg, bool showProgressInfo ) { TQValueList<TQVariant> args; args << arg; - return KIO::xmlrpcCall( url, method, args, showProgressInfo ); + return TDEIO::xmlrpcCall( url, method, args, showProgressInfo ); } -XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, +XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method, const TQStringList &arg, bool showProgressInfo ) { TQValueList<TQVariant> args; @@ -411,11 +411,11 @@ XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, TQStringList::ConstIterator end = arg.end(); for ( ; it != end; ++it ) args << TQVariant( *it ); - return KIO::xmlrpcCall( url, method, args, showProgressInfo ); + return TDEIO::xmlrpcCall( url, method, args, showProgressInfo ); } template <typename T> -XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, +XmlrpcJob* TDEIO::xmlrpcCall( const KURL& url, const TQString &method, const TQValueList<T>&arg, bool showProgressInfo ) { TQValueList<TQVariant> args; @@ -424,7 +424,7 @@ XmlrpcJob* KIO::xmlrpcCall( const KURL& url, const TQString &method, typename TQValueList<T>::ConstIterator end = arg.end(); for ( ; it != end; ++it ) args << TQVariant( *it ); - return KIO::xmlrpcCall( url, method, args, showProgressInfo ); + return TDEIO::xmlrpcCall( url, method, args, showProgressInfo ); } #include "xmlrpcjob.moc" |