Commit Graph

35 Commits

Author SHA1 Message Date
Aaron J. Seigo
28a014d6fe use the standard KPluginInfo stuff for this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858758
2008-09-08 16:55:05 +00:00
Alex Merry
61c4bc59b5 SVN_SILENT: looks neater
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851463
2008-08-23 17:44:14 +00:00
Aaron J. Seigo
63bce9d1b4 move all the prive code into private/; makes it much clearer with the division lines are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Dirk Mueller
754b000b42 also implement the plugin version checks for the other plugin types
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833940
2008-07-17 16:26:29 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
9165b11235 at tokamak i said i regretted using the term "Language" to describe what is really "API". i meant it.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802486
2008-04-29 16:24:14 +00:00
Aaron J. Seigo
13fcca652e move dataengine private details into the pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802279
2008-04-29 01:17:12 +00:00
Albert Astals Cid
4068f45cf9 const & in foreach
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Chani Armitage
afc9290365 dataenginemanager api review: (un)load()->(un)loadEngine()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800275
2008-04-23 20:04:53 +00:00
Chani Armitage
7d0f4af161 dataenginemanager api review: knownEngines()->listAllEngines()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800266
2008-04-23 19:37:42 +00:00
Chani Armitage
931d7b0d6c dataenginemanager api review: get()->engine()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800256
2008-04-23 19:05:47 +00:00
Aaron J. Seigo
a234d1b6c3 move the call to init() out of ctor and call it immediately after construction; that way the vtable can be set up and we'll get the virtual called in the subclass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782820
2008-03-06 05:18:36 +00:00
Aaron J. Seigo
7cf7109266 load* -> load .. simpler, less verbose API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779407
2008-02-26 01:58:55 +00:00
Aaron J. Seigo
507a6f02a0 rearrange the initialization code of the engines a bit, moving more out of the manager class, and calling init immediately. applets shouldn't be connecting to them in their ctor, so this should have minimal (or even zero) effect on start up while ensuring that init gets called first no matter what
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779042
2008-02-25 11:24:37 +00:00
Zack Rusin
bc5accafd2 Fix a crash on loading of not existing engines.
r=aseigo (r/207/)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778956
2008-02-25 01:19:07 +00:00
Petri Damstén
8a15088888 Scripting update.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770587
2008-02-04 04:41:40 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Aaron J. Seigo
8bcd5a7a04 use X-Plasma-EngineName isntead
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743045
2007-11-29 18:52:26 +00:00
Aaron J. Seigo
06465f6cb1 more deprecated api removal; kservice seems almost OO now ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717491
2007-09-26 23:06:17 +00:00
Aaron J. Seigo
bf30d19c41 improve error reporting when a plugin fails to load
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705985
2007-08-29 03:06:48 +00:00
Aaron J. Seigo
b34983f356 remove an unecessary include and a compile warning
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705980
2007-08-29 02:55:49 +00:00
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Aaron J. Seigo
ac918ad4bf kdebug fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +00:00
Juan González Aguilera
45f1406a2b Extend QObject so a QDbusAdaptor can be built for it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691122
2007-07-22 23:20:50 +00:00
Laurent Montel
95ebda9f32 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690626
2007-07-21 15:58:44 +00:00
Aaron J. Seigo
1e5cdae3ea - ensure we always return something from loadDataEngines
- m_engines -> engines since it is in the d ptr
- don't bother with the null engine in the engine dict and fix unloadEngine with that in mind


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686321
2007-07-11 03:08:57 +00:00
Aaron J. Seigo
58277a7608 plug a bunch of memory leaks
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672687
2007-06-07 20:57:18 +00:00
Aaron J. Seigo
452816cec8 don't re-use dataEngine in loadDataEngine so as to keep the api simple.
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670910
2007-06-02 22:57:55 +00:00
Aaron J. Seigo
591025b736 whoops; returning things is Good(tm)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670906
2007-06-02 22:39:23 +00:00
Aaron J. Seigo
2638b6031b * introduce a NullEngine
* return an instance of the NullEngine on engine loading failure; this way applets don't have to test for engine existence and can just assume something gets returned
* DataEngine::isValid() in case someone really cares to know whether they have a non-functional engine (e.g. the NullEngine)

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670900
2007-06-02 22:23:26 +00:00
Aaron J. Seigo
3d51733018 * more api documentation
* changes to reflect api movement

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668671
2007-05-27 08:01:31 +00:00
Aaron J. Seigo
14a1013a16 * we don't need our own Dict typedef here
* errorCode is no longer used
* get the debug output in line with similar msgs in plasma


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668017
2007-05-24 19:57:31 +00:00
Matt Williams
5d1eb7f460 Add missing d-pointers
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668014
2007-05-24 19:36:05 +00:00
Aaron J. Seigo
19169e84ea * move DataEngineManager into libplasma and the Plasma namespace
* add CamelCaseIncludes for DataSource and DataEngineManager

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667603
2007-05-23 07:51:28 +00:00