KBlog Client Library
blog.h
Go to the documentation of this file.
110 };
A class that represents a blog comment on the blog post.
Definition: blogcomment.h:51
A class that provides methods to call functions on a supported blog web application.
Definition: blog.h:72
virtual QString interfaceName() const =0
Returns the name of the blogging API this object implements.
@ NotSupported
An error where the method called is not supported by this object.
Definition: blog.h:107
virtual void modifyPost(KBlog::BlogPost *post)=0
Modify an existing blog post on the server.
void createdPost(KBlog::BlogPost *post)
This signal is emitted when a createPost() job creates a new blog post on the blogging server.
void removedPost(KBlog::BlogPost *post)
This signal is emitted when a removePost() job removes a post from the blogging server.
virtual void listRecentPosts(int number)=0
List a number of recent posts from the server.
void errorMedia(KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogMedia *media)
This signal is emitted when an error occurs with XML parsing or a structural problem in an operation ...
virtual void fetchPost(KBlog::BlogPost *post)=0
Fetch a blog post from the server with a specific ID.
void errorPost(KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogPost *post)
This signal is emitted when an error occurs with XML parsing or a structural problem in an operation ...
virtual void removePost(KBlog::BlogPost *post)=0
Remove an existing blog post from the server.
virtual void createPost(KBlog::BlogPost *post)=0
Create a new blog post on the server.
void fetchedPost(KBlog::BlogPost *post)
This signal is emitted when a fetchPost() job fetches a post from the blogging server.
void errorComment(KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogPost *post, KBlog::BlogComment *comment)
This signal is emitted when an error occurs with XML parsing or a structural problem in an operation ...
void error(KBlog::Blog::ErrorType type, const QString &errorMessage)
This signal is emitted when an error occurs with XML parsing or a structural problem.
void listedRecentPosts(const QList< KBlog::BlogPost > &posts)
This signal is emitted when a listRecentPosts() job fetches a post from the blogging server.
void modifiedPost(KBlog::BlogPost *post)
This signal is emitted when a modifyPost() job modifies a post on the blogging server.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.