Attica
content.h
106 * Gets the number of downloads for the Content (how often this has been downloaded from the server).
235 * Add an attribute that is not included in the basis set of attributes exposed by the Content class.
243 * Get an attribute that is not included in the basis set of attributes exposed by the Content class.
245 * @return the value of the attribute with the specified key, or an empty string, if the key has not been found
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
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
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
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
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
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
QList< HomePageEntry > homePageEntries()
Get all home pages for this content.
Definition content.cpp:229
QList< DownloadDescription > downloadUrlDescriptions() const
Get all possible downloads.
Definition content.cpp:175
void setUpdated(const QDateTime &updated)
Sets the time the Content has been last updated.
Definition content.cpp:120
The HomePageEntry class contains information about one home page entry.
Definition homepageentry.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.