|
|
|
@ -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();
|
|
|
|
|