Plasma
Go to the documentation of this file.
21 #ifndef PLASMA_PACKAGE_H
22 #define PLASMA_PACKAGE_H
24 #include <QtCore/QStringList>
39 class PackageMetadata;
58 Package(
const QString &packageRoot,
const QString &package,
97 QString filePath(
const char *fileType,
const QString &filename)
const;
107 QString filePath(
const char *fileType)
const;
116 QStringList entryList(
const char *fileType)
const;
128 void setPath(
const QString &path);
134 void publish(AnnouncementMethods methods,
const QString &name);
139 void unpublish(
const QString &name = QString());
144 bool isPublished()
const;
149 const QString path()
const;
160 QString contentsHash()
const;
169 static QStringList listInstalled(
const QString &packageRoot);
178 static QStringList listInstalledPaths(
const QString &packageRoot);
192 static bool installPackage(
const QString &package,
193 const QString &packageRoot,
194 const QString &servicePrefix);
206 static bool uninstallPackage(
const QString &package,
207 const QString &packageRoot,
208 const QString &servicePrefix);
216 static bool registerPackage(
const PackageMetadata &data,
const QString &iconPath);
229 const QString &source,
230 const QString &destination,
231 const QString &icon = QString());
234 PackagePrivate *
const d;
237 friend class AppletPrivate;
KSharedPtr< PackageStructure > Ptr
object representing an installed Plasmagik package
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.