Attica
content.cpp
void setUpdated(const QDateTime &updated)
Sets the time the Content has been last updated.
Definition: content.cpp:119
void setNumberOfComments(int numComments)
Sets the number of comments for the Content.
Definition: content.cpp:99
int size() const const
QString attribute(const QString &key) const
Get an attribute that is not included in the basis set of attributes exposed by the Content class...
Definition: content.cpp:134
The HomePageEntry class contains information about one home page entry.
Definition: homepageentry.h:24
void clear()
int downloads() const
Gets the number of downloads for the Content (how often this has been downloaded from the server)...
Definition: content.cpp:94
QString number(int n, int base)
void append(const T &value)
int numberOfComments() const
Gets the number of comments for the Content.
Definition: content.cpp:104
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
void addAttribute(const QString &key, const QString &value)
Add an attribute that is not included in the basis set of attributes exposed by the Content class...
Definition: content.cpp:129
QStringRef rightRef(int n) const const
QDateTime updated() const
Gets the date and time the Content has been last updated.
Definition: content.cpp:124
QDateTime created() const
Gets the date and time the Content has been created.
Definition: content.cpp:114
void setCreated(const QDateTime &created)
Sets the date and time the Content has been created.
Definition: content.cpp:109
HomePageEntry homePageEntry(int number) const
Get the details about a home page (a content can have multiple home pages, blog, bugs, ...).
Definition: content.cpp:250
const Key key(const T &value, const Key &defaultKey) const const
QUrl detailpage() const
A webpage with the detailed description of this content.
Definition: content.cpp:159
QMap< QString, QString > attributes() const
Get all attributes that are not included in the basis set of attributes exposed by the Content class...
Definition: content.cpp:139
void setDownloads(int downloads)
Sets the number of downloads for the Content.
Definition: content.cpp:89
QList< DownloadDescription > downloadUrlDescriptions() const
Get all possible downloads.
Definition: content.cpp:175
QList< HomePageEntry > homePageEntries()
Get all home pages for this content.
Definition: content.cpp:227
Definition: accountbalance.h:15
DownloadDescription downloadUrlDescription(int number) const
Get the details about a download (a content can have multiple links, eg for different distros)...
Definition: content.cpp:197
const T value(const Key &key, const T &defaultValue) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.