diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:18:13 +0900 |
commit | 6d2f3127be206390c4c576fc174ad6edeb020dfe (patch) | |
tree | ca430a49349b46c7e556a2c6cb140730a3b00b46 /tderesources/blogging/xmlrpcjob.cpp | |
parent | 2852e8272a186108d3c8b2bc133e67fd8624e99c (diff) | |
download | tdepim-6d2f3127be206390c4c576fc174ad6edeb020dfe.tar.gz tdepim-6d2f3127be206390c4c576fc174ad6edeb020dfe.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderesources/blogging/xmlrpcjob.cpp')
-rw-r--r-- | tderesources/blogging/xmlrpcjob.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tderesources/blogging/xmlrpcjob.cpp b/tderesources/blogging/xmlrpcjob.cpp index 5f57f1f65..70eb1d8cf 100644 --- a/tderesources/blogging/xmlrpcjob.cpp +++ b/tderesources/blogging/xmlrpcjob.cpp @@ -278,9 +278,9 @@ TQString XmlrpcJob::marshal( const TQVariant &arg ) case TQVariant::Map: { TQString markup = "<value><struct>\r\n"; - TQMap<TQString, TQVariant> map = arg.toMap(); - TQMap<TQString, TQVariant>::ConstIterator it = map.begin(); - TQMap<TQString, TQVariant>::ConstIterator end = map.end(); + TQStringVariantMap map = arg.toMap(); + TQStringVariantMap::ConstIterator it = map.begin(); + TQStringVariantMap::ConstIterator end = map.end(); for ( ; it != end; ++it ) { markup += "<member>\r\n"; @@ -357,7 +357,7 @@ kdDebug()<<"Demarshalling element \"" << elem.text() <<"\"" << endl; } else if ( typeName == "struct" ) { - TQMap<TQString, TQVariant> map; + TQStringVariantMap map; TQDomNode memberNode = typeElement.firstChild(); while ( !memberNode.isNull() ) { const TQString key = memberNode.toElement().elementsByTagName( "name" ).item( 0 ).toElement().text(); |