summaryrefslogtreecommitdiffstats
path: root/tderesources/blogging/API_Blogger.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 17:18:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 17:18:13 +0900
commit6d2f3127be206390c4c576fc174ad6edeb020dfe (patch)
treeca430a49349b46c7e556a2c6cb140730a3b00b46 /tderesources/blogging/API_Blogger.cpp
parent2852e8272a186108d3c8b2bc133e67fd8624e99c (diff)
downloadtdepim-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/API_Blogger.cpp')
-rw-r--r--tderesources/blogging/API_Blogger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tderesources/blogging/API_Blogger.cpp b/tderesources/blogging/API_Blogger.cpp
index 984cc378b..ead54dcd2 100644
--- a/tderesources/blogging/API_Blogger.cpp
+++ b/tderesources/blogging/API_Blogger.cpp
@@ -159,7 +159,7 @@ bool APIBlogger::interpretUserInfoJob( TDEIO::Job *job )
TQValueList<TQVariant>::ConstIterator end = posts.end();
for ( ; it != end; ++it ) {
kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
+ const TQStringVariantMap postInfo = ( *it ).toMap();
const TQString nickname = postInfo[ "nickname" ].toString();
const TQString userid = postInfo[ "userid" ].toString();
const TQString email = postInfo[ "email" ].toString();
@@ -188,7 +188,7 @@ kdDebug() << "APIBlogger::interpretListFoldersJob, no error!" << endl;
TQValueList<TQVariant>::ConstIterator end = posts.end();
for ( ; it != end; ++it ) {
kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
+ const TQStringVariantMap postInfo = ( *it ).toMap();
const TQString id( postInfo[ "blogid" ].toString() );
const TQString name( postInfo[ "blogName" ].toString() );
@@ -230,7 +230,7 @@ bool APIBlogger::interpretDownloadItemsJob( TDEIO::Job *job )
for ( ; it != end; ++it ) {
BlogPosting posting;
kdDebug () << "MIDDLE: " << ( *it ).typeName() << endl;
- const TQMap<TQString, TQVariant> postInfo = ( *it ).toMap();
+ const TQStringVariantMap postInfo = ( *it ).toMap();
if ( readPostingFromMap( &posting, postInfo ) ) {
KCal::Journal *j = journalFromPosting( &posting );
// dumpBlog( &posting );
@@ -252,7 +252,7 @@ bool APIBlogger::interpretDownloadItemsJob( TDEIO::Job *job )
}
-bool APIBlogger::readPostingFromMap( BlogPosting *post, const TQMap<TQString, TQVariant> &postInfo )
+bool APIBlogger::readPostingFromMap( BlogPosting *post, const TQStringVariantMap &postInfo )
{
// FIXME:
if ( !post ) return false;