Plasma
packagemetadata.h
Go to the documentation of this file.
void setWebsite(const QString &)
Set the website URL where the package is hosted or where additional details about the project are ava...
Definition packagemetadata.cpp:294
void setLicense(const QString &)
Set the license the package is distributed under.
Definition packagemetadata.cpp:299
QString icon() const
Returns the icon name associated with this package, or QString() if none.
Definition packagemetadata.cpp:184
void setName(const QString &)
Set the name of the package used to displayed a short describing name.
Definition packagemetadata.cpp:264
KUrl remoteLocation() const
Definition packagemetadata.cpp:234
PackageMetadata & operator=(const PackageMetadata &other)
Definition packagemetadata.cpp:62
void setApplication(const QString &)
Set the name of the application this package may belongs to.
Definition packagemetadata.cpp:304
QString implementationApi() const
Definition packagemetadata.cpp:244
QString requiredVersion() const
Definition packagemetadata.cpp:229
void setRemoteLocation(const KUrl &)
Set the url where this package is hosted.
Definition packagemetadata.cpp:319
PackageMetadata(const QString &path=QString())
Constructs a metadata object using the values in the file at path.
Definition packagemetadata.cpp:68
void setServiceType(const QString &)
Set the service-type which defines the X-KDE-ServiceTypes type within the desktop file.
Definition packagemetadata.cpp:274
void setDescription(const QString &)
Set the description used to provide some general information what the package is about.
Definition packagemetadata.cpp:269
void setKeywords(const QStringList &keywords)
Set the keywords used to provide search and categorizations.
Definition packagemetadata.cpp:219
void setCategory(const QString &)
Sets the category this package belongs in.
Definition packagemetadata.cpp:309
void setEmail(const QString &)
Set the E-Mail address of the author or of the project that provided the package.
Definition packagemetadata.cpp:284
void setImplementationApi(const QString &api)
Set the implementation API this package uses.
Definition packagemetadata.cpp:249
void setIcon(const QString &icon)
Set the icon name to be used with this package.
Definition packagemetadata.cpp:189
void write(const QString &filename) const
Writes out the metadata to filename, which should be a .desktop file.
Definition packagemetadata.cpp:87
void read(const QString &filename)
Reads in metadata from a file, which should be a .desktop file.
Definition packagemetadata.cpp:113
void setPluginName(const QString &name)
Set the plugin name of the package.
Definition packagemetadata.cpp:259
void setAuthor(const QString &)
Set the name of the author of the package.
Definition packagemetadata.cpp:279
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.