Plasma
packagemetadata.cpp
Go to the documentation of this file.
void setServiceType(const QString &)
Set the service-type which defines the X-KDE-ServiceTypes type within the desktop file...
Definition: packagemetadata.cpp:274
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 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
QString requiredVersion() const
Definition: packagemetadata.cpp:229
void setCategory(const QString &)
Sets the category this package belongs in.
Definition: packagemetadata.cpp:309
PackageMetadata & operator=(const PackageMetadata &other)
Definition: packagemetadata.cpp:62
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
bool isEmpty() const
void setApplication(const QString &)
Set the name of the application this package may belongs to.
Definition: packagemetadata.cpp:304
void setPluginName(const QString &name)
Set the plugin name of the package.
Definition: packagemetadata.cpp:259
void setDescription(const QString &)
Set the description used to provide some general information what the package is about.
Definition: packagemetadata.cpp:269
PackageMetadata(const QString &path=QString())
Constructs a metadata object using the values in the file at path.
Definition: packagemetadata.cpp:68
KUrl remoteLocation() const
Definition: packagemetadata.cpp:234
void setAuthor(const QString &)
Set the name of the author of the package.
Definition: packagemetadata.cpp:279
QString icon() const
Returns the icon name associated with this package, or QString() if none.
Definition: packagemetadata.cpp:184
void setRequiredVersion(const QString &)
Set the required version.
Definition: packagemetadata.cpp:314
void setImplementationApi(const QString &api)
Set the implementation API this package uses.
Definition: packagemetadata.cpp:249
QString implementationApi() const
Definition: packagemetadata.cpp:244
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
void setRemoteLocation(const KUrl &)
Set the url where this package is hosted.
Definition: packagemetadata.cpp:319
void setLicense(const QString &)
Set the license the package is distributed under.
Definition: packagemetadata.cpp:299
void setKeywords(const QStringList &keywords)
Set the keywords used to provide search and categorizations.
Definition: packagemetadata.cpp:219
void setName(const QString &)
Set the name of the package used to displayed a short describing name.
Definition: packagemetadata.cpp:264
void setIcon(const QString &icon)
Set the icon name to be used with this package.
Definition: packagemetadata.cpp:189
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 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:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.