Commit Graph

28 Commits

Author SHA1 Message Date
Aaron Seigo
97a13a9dbe make DataEngineConsumer public API
this will become the prefered way to access DataEngines rather than
DataEngineManager which exposes implementation details that need to
be manually managed
2012-09-24 15:52:16 +02:00
Nicolas Lécureuil
d50d3a3162 Convert to makedefine01 2012-08-24 03:16:04 +02:00
Jignesh Kakadiya
362a0a9372 KGlobal::mainComponent().componentName() should be replaced with QCoreApplication::instance()->applicationName() 2012-06-18 13:11:26 +05:30
David Faure
ffdf930f8c Ran kdesdk/scripts/kf5/convert-kstandarddirs.pl 2012-06-12 12:59:34 +02:00
Claus Christensen
658fad620a Replaced KGlobal::config() by KSharedConfig::openConfig()
Remodified:   kded/kdedadaptor.cpp
2012-03-24 19:33:54 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
David Faure
108536cb93 Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
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