Attica
content.cpp
void append(const T &value)
QMap::const_iterator constBegin() const const
void setDownloads(int downloads)
Sets the number of downloads for the Content.
Definition: content.cpp:89
int toInt(bool *ok, int base) const const
QList< DownloadDescription > downloadUrlDescriptions() const
Get all possible downloads.
Definition: content.cpp:174
QString number(int n, int base)
QStringView right(qsizetype length) const const
int size() const const
const T value(const Key &key, const T &defaultValue) const const
void clear()
void setNumberOfComments(int numComments)
Sets the number of comments for the Content.
Definition: content.cpp:99
void setUpdated(const QDateTime &updated)
Sets the time the Content has been last updated.
Definition: content.cpp:119
void setTags(const QStringList &tags)
Set the list of tags for this download description.
Definition: downloaddescription.cpp:319
Definition: content.h:32
HomePageEntry homePageEntry(int number) const
Get the details about a home page (a content can have multiple home pages, blog, bugs,...
Definition: content.cpp:258
QMap::const_iterator constEnd() 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
QDateTime created() const
Gets the date and time the Content has been created.
Definition: content.cpp:114
const Key key(const T &value, const Key &defaultKey) const const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
Definition: homepageentry.h:26
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
void setCreated(const QDateTime &created)
Sets the date and time the Content has been created.
Definition: content.cpp:109
DownloadDescription downloadUrlDescription(int number) const
Get the details about a download (a content can have multiple links, eg for different distros).
Definition: content.cpp:201
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
int downloads() const
Gets the number of downloads for the Content (how often this has been downloaded from the server).
Definition: content.cpp:94
QList< HomePageEntry > homePageEntries()
Get all home pages for this content.
Definition: content.cpp:231
int size() const const
QStringRef rightRef(int n) const const
QDateTime updated() const
Gets the date and time the Content has been last updated.
Definition: content.cpp:124
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.