Commit Graph

1879 Commits

Author SHA1 Message Date
Marco Martin
6a02406401 API review:
isKioskImmutable is protected now.
also added a TODO an why it can't be removed for now

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800630
2008-04-24 14:53:41 +00:00
Marco Martin
06f5b7bc72 API review:
remove IsKioskImmutable() from the public api

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800623
2008-04-24 14:32:47 +00:00
Marco Martin
34d3cbcee0 API review:
removed constructors with size parameters

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800596
2008-04-24 13:38:24 +00:00
Anne-Marie Mahfouf
5637be62e7 API review: connectVisualization() is not a slot.
[note: I have checked that indeed it's not called as a slot in kdebase, /extragear/plasma or playground/base/plasma]

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800593
2008-04-24 13:28:23 +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
Richard Dale
18485b8659 * Remove the Plasma::Theme::setApplication() declaration from the header now it's gone from the source
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800577
2008-04-24 12:27:24 +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
Ivan Čukić
f5cbc92833 Updated the list of authors according to the results of grep command
(scanned for - grep 'Copyright' -R *)

Appended names are ordered alphabetically.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800418
2008-04-24 08:04:34 +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
4f968e0195 API review setIcon() protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800392
2008-04-24 07:04:03 +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
Dan Meltzer
f24d1efa28 Plasma::WebContent::geometry should return a qrectf, not a qsizef
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800379
2008-04-24 02:56:48 +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
Aaron J. Seigo
29e32dd145 * compositingActive -> windowTranslucencyEnabled
* slots -> Q_PRIVATE_SLOT

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800343
2008-04-23 22:55:30 +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
Aaron J. Seigo
d28a4c277a consolidate color and font methods into one method for each with a role enumeration
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800334
2008-04-23 22:36:00 +00:00
Aaron J. Seigo
7f09f15378 * get rid of setApplication, use the component data instead
* don't keep opening the shared config; do it just once
* avoid copying the KConfigGroup object all the time

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800331
2008-04-23 22:24:07 +00:00
Alex Merry
0f53feb8af warning--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800327
2008-04-23 22:11:22 +00:00
Chani Armitage
0f876831b1 dataengine api review: ref() & deref() & isUsed() -> private
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800316
2008-04-23 21:55:54 +00:00
Chani Armitage
8c99adfc51 dataenginemanager api review: ctor+dtor private
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800299
2008-04-23 20:58:15 +00:00
Aaron J. Seigo
c087260537 use resizePanel instead of resize
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800287
2008-04-23 20:42:10 +00:00
Aaron J. Seigo
753e669ab8 prefer it not to expand. next: ovular crease rather than semicircular?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800284
2008-04-23 20:38:41 +00:00
Aaron J. Seigo
2e71b7a700 * clear() the panels list after deleting the items (fixes crash)
* resize -> resizePanel ... resolves a semantically annoying ambiguity now that it subclasses Svg
* don't use the [] accessor more than necessary
* slightly clearer code in places


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800283
2008-04-23 20:38:09 +00:00
Marco Martin
710be86ffd pi changes:
raise() is now a slot, a new lower() slot was added

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800280
2008-04-23 20:27:44 +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
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
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
Anne-Marie Mahfouf
970e72245c API review
more SIGNAL changed() -> themeChanged()
thanks Alexis for your vigilance!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800244
2008-04-23 18:35:03 +00:00
Aaron J. Seigo
d52b839cf9 we need to signal a repain on borders changing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800186
2008-04-23 16:18:45 +00:00
Marco Martin
d0ba4e77ec Api change:
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent)  and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
2008-04-23 13:07:41 +00:00
Anne-Marie Mahfouf
273c045f2d fix typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800068
2008-04-23 08:38:53 +00:00
Anne-Marie Mahfouf
dcdb7b8f9a API review signal changed() -> themeChanged()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800067
2008-04-23 08:35:35 +00:00
Aaron J. Seigo
19b4f6c71f avoid infinite recursion
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800035
2008-04-23 04:50:44 +00:00
Anne-Marie Mahfouf
36bc2c4e97 Plasma::Theme::self() -> Plasma::Theme::defaultTheme() as planned during the sprint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799919
2008-04-22 21:10:14 +00:00
Aaron J. Seigo
f1aba49d18 only save to the config file if we are the default theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799909
2008-04-22 20:27:56 +00:00
Marco Martin
203fda098d PanelSvg now is a subclass of Plasma::Svg so it doesn't use anymore an internal istance of Plasma::Svg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799908
2008-04-22 20:25:28 +00:00
Aaron J. Seigo
868a4107a3 move getting the size for the subelement first before creating the cache id.
also remove all the SVG_CACHE_BUGFIX. it wasn't getting used and was making the code a lot uglier.

if someone wants to attempt to have the cache store transform-neutral renderings, they can have another crack it and do it so that ifdef's aren't necessary.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799600
2008-04-21 23:00:58 +00:00
Malcolm Hunter
8e9dd61541 Typo fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799557
2008-04-21 21:20:03 +00:00
Aaron J. Seigo
92a2bb701e avoid painting empty pixmaps.
BUG:161122

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799536
2008-04-21 19:32:26 +00:00
Petri Damstén
77e66bc8fb Convert Meter and SignalPlotter to QGraphicsWidget based widgets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Marco Martin
85a1f0e516 use a separate cache for each elementPrefix, this will speed up
rendering a lot if prefixes are switched very often. this will make
possible for instance to render the background of taskbar items with a
PanelSvg.
This behaviour is disabled by default, you can enable/disable it with
setCacheAllRenderedPanels(bool), get with cacheAllRenderedPanels() and
erase the entire cache with clearCache()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799411
2008-04-21 14:01:46 +00:00
Marco Martin
b175042a04 - boundingRect() now is pure virtual in Toolbox class
- correctly places the toolbox in vertical panels

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799135
2008-04-20 14:23:37 +00:00