Commit Graph

2863 Commits

Author SHA1 Message Date
Aaron J. Seigo
3f7d35a61b fix up swapContainment a bit; it doesn't need to take the old containment, as we already know what that is, document with some comments, and make better use of save/restore and addApplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849912
2008-08-20 13:13:03 +00:00
Aaron J. Seigo
3687d22770 return to the term Activity as it will be one aspect of Context and that seems to confuse everyone who isn't me ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849911
2008-08-20 13:12:13 +00:00
Aaron J. Seigo
ab52f8c294 make save take a KConfigGroup by ref, like all the other save methods in the library
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849909
2008-08-20 13:11:01 +00:00
Aaron J. Seigo
71796f6bf3 save the wallpaper info when save() is called
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849901
2008-08-20 12:45:19 +00:00
Aaron J. Seigo
fae3b85557 * make init just take the KConfigGroup, make it protected
* introduce restore, which takes both the KConfigGroup and the mode to use and calls init; this is public and retains the save/restore symmetry seen elsewhere in the library

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849899
2008-08-20 12:44:39 +00:00
Ambroz Bizjak
b7e61e34c4 Fix a rare bug when a new applet handle is created before the previous one is
destroyed, causing the applet not to follow the handle when moved or fail to appear.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849828
2008-08-20 09:14:27 +00:00
Petri Damstén
bacc1d65d4 Add swapContainment function
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849802
2008-08-20 08:07:09 +00:00
Petri Damstén
0a2eb79e61 Wallpaper API changes:
- modes -> renderingModes
- remove modeName & modeIcon
- add config group to init for reading config
- add save for config saving

Update containment for api changes.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849801
2008-08-20 08:06:34 +00:00
Pino Toscano
3f368be2c1 initialize in the correct order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849708
2008-08-19 23:10:50 +00:00
Alex Merry
c8823d1900 Don't call constraintsUpdated() before init(), even if an event loop is created in an applet constructor.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849656
2008-08-19 21:36:52 +00:00
Alex Merry
8427acfc83 Better initialisation/destruction.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849654
2008-08-19 21:34:23 +00:00
Marco Martin
df487ae43c should behave a bit better when the pages are empty
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849643
2008-08-19 21:09:06 +00:00
Marco Martin
abdb0debb5 needsconfigoverlay is way nicer painted to contentsrect when the
standardbackground is on

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849618
2008-08-19 20:00:40 +00:00
Aaron J. Seigo
84007a813a save/restore containment context (activity)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849513
2008-08-19 17:50:35 +00:00
Aaron J. Seigo
03047048bc fixlette
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849502
2008-08-19 17:37:53 +00:00
Laurent Montel
1238968ebe Not necessary to make it executable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849178
2008-08-19 06:57:02 +00:00
Laurent Montel
88d1190767 Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849177
2008-08-19 06:56:11 +00:00
Marco Martin
14bb079e79 this size policy seems to behave way better
icons aren't scaled down when taskbar fills up
will backport to 4.1

BUG:164857

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848940
2008-08-18 18:49:04 +00:00
Marco Martin
23839efb30 translate the painter to draw in a less blurry way, this was getting way
too annoying...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848919
2008-08-18 17:57:37 +00:00
Aaron J. Seigo
46ef63168e allow applets to query for their context, update the context via a constraint (we're running out of them!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00
Aaron J. Seigo
a0a6acb5dc initial draft + stub class of the Context (aka Activity) class for Nepomuk integration and the exporting of workspace Contexts to the rest of the desktop as per disucssions at Akademy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848789
2008-08-18 13:20:15 +00:00
Aaron J. Seigo
35f8bbcc64 be careful with relative paths and symlinks in packages and themes; we don't want widgets referencing random files/resources, just stuff in the given package
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848476
2008-08-17 20:52:37 +00:00
Marco Martin
3a008feb23 revert a bit of stuff that wasn't supposed to be committed in the first
place

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848389
2008-08-17 15:34:46 +00:00
Script Kiddy
c0c3d98b67 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848302
2008-08-17 11:16:45 +00:00
Pino Toscano
895345d4fa slots -> Q_SLOTS
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848162
2008-08-17 07:20:39 +00:00
Pino Toscano
2c9a99df6a Qt includes in public header go in the form <QtModule/QClass>
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=847450
2008-08-15 12:16:18 +00:00
Marco Martin
9751d6c59d setcontainnsmultiple images when rendering a single sub element into the icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=847270
2008-08-15 07:59:07 +00:00
Script Kiddy
63130dbcf7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846988
2008-08-14 11:07:10 +00:00
Richard J. Moore
014c81a040 - Validate the plugin name of the package at install time to prevent the
injection of bad characters into the path when the package is removed.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846853
2008-08-14 09:03:24 +00:00
Laurent Montel
4271ebeba9 Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846780
2008-08-14 06:39:58 +00:00
Laurent Montel
46c8f7306b Fix pedentic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846662
2008-08-13 20:24:37 +00:00
Laurent Montel
655d71a588 Pedentic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846659
2008-08-13 20:21:06 +00:00
Marco Martin
f41d97dc54 add missing include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846537
2008-08-13 16:47:59 +00:00
Richard J. Moore
c8f517206a Add support for removing packages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846532
2008-08-13 16:40:31 +00:00
Marco Martin
76d6071e46 svg themed scrollbars:
scrollbar widget in libplasma
private qstyle that draws scrollbars with svg
folderview uses the scrollbar widget
textview scrollbars themed
 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846473
2008-08-13 14:47:27 +00:00
Davide Bettio
ab28f7685b void PopupApplet::hidePopup() -> slot void PopupApplet::hidePopup()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846472
2008-08-13 14:46:48 +00:00
Script Kiddy
d83e23b0e6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846356
2008-08-13 11:21:43 +00:00
Ambroz Bizjak
b91b722dc2 Fade applet handle back in if the mouse reenters the applet while it's already fading out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845999
2008-08-12 19:08:55 +00:00
Dirk Mueller
93a8a87368 stop crashing due to undefined destruction order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845983
2008-08-12 18:41:56 +00:00
Dirk Mueller
a79d6d5be2 make this at least somewhat work
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845980
2008-08-12 18:40:45 +00:00
Aaron J. Seigo
3461b97edc support enabling and disabling operations in services
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845852
2008-08-12 13:58:58 +00:00
Aaron J. Seigo
0e22094ff0 build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845850
2008-08-12 13:58:26 +00:00
Aaron J. Seigo
fe4c7f7a09 clarity in the api
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845846
2008-08-12 13:53:58 +00:00
Script Kiddy
e270818b87 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845762
2008-08-12 10:52:03 +00:00
Alex Merry
7bd180b8bb Catch a memory leak in Plasma::Frame, and make use of QObject parenting where possible.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845534
2008-08-11 23:26:13 +00:00
Alex Merry
1eecd3f819 Memory leak.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845526
2008-08-11 23:04:07 +00:00
Alex Merry
8f5f4d8294 Initialise variables (valgrind complained)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845467
2008-08-11 18:42:28 +00:00
Marco Martin
3e3b1450f9 hide the icon when we are in the desktop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845463
2008-08-11 18:15:37 +00:00
Marco Martin
5f27b7bb30 kill the handle when the applet is destroyed, so don't crash when locking
desktop

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845313
2008-08-11 13:16:46 +00:00
Rafael Fernández López
fa6480a137 Fix the problem that can be reproduced by:
- Scroll the applets view
- Search whatever
That will make the view completely unusable by hiding all titles and comments about applets.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=844943
2008-08-11 01:41:29 +00:00