KBlog Client Library
#include <movabletype.h>

Signals | |
void | listedTrackBackPings (KBlog::BlogPost *post, const QList< QMap< QString, QString > > &pings) |
![]() | |
void | createdMedia (KBlog::BlogMedia *media) |
void | listedCategories (const QList< QMap< QString, QString > > &categories) |
![]() | |
void | fetchedUserInfo (const QMap< QString, QString > &userInfo) |
void | listedBlogs (const QList< QMap< QString, QString > > &blogsList) |
![]() | |
void | createdPost (KBlog::BlogPost *post) |
void | error (KBlog::Blog::ErrorType type, const QString &errorMessage) |
void | errorComment (KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogPost *post, KBlog::BlogComment *comment) |
void | errorMedia (KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogMedia *media) |
void | errorPost (KBlog::Blog::ErrorType type, const QString &errorMessage, KBlog::BlogPost *post) |
void | fetchedPost (KBlog::BlogPost *post) |
void | listedRecentPosts (const QList< KBlog::BlogPost > &posts) |
void | modifiedPost (KBlog::BlogPost *post) |
void | removedPost (KBlog::BlogPost *post) |
Public Member Functions | |
MovableType (const KUrl &server, QObject *parent=0) | |
virtual | ~MovableType () |
void | createPost (KBlog::BlogPost *post) |
void | fetchPost (KBlog::BlogPost *post) |
QString | interfaceName () const |
void | listRecentPosts (int number) |
virtual void | listTrackBackPings (KBlog::BlogPost *post) |
void | modifyPost (KBlog::BlogPost *post) |
![]() | |
MetaWeblog (const KUrl &server, QObject *parent=0) | |
virtual | ~MetaWeblog () |
virtual void | createMedia (KBlog::BlogMedia *media) |
virtual void | listCategories () |
![]() | |
Blogger1 (const KUrl &server, QObject *parent=0) | |
virtual | ~Blogger1 () |
virtual void | fetchUserInfo () |
virtual void | listBlogs () |
void | removePost (KBlog::BlogPost *post) |
void | setUrl (const KUrl &server) |
![]() | |
Blog (const KUrl &server, QObject *parent=0, const QString &applicationName=QString(), const QString &applicationVersion=QString()) | |
virtual | ~Blog () |
QString | blogId () const |
QString | password () const |
virtual void | setBlogId (const QString &blogId) |
virtual void | setPassword (const QString &password) |
virtual void | setTimeZone (const KTimeZone &timeZone) |
void | setUserAgent (const QString &applicationName, const QString &applicationVersion) |
virtual void | setUsername (const QString &username) |
KTimeZone | timeZone () |
KUrl | url () const |
QString | userAgent () const |
QString | username () const |
Protected Member Functions | |
MovableType (const KUrl &server, MovableTypePrivate &dd, QObject *parent=0) | |
![]() | |
MetaWeblog (const KUrl &server, MetaWeblogPrivate &dd, QObject *parent=0) | |
![]() | |
Blogger1 (const KUrl &server, Blogger1Private &dd, QObject *parent=0) | |
![]() | |
Blog (const KUrl &server, BlogPrivate &dd, QObject *parent=0, const QString &applicationName=QString(), const QString &applicationVersion=QString()) | |
Additional Inherited Members | |
![]() | |
enum | ErrorType { XmlRpc, Atom, ParsingError, AuthenticationError, NotSupported, Other } |
![]() | |
BlogPrivate *const | d_ptr |
Detailed Description
A class that can be used for access to Movable Type blogs.
Almost every blog server supports Movable Type.
Definition at line 60 of file movabletype.h.
Constructor & Destructor Documentation
|
explicit |
Create an object for Movable Type.
- Parameters
-
server is the url for the xmlrpc gateway. parent is the parent object.
Definition at line 39 of file movabletype.cpp.
|
virtual |
Destroy the object.
Definition at line 52 of file movabletype.cpp.
|
protected |
Constructor needed for private inheritance.
Definition at line 45 of file movabletype.cpp.
Member Function Documentation
|
virtual |
Create a new post on server.
- Parameters
-
post is sent to the server.
Reimplemented from KBlog::Blogger1.
Reimplemented in KBlog::WordpressBuggy.
Definition at line 112 of file movabletype.cpp.
|
virtual |
Fetch a post from the server.
- Parameters
-
post is the post. Note: Its id has to be set appropriately.
Reimplemented from KBlog::Blogger1.
Definition at line 90 of file movabletype.cpp.
|
virtual |
Returns the of the inherited object.
Reimplemented from KBlog::MetaWeblog.
Reimplemented in KBlog::WordpressBuggy.
Definition at line 57 of file movabletype.cpp.
|
signal |
This signal is emitted when the trackback pings are fetched completely.
- Parameters
-
post This is the post of the trackback ping list. pings This is the list itself. The map contains the keys: id, url, ip.
- See also
- listTrackBackPings()
|
virtual |
List recent posts on the server.
The status of the posts will be Fetched.
- Parameters
-
number The number of posts to fetch. Latest first.
- See also
- void listedRecentPosts( const QList<KBlog::BlogPost>& )
- BlogPost::Status
Reimplemented from KBlog::Blogger1.
Definition at line 62 of file movabletype.cpp.
|
virtual |
Get the list of trackback pings from the server.
- Parameters
-
post This is the post to get the trackback pings from. You need to set its id correctly.
- See also
- BlogPost::setPostId( const QString& )
- listedTrackBackPings( KBlog::BlogPost *, const QList<QMap<QString,QString> >& )
Definition at line 75 of file movabletype.cpp.
|
virtual |
Modify a post on server.
- Parameters
-
post is used to send the modified post including the correct postId from it to the server.
- See also
- void modifiedPost( KBlog::BlogPost *post )
Reimplemented from KBlog::Blogger1.
Reimplemented in KBlog::WordpressBuggy.
Definition at line 148 of file movabletype.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.