class Entry |
|
KNewStuff data entry container.
This class provides accessor methods to the data objects as used by KNewStuff. It should probably not be used directly by the application. Author Cornelius Schumacher (schumacher@kde.org) Maintainer: Josef Spillner (spillner@kde.org) |
|
Constructor. |
|
|
Retrieve the author of the object.
Returns object author |
|
Retrieve the category of the data object.
Returns object category |
|
Returns the checksum for the entry.
If an empty string is returned, no checksum was assigned. Returns Checksum of this entry |
|
Retrieve the download count for the object, which has been determined
by its hosting sites and thus might change over time.
Returns object download count |
|
|
Retrieve the locally installed files. Returns file names |
|
Retrieve the license name of the object.
Returns object license |
|
Retrieve the name of the data object.
Returns object name (potentially translated) |
|
Retrieve the file name of the object.
Returns object filename |
|
Retrieve the file name of an image containing a preview of the object.
Returns object preview filename |
|
Retrieve the rating for the object, which has been determined by its
users and thus might change over time.
Returns object rating |
|
Retrieve the release number of the object
Returns object release |
|
Retrieve the date of the object's publication.
Returns object release date |
|
Sets the author of the object. |
|
Sets the data category, e.g. 'kdesktop/wallpaper'. |
|
Sets the checksum of the entry. This will be a string representation
of an MD5 sum of the entry's selected payload file.
checksum Checksum for the entry |
|
Sets the number of downloads.
Internal |
|
|
Set the files that have been installed by the install command.
files - local file names |
|
Sets the license (abbreviation) applicable to the object. |
|
Sets the name for this data object. |
|
Sets the object's file. |
|
Sets the object's preview file, if available. This should be a picture file. |
|
Sets the rating between 0 (worst) and 100 (best).
Internal |
|
Sets the release number, which is increased for feature-equal objects with the same version number, but slightly updated contents. |
|
Sets the release date. |
|
Sets the signature of the entry. This will be a digital signature
in OpenPGP-compliant format.
signature Signature for the entry |
|
Source of the entry, A entry's data is coming from either cache, or an online provider this helps the engine know which data to use when merging cached entries with online entry data |
|
Sets the entry's status. If no status is set, the default will be
Invalid.
status - New status of the entry |
|
Sets a short description on what the object is all about. |
|
Set the files that have been uninstalled by the uninstall command.
files - local file names @since 4.1 |
|
Sets the version number. |
|
Returns the signature for the entry.
If an empty string is returned, no signature was assigned. Returns Signature of this entry |
|
|
Retrieves the entry's status.
Returns Current status of the entry |
|
Retrieve a short description about the object.
Returns object description |
|
Retrieve the locally uninstalled files. Returns file names @since 4.1 |
|
Retrieve the version string of the object.
Returns object version |
Source of the entry, A entry's data is coming from either cache, or an online provider this helps the engine know which data to use when merging cached entries with online entry data
Cache | - | - | ||
Online | - | - | ||
Registry | - | - |
Status of the entry. An entry will be downloadable from the provider's site prior to the download. Once downloaded and installed, it will be either installed or updateable, implying an out-of-date installation. Finally, the entry can be deleted and hence show up as downloadable again. Entries not taking part in this cycle, for example those in upload, have an invalid status.
Invalid | - | - | ||
Downloadable | - | - | ||
Installed | - | - | ||
Updateable | - | - | ||
Deleted | - | - |