summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-26 15:16:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-26 15:16:13 +0200
commit00c81d9763b2df158ecd2bcccecb77b902f6962e (patch)
treedc980c07a1a20d62c4125d57aed1752c70c13e31 /tderesources
parentf007b524fba622c4a33e0e3e1d657c7712f3e2a9 (diff)
downloadtdepim-00c81d9763b2df158ecd2bcccecb77b902f6962e.tar.gz
tdepim-00c81d9763b2df158ecd2bcccecb77b902f6962e.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/blogging/API_Blogger.cpp6
-rw-r--r--tderesources/egroupware/kcal_resourcexmlrpc.cpp2
-rw-r--r--tderesources/egroupware/tdeabc_resourcexmlrpc.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/tderesources/blogging/API_Blogger.cpp b/tderesources/blogging/API_Blogger.cpp
index 69a722e22..984cc378b 100644
--- a/tderesources/blogging/API_Blogger.cpp
+++ b/tderesources/blogging/API_Blogger.cpp
@@ -100,7 +100,7 @@ TDEIO::TransferJob *APIBlogger::createUploadJob( const KURL &url, KBlog::BlogPos
kdDebug() << "Uploading Posting with url " << url.url() << endl;
TQValueList<TQVariant> args( defaultArgs( posting->postID() ) );
args << TQVariant( posting->content() );
- args << TQVariant( /*publish=*/true, 0 );
+ args << TQVariant( /*publish=*/true );
return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerEditPost ), args, false );
// } else {
// warningNotInitialized();
@@ -118,7 +118,7 @@ TDEIO::TransferJob *APIBlogger::createUploadNewJob( KBlog::BlogPosting *posting
kdDebug() << "Creating new Posting with blogid " << posting->blogID() << " at url " << mServerURL << endl;
TQValueList<TQVariant> args( defaultArgs( posting->blogID() ) );
args << TQVariant( posting->content() );
- args << TQVariant( /*publish=*/true, 0 );
+ args << TQVariant( /*publish=*/true );
return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerNewPost ), args, false );
// } else {
// warningNotInitialized();
@@ -131,7 +131,7 @@ TDEIO::Job *APIBlogger::createRemoveJob( const KURL &/*url*/, const TQString &po
kdDebug() << "APIBlogger::createRemoveJob: postid=" << postid << endl;
// if ( isValid() ){
TQValueList<TQVariant> args( defaultArgs( postid ) );
- args << TQVariant( /*publish=*/true, 0 );
+ args << TQVariant( /*publish=*/true );
return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerDeletePost ), args, false );
// } else {
// warningNotInitialized();
diff --git a/tderesources/egroupware/kcal_resourcexmlrpc.cpp b/tderesources/egroupware/kcal_resourcexmlrpc.cpp
index 7ce11dd90..319c8979a 100644
--- a/tderesources/egroupware/kcal_resourcexmlrpc.cpp
+++ b/tderesources/egroupware/kcal_resourcexmlrpc.cpp
@@ -260,7 +260,7 @@ bool ResourceXMLRPC::doLoad()
this, TQT_SLOT( loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- mServer->call( LoadTodoCategoriesCommand, TQVariant( false, 0 ),
+ mServer->call( LoadTodoCategoriesCommand, TQVariant( false ),
this, TQT_SLOT( loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
return true;
diff --git a/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp b/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
index 1929bd19c..5f92d1c55 100644
--- a/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
+++ b/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
@@ -208,7 +208,7 @@ bool ResourceXMLRPC::asyncLoad()
this, TQT_SLOT( listContactsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
- mServer->call( LoadCategoriesCommand, TQVariant( false, 0 ),
+ mServer->call( LoadCategoriesCommand, TQVariant( false ),
this, TQT_SLOT( loadCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );