Attica
content.cpp
int downloads() const
Gets the number of downloads for the Content (how often this has been downloaded from the server).
Definition content.cpp:95
void setCreated(const QDateTime &created)
Sets the date and time the Content has been created.
Definition content.cpp:110
QDateTime created() const
Gets the date and time the Content has been created.
Definition content.cpp:115
QList< DownloadDescription > downloadUrlDescriptions() const
Get all possible downloads.
Definition content.cpp:175
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:135
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:130
HomePageEntry homePageEntry(int number) const
Get the details about a home page (a content can have multiple home pages, blog, bugs,...
Definition content.cpp:252
QUrl detailpage() const
A webpage with the detailed description of this content.
Definition content.cpp:160
QDateTime updated() const
Gets the date and time the Content has been last updated.
Definition content.cpp:125
QList< HomePageEntry > homePageEntries()
Get all home pages for this content.
Definition content.cpp:229
void setDownloads(int downloads)
Sets the number of downloads for the Content.
Definition content.cpp:90
void setNumberOfComments(int numComments)
Sets the number of comments for the Content.
Definition content.cpp:100
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:140
DownloadDescription downloadUrlDescription(int number) const
Get the details about a download (a content can have multiple links, eg for different distros).
Definition content.cpp:198
void setUpdated(const QDateTime &updated)
Sets the time the Content has been last updated.
Definition content.cpp:120
void setTags(const QStringList &tags)
Set the list of tags for this download description.
Definition downloaddescription.cpp:204
void setVersion(const QString &version)
Definition downloaddescription.cpp:214
The HomePageEntry class contains information about one home page entry.
Definition homepageentry.h:27
void append(QList< T > &&value)
void clear()
QString number(double n, char format, int precision)
qsizetype size() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
QStringView right(qsizetype length) const const
int toInt(bool *ok, int base) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.