PackageEntry Class
(Sailfish::Mdm::PackageEntry)
Contains information about a particular package which is installed. More...
Header: | #include <mdm-applications.h>
|
Public Functions
Detailed Description
Contains information about a particular package which is installed.
A package can provide plugins, libraries, standalone executables, applications, non-executable files (such as wallpaper images) or any combination of the above.
Member Function Documentation
PackageEntry::PackageEntry()
Default constructs an instance of PackageEntry.
PackageEntry::PackageEntry(const PackageEntry &other)
Copy constructor.
PackageEntry::PackageEntry(const QString &name, const QString &version, const QString &vendor)
Default constructs an instance of PackageEntry.
[virtual]
PackageEntry::~PackageEntry()
Destroys the instance of PackageEntry. The destructor is virtual.
bool PackageEntry::isValid() const
Returns true if the package entry is valid.
A package entry is considered valid if it has a name and version. Valid package entries are assumed to have been populated via inspection of the RPM database.
QString PackageEntry::name() const
Returns the package name.
QString PackageEntry::vendor() const
Returns the vendor of the package.
QString PackageEntry::version() const
Returns the version of the package.
Copy-assignment operator.