KNewStuff
entryinternal.cpp
Go to the documentation of this file.
402 QList<KNS3::EntryInternal::DownloadLinkInformation> KNS3::EntryInternal::downloadLinkInformationList() const
407 void KNS3::EntryInternal::appendDownloadLinkInformation(const KNS3::EntryInternal::DownloadLinkInformation& info)
QStringList uninstalledFiles() const
Retrieve the locally uninstalled files.
Definition: entryinternal.cpp:392
int downloadLinkCount() const
Definition: entryinternal.cpp:397
void setChangelog(const QString &changelog)
The user written changelog.
Definition: entryinternal.cpp:204
void setRating(int rating)
Sets the rating between 0 (worst) and 100 (best).
Definition: entryinternal.cpp:289
QString & append(QChar ch)
QString providerId() const
The id of the provider this entry belongs to.
Definition: entryinternal.cpp:144
bool operator==(const EntryInternal &other) const
Definition: entryinternal.cpp:110
QString updateVersion() const
Retrieve the version string of the object that is available as update.
Definition: entryinternal.cpp:254
void setProviderId(const QString &id)
Definition: entryinternal.cpp:149
QString attribute(const QString &name, const QString &defValue) const
Definition: entryinternal.h:66
QString category() const
Retrieve the category of the data object.
Definition: entryinternal.cpp:154
void setCategory(const QString &category)
Sets the data category, e.g.
Definition: entryinternal.cpp:159
const char * name(StandardAction id)
void setKnowledgebaseLink(const QString &link)
Definition: entryinternal.cpp:337
QString & remove(int position, int n)
bool setEntryXML(const QDomElement &xmldata)
set the xml for the entry parses the xml and sets the private members accordingly used to deserialize...
Definition: entryinternal.cpp:417
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setAuthor(const Author &author)
Sets the author of the object.
Definition: entryinternal.cpp:179
Source
Source of the entry, A entry's data is coming from either cache, or an online provider this helps the...
Definition: entryinternal.h:64
void appendDownloadLinkInformation(const DownloadLinkInformation &info)
Definition: entryinternal.cpp:407
QDomNode nextSibling() const
void setReleaseDate(const QDate &releasedate)
Sets the release date.
Definition: entryinternal.cpp:229
QDomElement toElement() const
QStringList installedFiles() const
Retrieve the locally installed files.
Definition: entryinternal.cpp:382
QDate fromString(const QString &string, Qt::DateFormat format)
QString replaceBBCode(const QString &unformattedText)
function to remove bb code formatting that opendesktop sends
Definition: entryinternal.cpp:586
QDomElement addElement(QDomDocument &doc, QDomElement &parent, const QString &tag, const QString &value)
Definition: xmlloader.cpp:80
void setPreviewUrl(const QString &url, PreviewType type=PreviewSmall1)
Sets the object's preview file, if available.
Definition: entryinternal.cpp:269
QString number(int n, int base)
void setNumberKnowledgebaseEntries(int num)
Definition: entryinternal.cpp:328
void setSource(Source source)
The source of this entry can be Cache, Registry or Online -.
Definition: entryinternal.cpp:362
QString text() const
void setSummary(const QString &summary)
Sets a short description on what the object is all about.
Definition: entryinternal.cpp:199
Definition: knewstuff3/entry.h:61
void setLicense(const QString &license)
Sets the license (abbreviation) applicable to the object.
Definition: entryinternal.cpp:189
QImage previewImage(PreviewType type=PreviewSmall1) const
This will not be loaded automatically, instead use Engine to load the actual images.
Definition: entryinternal.cpp:274
void setAttribute(const QString &name, const QString &value)
int toInt(bool *ok, int base) const
QString trimmed() const
void setPreviewImage(const QImage &image, PreviewType type=PreviewSmall1)
Definition: entryinternal.cpp:279
void clearDownloadLinkInformation()
Definition: entryinternal.cpp:412
QString previewUrl(PreviewType type=PreviewSmall1) const
Retrieve the file name of an image containing a preview of the object.
Definition: entryinternal.cpp:264
void setUpdateVersion(const QString &version)
Sets the version number that is available as update.
Definition: entryinternal.cpp:259
QDate releaseDate() const
Retrieve the date of the object's publication.
Definition: entryinternal.cpp:224
void setDonationLink(const QString &link)
Definition: entryinternal.cpp:319
QString version() const
Retrieve the version string of the object.
Definition: entryinternal.cpp:214
int rating() const
Retrieve the rating for the object, which has been determined by its users and thus might change over...
Definition: entryinternal.cpp:284
void setName(const QString &name)
Sets the name for this data object.
Definition: entryinternal.cpp:129
int numberKnowledgebaseEntries() const
Definition: entryinternal.cpp:324
bool isNull() const
void setUniqueId(const QString &id)
Definition: entryinternal.cpp:139
QString & replace(int position, int n, QChar after)
QDomNode firstChild() const
int downloadCount() const
Retrieve the download count for the object, which has been determined by its hosting sites and thus m...
Definition: entryinternal.cpp:294
QDate updateReleaseDate() const
Retrieve the date of the newer version that is available as update.
Definition: entryinternal.cpp:244
static KNS3::EntryInternal fromEntry(const KNS3::Entry &entry)
Definition: entryinternal.cpp:581
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setUnInstalledFiles(const QStringList &files)
Set the files that have been uninstalled by the uninstall command.
Definition: entryinternal.cpp:387
bool operator<(const EntryInternal &other) const
Definition: entryinternal.cpp:105
QString tagName() const
QString summary() const
Retrieve a short description about the object.
Definition: entryinternal.cpp:194
void setStatus(Entry::Status status)
Returns the checksum for the entry.
Definition: entryinternal.cpp:372
QString knowledgebaseLink() const
Definition: entryinternal.cpp:333
QList< DownloadLinkInformation > downloadLinkInformationList() const
Definition: entryinternal.cpp:402
void setUpdateReleaseDate(const QDate &releasedate)
Sets the release date that is available as update.
Definition: entryinternal.cpp:249
EntryInternal & operator=(const EntryInternal &other)
Definition: entryinternal.cpp:99
void setInstalledFiles(const QStringList &files)
Set the files that have been installed by the install command.
Definition: entryinternal.cpp:377
Definition: knewstuff3/entry.h:62
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.