Scripted Plasmoid icon
Aaron J. Seigo
aseigo at kde.org
Wed Oct 14 18:01:56 CEST 2009
On October 14, 2009, Thomas Olsen wrote:
> BTW: The file hierarchy of a Plasmoid isn't really well documented anywhere
> that I can find. If anyone can explain it to me I will be happy to document
> it on TechBase.
from http://websvn.kde.org/trunk/KDE/kdelibs/plasma/private/packages.cpp :
addDirectoryDefinition("images", "images/", i18n("Images"));
QStringList mimetypes;
mimetypes << "image/svg+xml" << "image/png" << "image/jpeg";
setMimetypes("images", mimetypes);
addDirectoryDefinition("config", "config/", i18n("Configuration
Definitions"));
mimetypes.clear();
mimetypes << "text/xml";
setMimetypes("config", mimetypes);
setMimetypes("configui", mimetypes);
addDirectoryDefinition("ui", "ui", i18n("User Interface"));
setMimetypes("ui", mimetypes);
addDirectoryDefinition("scripts", "code", i18n("Executable Scripts"));
mimetypes.clear();
mimetypes << "text/plain";
setMimetypes("scripts", mimetypes);
addDirectoryDefinition("translations", "locale", i18n("Translations"));
addFileDefinition("mainconfigui", "ui/config.ui", i18n("Main Config UI
File"));
addFileDefinition("mainconfigxml", "config/main.xml", i18n("Configuration
XML file"));
addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
addFileDefinition("defaultconfig", "config/default-configrc",
i18n("Default configuration"));
setRequired("mainscript", true);
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091014/1e7b46b1/attachment.sig
More information about the Plasma-devel
mailing list