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;
87 explicit BlogPost(
const KCal::Journal &journal );
99 KCal::Journal *journal(
const Blog &blog )
const;
113 bool isPrivate()
const;
122 void setPrivate(
bool privatePost );
138 void setPostId(
const QString &postId );
154 void setTitle(
const QString &title );
170 void setContent(
const QString &content );
181 QString additionalContent()
const;
189 void setAdditionalContent(
const QString &additionalContent );
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 );
286 void setSummary(
const QString &summary );
321 void setMood(
const QString &mood );
337 void setMusic(
const QString &music );
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 );
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:50 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.