KBlog Client Library
blogpost.cpp
114 QString id = QLatin1String("kblog-") + url + QLatin1Char('-') + blogId + QLatin1Char('-') + username +
bool isCommentAllowed() const
Returns whether comments should be allowed.
Definition: blogpost.cpp:226
QString & remove(int position, int n)
Status
The enumartion of the different post status, reflecting the status changes on the server...
Definition: blogpost.h:393
bool isTrackBackAllowed() const
Returns whether track back should be allowed.
Definition: blogpost.cpp:236
void clear()
void setCreationDateTime(const KDateTime &datetime)
Sets the creation time.
Definition: blogpost.cpp:313
QString additionalContent() const
Returns the additional content, (mt_text_more of MovableType API)
Definition: blogpost.cpp:186
void setAdditionalContent(const QString &additionalContent)
Sets the additional content, (mt_text_more of MovableType API)
Definition: blogpost.cpp:191
KDateTime modificationDateTime() const
Returns the modification date time.
Definition: blogpost.cpp:318
void setModificationDateTime(const KDateTime &datetime)
Sets the modification time.
Definition: blogpost.cpp:323
QString blogId() const
Returns the unique ID for the specific blog on the server.
Definition: blog.cpp:109
void setTrackBackAllowed(bool allowTrackBacks)
Set whether track back should be allowed.
Definition: blogpost.cpp:241
void setSlug(const QString &slug)
Sets the Wordpress slug property! (will use to set post's permalink) Currently just wordpress support...
Definition: blogpost.cpp:201
QString slug() const
Returns the Wordpress posts Slug (or permalink will use for post) Currently just wordpress supports t...
Definition: blogpost.cpp:196
void setCommentAllowed(bool commentAllowed)
Set whether comments should be allowed.
Definition: blogpost.cpp:231
void setPrivate(bool privatePost)
Sets the post to private viewings only.
Definition: blogpost.cpp:139
void setPermaLink(const KUrl &permalink) const
Set the perma link path.
Definition: blogpost.cpp:221
QString & replace(int position, int n, QChar after)
KCal::Journal * journal(const Blog &blog) const
Returns a KCal journal from the blog post owned by the caller.
Definition: blogpost.cpp:108
QString journalId() const
Returns the ID used by the journal in creation, if created from a journal.
Definition: blogpost.cpp:129
A class that provides methods to call functions on a supported blog web application.
Definition: blog.h:71
This is the main interface for blogging APIs.
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
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.