summaryrefslogtreecommitdiffstats
path: root/dcoprss
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-06-01 17:36:21 +0900
committerMichele Calgaro <[email protected]>2019-06-01 17:36:21 +0900
commitd67f68267fe971947a9618fbbf1acd6b5b4f5a87 (patch)
tree2957c2ee40d4db1a7cd60c25b78c50d77c2af680 /dcoprss
parent7209623bd0ebf70118983121b6a3b3a32bfae598 (diff)
downloadtdenetwork-d67f68267fe971947a9618fbbf1acd6b5b4f5a87.tar.gz
tdenetwork-d67f68267fe971947a9618fbbf1acd6b5b4f5a87.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'dcoprss')
-rw-r--r--dcoprss/query.cpp2
-rw-r--r--dcoprss/xmlrpciface.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/dcoprss/query.cpp b/dcoprss/query.cpp
index 9c324890..636390e3 100644
--- a/dcoprss/query.cpp
+++ b/dcoprss/query.cpp
@@ -173,7 +173,7 @@ void QueryService::slotGotFeedInfo( const KXMLRPC::Query::Result &result )
TQValueList<TQVariant>::ConstIterator it = feedInfos.begin();
TQValueList<TQVariant>::ConstIterator end = feedInfos.end();
for ( ; it != end; ++it ) {
- const TQMap<TQString, TQVariant> feedInfo = ( *it ).toMap();
+ const TQStringVariantMap feedInfo = ( *it ).toMap();
const TQString name = feedInfo[ "sitename" ].toString();
const TQString link = feedInfo[ "dataurl" ].toString();
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();