Simon Edwards
2b932160e6
Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Simon Edwards
90de22f3ca
If think the data engine code is actually interested in DataEngineComponents and not runners.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874280
2008-10-21 06:40:12 +00:00
Allen Winter
a7aebfa60a
a bunch more coding style fixes. still some lines longer than 100 chars.
...
this is definitely helping me find false positives in the Krazy style checker.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Aaron J. Seigo
4a63440530
when manually adding sources ... connect them to the engine!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869754
2008-10-09 23:23:30 +00:00
Aaron J. Seigo
02ba0e68a1
delete the script before the package!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864836
2008-09-25 16:27:49 +00:00
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
Aaron J. Seigo
456e81518e
* update the source (if appropriate) when query is called
...
* use the source name for the destination of NullService; handy in debugging
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856772
2008-09-03 18:52:23 +00:00
Aaron J. Seigo
3d6b183011
try to keep updateSourcEvents to a minimum by only triggering an immediate update from the SignalRelay object if it is not the first visualization connected to the source
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852899
2008-08-26 20:37:53 +00:00
Alex Merry
9293cbaba6
memory leak--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
2008-08-23 17:42:36 +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
Aaron J. Seigo
9be8bbb87b
queue an update when a source is added directly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838926
2008-07-29 03:26:23 +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
5f3493654f
first draft of Service; still evaluating the use of KConfigSkeleton
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809020
2008-05-18 04:27:54 +00:00
Aaron J. Seigo
7c2bd78598
always set the engine name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806583
2008-05-11 19:19:54 +00:00
Dan Meltzer
f57cc1c623
Lotsa little ebn fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805672
2008-05-09 05:32:15 +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
Aaron J. Seigo
9a156375a3
SVN_SILENT: a bit more useful debug in places
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802271
2008-04-29 00:15:26 +00:00
Anne-Marie Mahfouf
0b12fc3a5e
API review: sourceRequested() -> sourceRequestEvent()
...
updateSource() -> updateSourceEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801373
2008-04-26 12:59:44 +00:00
Alexis Ménard
2b235d2906
+hasUpdates()->pimpl ok
...
+setNeedsUpdate()->protected used in dataengine line 306
+checkUsage()->protected used in dataengine line 293
protected or pimpl/modification in dataengine too?
CCMAIL : ervin@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801168
2008-04-25 20:33:46 +00:00
Aaron J. Seigo
47ce519fde
sourceLimit -> maxSourceCount
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801062
2008-04-25 15:52:13 +00:00
Aaron J. Seigo
9250bd82b4
put sourceLimit back in, add an accessor as well. used by akonadi
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800769
2008-04-24 20:16:21 +00:00
Aaron J. Seigo
52c81b0a5a
make visualizationIsConnected work better
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800763
2008-04-24 20:09:57 +00:00
Anne-Marie Mahfouf
70985897bb
API review: DataContainer SIGNAL requestUpdate()->updateRequested()
...
Not used anywhere outside libs/plasma, not used in /extragear/plasma or /playground/base/plasma
Same case as SIGNAL unused()->becameUnused() as Kévin noted, can be moved to pimpl of DataContainer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800587
2008-04-24 13:09:21 +00:00
Anne-Marie Mahfouf
50269beb15
API review: DataContainer SIGNAL unused()->becameUnused()
...
none in extragear/plasma or in playground/base/plasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800574
2008-04-24 12:22:40 +00:00
Anne-Marie Mahfouf
75ba09738f
API review: DataContainer clearData()->removeAllData()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800558
2008-04-24 11:56:32 +00:00
Anne-Marie Mahfouf
fb85325fe6
API review: remove setSourceLimit()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800552
2008-04-24 11:46:06 +00:00
Anne-Marie Mahfouf
7b8547aed8
API review: checkForUpdates() -> scheduleSourcesUpdated()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800453
2008-04-24 10:07:34 +00:00
Anne-Marie Mahfouf
5492b75e95
API review: clearData() -> removeAllData()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800422
2008-04-24 08:10:30 +00:00
Anne-Marie Mahfouf
72ef8e764b
API review updateSource() -> updateSourceEvent()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800417
2008-04-24 08:01:18 +00:00
Anne-Marie Mahfouf
5499de3b0c
API revew sourceRequested() -> sourceRequestEvent()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800401
2008-04-24 07:32:46 +00:00
Anne-Marie Mahfouf
b11be618b0
API review SIGNAL newSource() -> sourceAdded()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800395
2008-04-24 07:15:26 +00:00
Anne-Marie Mahfouf
e435c15f14
API review clearSources() -> removeAllSources()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800387
2008-04-24 06:38:14 +00:00
Aaron J. Seigo
7d1d889a47
* add a way to query if a visualization is already connected to a source
...
* don't do an immediate call using invokeMethod if the visualization is already connected and we're just adjusting it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800383
2008-04-24 05:58:59 +00:00
Chani Armitage
e850a93871
dataengine api review: %s/UpdateInterval/PollingInterval/g
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800376
2008-04-24 02:21:22 +00:00
Chani Armitage
563d3ab294
dataengine api review: engineName() -> name() + add protected setName()
...
I also added a default value for the name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800336
2008-04-23 22:40:03 +00:00
Anne-Marie Mahfouf
276c7aaa66
API review sourceDict() -> containerDict()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800274
2008-04-23 19:57:20 +00:00
Aaron J. Seigo
f2fe39b435
scripting fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796423
2008-04-13 15:01:46 +00:00
Aaron J. Seigo
e088dc1348
* don't emit sourceAdded until the data has been set on a new source
...
* remove removed items from the rate limit queue as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789225
2008-03-23 17:03:49 +00:00
Dmitry Suzdalev
00da2bec77
Emit sourceRemoved after it was actually removed, not before
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788602
2008-03-21 22:35:53 +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
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
Petri Damstén
8a15088888
Scripting update.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770587
2008-02-04 04:41:40 +00:00
Chani Armitage
17ddc75c3a
fix bug where one signalrelay requests an update right after another and gets nothing
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764821
2008-01-22 17:03:34 +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
364b0dca90
minor cleanups and better use of convenience api's
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738770
2007-11-19 16:37:46 +00:00
Aaron J. Seigo
b4bcccace7
durrrrrrrrrrrrrrrr
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738149
2007-11-18 02:39:37 +00:00
Aaron J. Seigo
bf7580d942
DataEngine::isEmpty() for shawn
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738136
2007-11-18 01:32:11 +00:00
Aaron J. Seigo
44297aaddb
this can, and should, return 0 if it doesn't exist. this isn't a create-on-demand method.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736897
2007-11-15 06:32:54 +00:00