Commit Graph

14 Commits

Author SHA1 Message Date
Aaron Seigo
c03e8c6b05 get rid of static bool for default loader and make ctor and dtor protected, rename pluginLoader() to self() for consistency 2011-07-19 21:40:12 +02:00
Aaron Seigo
933e72092a add ContainmentActions to PluginLoader 2011-07-19 21:39:51 +02:00
Aaron Seigo
cfa12b6c90 put package loading into PluginLoader with the rest of them 2011-07-15 13:34:10 +02:00
Aaron Seigo
aabb8d47f9 prep for Package loading 2011-07-13 20:20:36 +02:00
Shaun Reich
9fdfb1d03d ++pluginloader docs to prevent any issues like I ran into. rrix needs a whitespace-less editor ;)
svn path=/trunk/KDE/kdelibs/; revision=1215538
2011-01-19 00:33:01 +00:00
Aaron J. Seigo
1c129e3f79 SVN_SILENT: ocd
svn path=/trunk/KDE/kdelibs/; revision=1162237
2010-08-11 18:19:05 +00:00
Aaron J. Seigo
43397bc7ad declare the metatype for PluginLoader since it will be used with QVariant in the KPart
svn path=/trunk/KDE/kdelibs/; revision=1158547
2010-08-03 01:35:32 +00:00
Aaron J. Seigo
ccd6cd16ee complete runner and service aspects of pluginloader
svn path=/trunk/KDE/kdelibs/; revision=1156223
2010-07-28 18:17:36 +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
5a75a81f53 remove virtual from these methods, clarify the apidox
svn path=/trunk/KDE/kdelibs/; revision=1150415
2010-07-15 21:54:06 +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