Commit Graph

10 Commits

Author SHA1 Message Date
Marco Martin
56a7b2e5df scripted containment loading fix
load as containment also applets that have both Plasma/Applet and Plasma/Containment
2011-02-20 16:52:44 +01:00
Marco Martin
9fcf5d4980 * update the storage operations
* add a special case in pluginloader for storage (don't think storage should be made a plugin)

svn path=/trunk/KDE/kdelibs/; revision=1189000
2010-10-23 17:02:49 +00:00
Albert Astals Cid
207a88b292 make the function file static
svn path=/trunk/KDE/kdelibs/; revision=1185606
2010-10-13 21:21:30 +00:00
Albert Astals Cid
6989afc229 initializing QString to 0 is baaaaad
svn path=/trunk/KDE/kdelibs/; revision=1185604
2010-10-13 21:15:27 +00:00
Aaron J. Seigo
aad4d4b60f and the implementation bit of the last commit to the header *sigh*
svn path=/trunk/KDE/kdelibs/; revision=1156224
2010-07-28 18:17:58 +00:00
Aaron J. Seigo
2d47f2452d introduce the internal plugin info loaders, including standard implementations which applications may elect to take advantage of
svn path=/trunk/KDE/kdelibs/; revision=1155704
2010-07-27 22:07:53 +00:00
Ryan James Rix
8d2574b6d9 Moving Plasma::Applet::listAppletInfo into the PluginLoader logic. Also implemented internalAppletNames which, if implemented, will return a QStringList of the available applets' names. PluginLoader::listAppletInfo will then search for .desktop files in $APPDATA/plasma/applets/ which match the applets' names (ie. $APPDATA/plasma/applets/org.skrooge.report.desktop), and add them to the KPluginInfo::List returned by PluginLoader::listAppletInfo and subsequently Plasma::Applet::listAppletInfo.
Since the applets are dynamically loaded, the .desktop files don't need an X-KDE-Library entries, but the others will be used, for example X-KDE-PluginInfo-Name (which will be the value given to PluginLoader::internalAppletLoad, so it is really important), Icon, Type, ServiceTypes...

svn path=/trunk/KDE/kdelibs/; revision=1154551
2010-07-25 20:56:03 +00:00
Aaron J. Seigo
a6155e5659 move all plugin loading to the PluginLoader class.
svn path=/trunk/KDE/kdelibs/; revision=1150409
2010-07-15 21:38:56 +00:00
Aaron J. Seigo
fd71ff404b * loadEngine -> loadDataEngine
* ws clean up
* add to the apidox a bit
* add a ctor

svn path=/trunk/KDE/kdelibs/; revision=1150391
2010-07-15 21:11:20 +00:00
Ryan James Rix
e00a7b2422 Adds ability for applications which embed plasma to specify a class which
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.

http://reviewboard.kde.org/r/4554/


svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00