KBlog Client Library
23 #ifndef KBLOG_BLOGPOSTING_H
24 #define KBLOG_BLOGPOSTING_H
26 #include <kblog/kblog_export.h>
30 #include <QtCore/QtAlgorithms>
43 class BlogPostPrivate;
82 explicit BlogPost(
const QString &postId = QString() );
87 explicit BlogPost(
const KCal::Journal &journal );
99 KCal::Journal *journal(
const Blog &blog )
const;
105 QString journalId()
const;
113 bool isPrivate()
const;
122 void setPrivate(
bool privatePost );
130 QString postId()
const;
138 void setPostId(
const QString &postId );
146 QString title()
const;
154 void setTitle(
const QString &title );
162 QString content()
const;
170 void setContent(
const QString &content );
181 QString additionalContent()
const;
189 void setAdditionalContent(
const QString &additionalContent );
198 QString slug()
const;
207 void setSlug(
const QString &slug );
222 void setLink(
const KUrl &link )
const;
230 KUrl permaLink()
const;
238 void setPermaLink(
const KUrl &permalink )
const;
246 bool isCommentAllowed()
const;
254 void setCommentAllowed(
bool commentAllowed );
262 bool isTrackBackAllowed()
const;
270 void setTrackBackAllowed (
bool allowTrackBacks );
278 QString summary()
const;
286 void setSummary(
const QString &summary );
294 QStringList tags()
const;
302 void setTags(
const QStringList &tags );
313 QString mood()
const;
321 void setMood(
const QString &mood );
329 QString music()
const;
337 void setMusic(
const QString &music );
345 QStringList categories()
const;
354 void setCategories(
const QStringList &categories );
362 KDateTime creationDateTime()
const;
371 void setCreationDateTime(
const KDateTime &datetime );
379 KDateTime modificationDateTime()
const;
387 void setModificationDateTime(
const KDateTime &datetime );
419 Status status()
const;
427 void setStatus( Status status );
435 QString error()
const;
443 void setError(
const QString &error );
454 qSwap( this->d_ptr, other.d_ptr );
458 BlogPostPrivate *d_ptr;
Status of a successfully fetched post.
Status of a successfully created post.
Status
The enumartion of the different post status, reflecting the status changes on the server...
Status of a successfully modified post.
A class that represents a blog post on the server.
Status of a freshly constructed post on the client.
A class that provides methods to call functions on a supported blog web application.
Status of a successfully removed post.
void swap(BlogPost &other)
The swap operator.
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.