KNewStuff
entryhandler.cpp
Go to the documentation of this file.
QString jabber() const
Retrieve the author's jabber address.
Definition: knewstuff2/core/author.cpp:78
QString checksum() const
Returns the checksum for the entry.
Definition: knewstuff2/core/entry.cpp:201
QDomNode appendChild(const QDomNode &newChild)
QString toString(Qt::DateFormat format) const
EntryHandler(const QDomElement &entryxml)
Definition: entryhandler.cpp:34
void setCategory(const QString &category)
Sets the data category, e.g.
Definition: knewstuff2/core/entry.cpp:86
QString attribute(const QString &name, const QString &defValue) const
void setEmail(const QString &email)
Sets the email address of the author.
Definition: knewstuff2/core/author.cpp:63
void setName(const KTranslatable &name)
Sets the name for this data object.
Definition: knewstuff2/core/entry.cpp:76
String class with multiple localized representations.
Definition: ktranslatable.h:41
QDate releaseDate() const
Retrieve the date of the object's publication.
Definition: knewstuff2/core/entry.cpp:151
void setChecksum(const QString &checksum)
Sets the checksum of the entry.
Definition: knewstuff2/core/entry.cpp:196
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
QString version() const
Retrieve the version string of the object.
Definition: knewstuff2/core/entry.cpp:131
const char * name(StandardAction id)
QString email() const
Retrieve the author's email address.
Definition: knewstuff2/core/author.cpp:68
void setDownloads(int downloads)
Sets the number of downloads.
Definition: knewstuff2/core/entry.cpp:186
int release() const
Retrieve the release number of the object.
Definition: knewstuff2/core/entry.cpp:141
KTranslatable summary() const
Retrieve a short description about the object.
Definition: knewstuff2/core/entry.cpp:121
QString translated(const QString &lang) const
Returns the string which matches most closely the specified language.
Definition: ktranslatable.cpp:89
void setJabber(const QString &jabber)
Sets the jabber address of the author.
Definition: knewstuff2/core/author.cpp:73
QString category() const
Retrieve the category of the data object.
Definition: knewstuff2/core/entry.cpp:91
KTranslatable name() const
Retrieve the name of the data object.
Definition: knewstuff2/core/entry.cpp:81
QDomNode nextSibling() const
void setSummary(const KTranslatable &summary)
Sets a short description on what the object is all about.
Definition: knewstuff2/core/entry.cpp:116
QDomElement toElement() const
QDate fromString(const QString &string, Qt::DateFormat format)
QString number(int n, int base)
KTranslatable payload() const
Retrieve the file name of the object.
Definition: knewstuff2/core/entry.cpp:161
QString signature() const
Returns the signature for the entry.
Definition: knewstuff2/core/entry.cpp:211
QString text() const
void setName(const QString &name)
Sets the full name of the author.
Definition: knewstuff2/core/author.cpp:53
void setAuthor(const Author &author)
Sets the author of the object.
Definition: knewstuff2/core/entry.cpp:96
void setRelease(int release)
Sets the release number, which is increased for feature-equal objects with the same version number...
Definition: knewstuff2/core/entry.cpp:136
void setAttribute(const QString &name, const QString &value)
void setInstalledFiles(const QStringList &files)
Set the files that have been installed by the install command.
Definition: knewstuff2/core/entry.cpp:236
int toInt(bool *ok, int base) const
QString license() const
Retrieve the license name of the object.
Definition: knewstuff2/core/entry.cpp:111
bool isEmpty() const
QString trimmed() const
void setVersion(const QString &version)
Sets the version number.
Definition: knewstuff2/core/entry.cpp:126
void setReleaseDate(const QDate &releasedate)
Sets the release date.
Definition: knewstuff2/core/entry.cpp:146
QStringList installedFiles() const
Retrieve the locally installed files.
Definition: knewstuff2/core/entry.cpp:241
void setRating(int rating)
Sets the rating between 0 (worst) and 100 (best).
Definition: knewstuff2/core/entry.cpp:176
void setCompatibilityFormat()
Definition: entryhandler.cpp:47
QDomText createTextNode(const QString &value)
int downloads() const
Retrieve the download count for the object, which has been determined by its hosting sites and thus m...
Definition: knewstuff2/core/entry.cpp:191
bool isNull() const
QDomNode firstChild() const
QStringList languages() const
Returns the list of all languages for which strings are stored.
Definition: ktranslatable.cpp:96
typedef ConstIterator
void setPayload(const KTranslatable &url)
Sets the object's file.
Definition: knewstuff2/core/entry.cpp:156
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setLicense(const QString &license)
Sets the license (abbreviation) applicable to the object.
Definition: knewstuff2/core/entry.cpp:106
QString tagName() const
const_iterator constEnd() const
QDomElement createElement(const QString &tagName)
const_iterator constBegin() const
KTranslatable preview() const
Retrieve the file name of an image containing a preview of the object.
Definition: knewstuff2/core/entry.cpp:171
void setHomepage(const QString &homepage)
Sets the homepage of the author.
Definition: knewstuff2/core/author.cpp:83
int rating() const
Retrieve the rating for the object, which has been determined by its users and thus might change over...
Definition: knewstuff2/core/entry.cpp:181
void setSignature(const QString &signature)
Sets the signature of the entry.
Definition: knewstuff2/core/entry.cpp:206
void setPreview(const KTranslatable &url)
Sets the object's preview file, if available.
Definition: knewstuff2/core/entry.cpp:166
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 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:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.