KBlog Client Library
Go to the documentation of this file.
27 #include <kblog/kblog_export.h>
29 #include <QtCore/QObject>
31 template <
class T,
class S>
class QMap;
71 class KBLOG_EXPORT
Blog :
public QObject
85 explicit Blog(
const KUrl &server, QObject *parent = 0,
86 const QString &applicationName = QString(),
87 const QString &applicationVersion = QString() );
115 QString userAgent()
const;
126 void setUserAgent(
const QString &applicationName,
127 const QString &applicationVersion );
132 virtual QString interfaceName()
const = 0;
139 virtual void setBlogId(
const QString &blogId );
145 QString blogId()
const;
153 virtual void setPassword(
const QString &password );
159 QString password()
const;
166 virtual void setUsername(
const QString &username );
173 QString username()
const;
181 virtual void setUrl(
const KUrl &url );
196 virtual void setTimeZone(
const KTimeZone &timeZone );
203 KTimeZone timeZone();
212 virtual void listRecentPosts(
int number ) = 0;
265 void listedRecentPosts(
266 const QList<KBlog::BlogPost>& posts );
367 Blog(
const KUrl &server, BlogPrivate &dd, QObject *parent = 0,
368 const QString &applicationName = QString(),
369 const QString &applicationVersion = QString() );
372 Q_DECLARE_PRIVATE(
Blog )
A class that represents a media object on the server.
ErrorType
Enumeration for possible errors.
An error on authentication.
An error in the syndication client.
A class that represents a blog post on the server.
BlogPrivate *const d_ptr
A pointer to the corresponding 'Private' class.
An error where the method called is not supported by this object.
A class that provides methods to call functions on a supported blog web application.
An error in the XML-RPC client.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:55 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.