Plasma
package.h
Go to the documentation of this file.
static bool uninstallPackage(const QString &package, const QString &packageRoot, const QString &servicePrefix)
Uninstalls a package.
Definition package.cpp:628
static bool registerPackage(const PackageMetadata &data, const QString &iconPath)
Registers a package described by the given desktop file.
Definition package.cpp:661
static QStringList listInstalledPaths(const QString &packageRoot)
Returns a list of all paths of installed packages in the given root.
Definition package.cpp:444
QStringList entryList(const char *fileType) const
Get the list of files of a given type.
Definition package.cpp:281
static QStringList listInstalled(const QString &packageRoot)
Returns a list of all installed packages by name.
Definition package.cpp:423
void unpublish(const QString &name=QString())
Remove this package from the network.
void publish(AnnouncementMethods methods, const QString &name)
Publish this package on the network.
static bool createPackage(const PackageMetadata &metadata, const QString &source, const QString &destination, const QString &icon=QString())
Creates a package based on the metadata from the files contained in the source directory.
Definition package.cpp:693
QString filePath(const char *fileType, const QString &filename) const
Get the path to a given file.
Definition package.cpp:213
static bool installPackage(const QString &package, const QString &packageRoot, const QString &servicePrefix)
Installs a package.
Definition package.cpp:464
bool isPublished() const
void setPath(const QString &path)
Sets the path to the root of this package.
Definition package.cpp:299
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 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 Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.