summaryrefslogtreecommitdiffstats
path: root/kresources/blogging/xmlrpcjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/blogging/xmlrpcjob.cpp')
-rw-r--r--kresources/blogging/xmlrpcjob.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/blogging/xmlrpcjob.cpp b/kresources/blogging/xmlrpcjob.cpp
index d99e8add8..e2a3adc32 100644
--- a/kresources/blogging/xmlrpcjob.cpp
+++ b/kresources/blogging/xmlrpcjob.cpp
@@ -72,7 +72,7 @@ XmlrpcJob::XmlrpcJob( const KURL& url, const TQString& method,
showProgressInfo )
{
d = new XmlrpcJobPrivate;
- // We couldn't set the args when calling the parent constructor,
+ // We couldn't set the args when calling the tqparent constructor,
// so do it now.
TQDataStream stream( m_packedArgs, IO_WriteOnly );
stream << (int)1 << url;
@@ -262,7 +262,7 @@ TQString XmlrpcJob::marshal( const TQVariant &arg )
"</base64></value>\r\n";
case TQVariant::DateTime:
return "<value><datetime.iso8601>" +
- arg.toDateTime().toString( Qt::ISODate ) +
+ arg.toDateTime().toString( TQt::ISODate ) +
"</datetime.iso8601></value>\r\n";
case TQVariant::List:
{
@@ -295,7 +295,7 @@ TQString XmlrpcJob::marshal( const TQVariant &arg )
kdWarning() << "Failed to marshal unknown variant type: "
<< arg.type() << endl;
};
- return TQString::null;
+ return TQString();
}
TQVariant XmlrpcJob::demarshal( const TQDomElement &elem )
@@ -337,13 +337,13 @@ kdDebug()<<"Demarshalling element \"" << elem.text() <<"\"" << endl;
else if ( typeName == "datetime" || typeName == "datetime.iso8601" ) {
TQString text( typeElement.text() );
- if ( text.find( TQRegExp("^[0-9]{8,8}T") ) >= 0 ) {
+ if ( text.tqfind( TQRegExp("^[0-9]{8,8}T") ) >= 0 ) {
// It's in the format 20041120T...., so adjust it to correct
// ISO 8601 Format 2004-11-20T..., else TQDateTime::fromString won't work:
text = text.insert( 6, '-' );
text = text.insert( 4, '-' );
}
- return TQVariant( TQDateTime::fromString( text, Qt::ISODate ) );
+ return TQVariant( TQDateTime::fromString( text, TQt::ISODate ) );
} else if ( typeName == "array" ) {