David Faure
55240b8f31
Must include config-plasma.h *before* the #ifndefs...
2011-09-02 10:50:04 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Aaron Seigo
a4187dc0a7
add missing impl
2011-07-21 14:38:44 +02:00
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
2e51a57701
minimize the headers a bit
2011-07-15 13:35:47 +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
ad26497543
spare the internal virtual method calls and possibility of non-trivial allocations when using the default pluginloader
2011-07-13 20:25:47 +02:00
Aaron Seigo
aabb8d47f9
prep for Package loading
2011-07-13 20:20:36 +02:00
Aaron Seigo
2c3a5ef8fa
make the compiler happy
2011-04-24 23:59:59 +02:00
Aaron Seigo
ffbe49d4bf
uncomment this so when we do make a private class, we don't forget ;)
2011-04-24 23:59:59 +02:00
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