diff --git a/layouttemplatepackagestructure.cpp b/layouttemplatepackagestructure.cpp index 827d7f172..e5f678ae6 100644 --- a/layouttemplatepackagestructure.cpp +++ b/layouttemplatepackagestructure.cpp @@ -24,7 +24,7 @@ LayoutTemplatePackageStructure::LayoutTemplatePackageStructure(QObject *parent) { setServicePrefix("plasma-layout-template"); setDefaultPackageRoot("plasma/layout-templates"); - addFileDefinition("mainscript", "main.js", i18n("Main Script File")); + addFileDefinition("mainscript", "layout.js", i18n("Main Script File")); setRequired("mainscript", true); } @@ -33,10 +33,5 @@ LayoutTemplatePackageStructure::~LayoutTemplatePackageStructure() } -/* - bool installPackage(const QString &archivePath, const QString &packageRoot); - bool uninstallPackage(const QString &packageName, const QString &packageRoot); - */ - #include "layouttemplatepackagestructure.moc" diff --git a/layouttemplatepackagestructure.h b/layouttemplatepackagestructure.h index 36d32bf30..0d73f19b0 100644 --- a/layouttemplatepackagestructure.h +++ b/layouttemplatepackagestructure.h @@ -30,10 +30,6 @@ class PLASMAGENERICSHELL_EXPORT LayoutTemplatePackageStructure : public Plasma:: public: LayoutTemplatePackageStructure(QObject *parent = 0); ~LayoutTemplatePackageStructure(); -/* - bool installPackage(const QString &archivePath, const QString &packageRoot); - bool uninstallPackage(const QString &packageName, const QString &packageRoot); - */ };