diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:36:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:36:21 +0900 |
commit | d67f68267fe971947a9618fbbf1acd6b5b4f5a87 (patch) | |
tree | 2957c2ee40d4db1a7cd60c25b78c50d77c2af680 /dcoprss/xmlrpciface.cpp | |
parent | 7209623bd0ebf70118983121b6a3b3a32bfae598 (diff) | |
download | tdenetwork-d67f68267fe971947a9618fbbf1acd6b5b4f5a87.tar.gz tdenetwork-d67f68267fe971947a9618fbbf1acd6b5b4f5a87.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dcoprss/xmlrpciface.cpp')
-rw-r--r-- | dcoprss/xmlrpciface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dcoprss/xmlrpciface.cpp b/dcoprss/xmlrpciface.cpp index 05896d81..8e8e6b8a 100644 --- a/dcoprss/xmlrpciface.cpp +++ b/dcoprss/xmlrpciface.cpp @@ -214,9 +214,9 @@ TQString Query::marshal( const TQVariant &arg ) } case TQVariant::Map: { s += "<struct>"; - 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 ) { s += "<member>"; s += "<name>" + it.key() + "</name>"; @@ -267,7 +267,7 @@ TQVariant Query::demarshal( const TQDomElement &elem ) } return TQVariant( values ); } 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(); |