Plasma
ggl_package.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef GGADGET_PACKAGE_H
00018 #define GGADGET_PACKAGE_H
00019
00020 #include <Plasma/Package>
00021 #include <Plasma/PackageStructure>
00022 #include <Plasma/PackageMetadata>
00023 class GadgetBrowserHost;
00024 class GglPackage : public Plasma::PackageStructure {
00025 Q_OBJECT
00026 public:
00027 GglPackage(QObject *parent, const QVariantList &args);
00028
00029 virtual ~GglPackage();
00030 virtual bool installPackage(const QString &archivePath,
00031 const QString &packageRoot);
00032 virtual void createNewWidgetBrowser(QWidget *parent = 0);
00033
00034 void gadgetBrowserClosed();
00035
00036 private:
00037 GadgetBrowserHost *host_;
00038 };
00039
00040 #endif