Commit Graph

153 Commits

Author SHA1 Message Date
Marco Martin
282a18571b API review:
assContainment() is not a slot, and now there is a public version
without containment id and delayed init params (always assumed as 0 and
false in the public version) and a private version in Private with these
two params used only when restoring the configuration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801100
2008-04-25 17:15:14 +00:00
Aaron J. Seigo
902d57ffcd * simplify the public API for addApplet, move the more complex version to the pimpl
* move applet loading to Containmnet
* rename loadConstraints to loadContainment since it does constraints, applets, etc in one go

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800822
2008-04-24 22:18:07 +00:00
Marco Martin
a9d9dfea46 API reviews:
the protected slots containmentDestroyed(QObject*) and syncConfig()
are now private and in the private implementation

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800755
2008-04-24 19:46:07 +00:00
Marco Martin
3a295e1062 API reviews:
removing launchActivated() signal from Corona.
it was not used here, but still needed in Containment and Applet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800751
2008-04-24 19:29:28 +00:00
Marco Martin
8387f8651e API reviews:
loadApplets() and saveApplets() became loadLayout() and saveLayout()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800738
2008-04-24 19:04:15 +00:00
Marco Martin
f197c428b4 API reviews:
loadDefaultSetup() is now protected and renamed loadDefaultLayout()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800732
2008-04-24 18:36:39 +00:00
Marco Martin
7d057a2bc2 API review:
isImmutable(), setIsImmutable() and isKioskImmutable() of applet and
corona are merged in one property so they becamed
immutability() and setImmutability() using the new type
ImmutabilityType defined in plasma.h as:
NotImmutable: normal behaviour
UserImmutable: the user locked the desktop, can unlock it
SystemImmutable: the system locked the desktop and the user can't unlock
it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800724
2008-04-24 18:24:11 +00:00
Aaron J. Seigo
0fe77de70f when checking for custom containments, use >= now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800672
2008-04-24 16:16:50 +00:00
Marco Martin
2e695fa1ad API review:
removed maxSizeHint()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800654
2008-04-24 15:47:30 +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
Dmitry Suzdalev
c2b28413dd /me done another round of simple stuff renaming :)
(corresponding wiki items <s>-ed out)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797824
2008-04-16 21:15:38 +00:00
Alexis Ménard
4467261c95 Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
applets, 
please update to another revision to use the version that works

green flag from aaron


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Aaron J. Seigo
a76cce7919 SVN_SILENT: more random minor edits
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796307
2008-04-13 08:24:59 +00:00
Aaron J. Seigo
e2e0745748 still use the loaded id even when we fail to load the requested containment so that applets get their configuration still
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=795776
2008-04-11 11:54:59 +00:00
Aaron J. Seigo
b35c64adc6 remove all desktopy stuff from Plasma::Corona. irrelevant to non-desktop apps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789233
2008-03-23 17:39:28 +00:00
Chani Armitage
3a6c262665 fix the panel size loading
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788869
2008-03-22 18:56:59 +00:00
Aaron J. Seigo
863e0f7797 various fixes for xinerama and non-isContainment() containments (e.g. applets which are Containment subclasses)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786175
2008-03-16 07:20:42 +00:00
Aaron J. Seigo
fcbc0fc0b7 --deadCode;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785276
2008-03-13 17:15:14 +00:00
Aaron J. Seigo
eb0bf064ab instead of announcing new screens and not announcing new containments, announce new containments as well as screen affinity changes and let the host app worry about what to do from there
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784941
2008-03-12 20:41:03 +00:00
Aaron J. Seigo
ef5ce1b506 slightly less BOLD
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783028
2008-03-06 20:23:37 +00:00
Aaron J. Seigo
ff5d238e73 tile a background
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783023
2008-03-06 19:50:25 +00:00
Aaron J. Seigo
05a8c2c56c sprinkle with some custom containment; this code hadn't been adapted since the addition of custom
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782434
2008-03-05 05:56:43 +00:00
Aaron J. Seigo
8c1990f49b put the applet notification of immutability in the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780750
2008-02-29 22:17:55 +00:00
Sebastian Sauer
241f31a32a let the applets know about the updated ImmutableConstraint too.
ok?!
CC_MAIL:aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780735
2008-02-29 21:50:16 +00:00
Dan Meltzer
7f624f85d9 Revert one large git mess
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
64f0ce7739 Fix some problems aseigo pointed out in the code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780655
2008-02-29 17:43:35 +00:00
Dan Meltzer
a081559257 Commit initial progress of work to port to qt4.4
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +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
1637053a9b let the applet restore itself
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774338
2008-02-13 01:52:45 +00:00
Aaron J. Seigo
899202d2fb BIC Monday: slight change in the way we handle saving/loading of applets. it no longer sets the internal config name. makes importing/exporting snippets of applets easier, and it also prevents plasmoidviewer from clobbering plasma settings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773847
2008-02-11 21:43:09 +00:00
Bill Egert
9560513680 SVN_SILENT:
- Removed unused #includes.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771050
2008-02-05 03:48:07 +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
32c6c94c76 some kiosk/immutability logic fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758174
2008-01-07 04:00:39 +00:00
Aaron J. Seigo
5614923b50 applet sets the immutability properly, corona doen't need to do this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758165
2008-01-07 02:26:46 +00:00
Aaron J. Seigo
da34471e13 add a way for Containments to get notified that startup is indeed complete
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758066
2008-01-06 20:38:35 +00:00
Jason Stubbs
b5983aed50 Flush constraints in corona rather than containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757860
2008-01-06 07:17:53 +00:00
Jason Stubbs
91300d6fc9 s/SIGNAL/SLOT/ typo fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757552
2008-01-05 10:50:12 +00:00
Jason Stubbs
1e247fa749 Flush containment constraints as soon as they are loaded so that they can be
acted upon without having to wait for the event loop. This is needed so that
the desktop doesn't temporarily appear white when a wallpaper hasn't been
set.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757548
2008-01-05 10:35:32 +00:00
Aaron J. Seigo
8d909f6f0e listen to config save requests from containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757442
2008-01-04 23:14:06 +00:00
Jason Stubbs
ecbe57e4ea Remove the FIXME because it's already enabled and working correctly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756461
2008-01-03 09:45:25 +00:00
Jason Stubbs
092b7ff835 Ensure that applets are added to the panel in left to right (or top to bottom)
order as BoxLayout is not really capable of anything else. On the containment
side, ignore the specified geometry when delaying init as the placement
calculations can lead to slight mispositioning of applets even when received
in the correct order.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756435
2008-01-03 08:44:14 +00:00
Aaron J. Seigo
e3ff7be17d * do not reset the config file name when saveApplets is called with a specific file name
* don't delete applet config groups because nobody actually bothers to implement saveState (*grrrr*) but that's somewhat ok now as we destroy the group on applet destruction. this does mean that dragging applets between containments is probably broken now, but i'll fix that next
* don't recreate the config file on every saveApplets but use the existing shared config ptr whenever possible

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755635
2008-01-01 23:41:59 +00:00
Aaron J. Seigo
e12dbeb000 provide a way for applets to signal that they'd like their config saved out to disk, please.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755616
2008-01-01 22:44:56 +00:00
Aaron J. Seigo
f6bc2e893d pager after the tasks... more .. "natural" feeling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755519
2008-01-01 19:37:05 +00:00
Jason Stubbs
9cec9edf9c The order that applets are saved is currently important for the panel. If an
applet is removed from the panel and readded elsewhere, its position in the
config file currently doesn't change. To fix this, this patch clears out the
config group before rewriting it out.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754139
2007-12-29 05:24:45 +00:00
Alexis Ménard
6987d74f32 Un-comment the transform saving wich work perfectly in my case
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753889
2007-12-28 18:04:00 +00:00
Jason Stubbs
4aa76d859b Add the pager to the panel by default, placing it next to kickoff's button
somewhat similar to kde3

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752438
2007-12-24 12:56:28 +00:00
Aaron J. Seigo
50bd42b0e9 * initialize kioskImmutable so if loadApplets isn't used, we still get a sane value here
* remove addApplet, as it breaks the corona->containment->applet concept and leads to easily to subtle bugs (c.f. r750746)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750747
2007-12-19 23:59:59 +00:00