Directory definitions for Look and Feel package structure

This commit is contained in:
Sebastian Kügler 2013-04-21 16:27:54 +02:00
parent 54bd825668
commit c2a1cfb95c

View File

@ -28,29 +28,7 @@
void LookAndFeelPackageStructure::initPackage(Plasma::Package *package)
{
// http://community.kde.org/Plasma/lookAndFeelPackage#
/*
*
* metadata.desktop
* * usual stuff
** URL to video?
* previews/
** loginmanager.png
**lockscreen.png
**etc... (generated by tool?)
* loginmanager/
* lockscreen/
* logout/
* userswitcher/
* desktopswitcher/
* splash/
* runcommand/
* windowdecoration/
* windowswitcher/
*
*
*
*
*/
package->setDefaultPackageRoot("plasma/look-and-feel/");
//Directories
@ -64,7 +42,32 @@ void LookAndFeelPackageStructure::initPackage(Plasma::Package *package)
package->addFileDefinition("windowdecorationpreview", "previews/windowdecoration.png", i18n("Preview for the Window Decorations"));
package->addFileDefinition("windowswitcherpreview", "previews/windowswitcher.png", i18n("Preview for Window Switcher"));
package->addDirectoryDefinition("loginmanager", "loginmanager", i18n("Login Manager"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
package->addDirectoryDefinition("logout", "logout", i18n("Logout Dialog"));
package->addFileDefinition("logoutmainscript", "logout/Logout.qml", i18n("Main Script for Logout Dialog"));
package->addDirectoryDefinition("lockscreen", "lockscreen", i18n("Screenlocker"));
package->addFileDefinition("lockscreenmainscript", "lockscreen/LockScreen.qml", i18n("Main Script for Lock Screen"));
package->addDirectoryDefinition("userswitcher", "userswitcher", i18n("UI for fast user switching"));
package->addFileDefinition("userswitchermainscript", "userswitcher/UserSwitcher.qml", i18n("Main Script for User Switcher"));
package->addDirectoryDefinition("desktopswitcher", "desktopswitcher", i18n("Virtual Desktop Switcher"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
package->addDirectoryDefinition("splash", "splash", i18n("Splash Screen"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
package->addDirectoryDefinition("runcommand", "runcommand", i18n("KRunner UI"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
package->addDirectoryDefinition("windowdecoration", "windowdecoration", i18n("Window Decoration"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
package->addDirectoryDefinition("windowswitcher", "windowswitcher", i18n("Window Switcher"));
package->addFileDefinition("loginmanagermainscript", "previews/LoginManager.qml", i18n("Main Script for Login Manager"));
}