Commit Graph

6806 Commits

Author SHA1 Message Date
Beat Wolf
be9c4e9781 allow null values for dataengines as sugested by aseigo.
BUG:237760

svn path=/trunk/KDE/kdelibs/; revision=1128225
2010-05-18 18:22:13 +00:00
Aaron J. Seigo
404241f348 move this non-exported class to the private header
svn path=/trunk/KDE/kdelibs/; revision=1128221
2010-05-18 18:04:51 +00:00
Marco Martin
f26246c731 -groups of groups are always themselves, this fixes extender::groups()
-extra check a group is actually an extendergroup type

svn path=/trunk/KDE/kdelibs/; revision=1128074
2010-05-18 09:28:06 +00:00
Marco Martin
aca321d765 ensure the groups() list doesn't contain null pointer (could fix some bugs, but tendds to generate backtraces not directly obvious)
svn path=/trunk/KDE/kdelibs/; revision=1127890
2010-05-17 22:18:12 +00:00
Marco Martin
325d6a7c67 e weakpointers for the animated pages: avoids crashes when a tab gets removed and immeadiately added another one (happens when switching activity type for instance)
svn path=/trunk/KDE/kdelibs/; revision=1127865
2010-05-17 20:46:35 +00:00
Marco Martin
610b3c85df store the under mouse value, avoids a sync cursor position call
svn path=/trunk/KDE/kdelibs/; revision=1127792
2010-05-17 16:35:27 +00:00
Artur Duque de Souza
d6c0119d69 Reset the angle of an applet when moved to a panel
This way, applets that were rotated in Plasma::Planar are not
rotated anymore when moved to form factor Plasma::Horizontal ||
Plasma::Vertical.

BUG:237861

svn path=/trunk/KDE/kdelibs/; revision=1127712
2010-05-17 12:40:37 +00:00
Marco Martin
bf5beef483 try to avoid managing eventfilter on delete objects
svn path=/trunk/KDE/kdelibs/; revision=1127690
2010-05-17 10:44:34 +00:00
Script Kiddy
f61acfa498 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1127622
2010-05-17 07:24:35 +00:00
Marco Martin
2f05f2c3fc get rid of the old animation code and use focusindicator
old themes will have it without animations, but is fine since other widgets are still not animated and the old one was beyond repair
also, get rid of two private slots thankfully added just for 4.5
BUG:235069

svn path=/trunk/KDE/kdelibs/; revision=1126744
2010-05-14 19:18:05 +00:00
Marco Martin
f8adc81da3 don't initialize to hover
svn path=/trunk/KDE/kdelibs/; revision=1126735
2010-05-14 18:34:33 +00:00
Shaun Reich
a5da2705a9 introduce setDefaultService(serviceName) and createDefaultService(QObject*). allows the dataengine (inheritor) to specify which service should probably be used. so applet users don't have to know those things if it's just 1
svn path=/trunk/KDE/kdelibs/; revision=1126712
2010-05-14 17:41:40 +00:00
Aaron J. Seigo
bdf9ddee65 split out the loadLayout into a load and an import. works well for importing the default layout, next to test it out against exported layouts to ensure the merging does indeed work
svn path=/trunk/KDE/kdelibs/; revision=1126706
2010-05-14 17:00:54 +00:00
Marco Martin
0a4a525237 don't use anymore that pushbutton prefix nonsense
svn path=/trunk/KDE/kdelibs/; revision=1126667
2010-05-14 15:36:19 +00:00
Marco Martin
a27ffd0e97 use pushbutton prefix if available
svn path=/trunk/KDE/kdelibs/; revision=1126613
2010-05-14 13:26:52 +00:00
Marco Martin
1bbbe5f173 use focusindicator to do button shadows too (perfectly retrocompatible by the way).
this makes buttons be correctly aligned in layouts

svn path=/trunk/KDE/kdelibs/; revision=1126591
2010-05-14 12:45:54 +00:00
Marco Martin
72931328b8 some positioning fixes that were sitting here since a while
svn path=/trunk/KDE/kdelibs/; revision=1126590
2010-05-14 12:44:46 +00:00
Aaron J. Seigo
5247459859 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1126401
2010-05-13 21:48:13 +00:00
Chani Armitage
5d68a5bc56 don't save containment stuff if you're not a containment
svn path=/trunk/KDE/kdelibs/; revision=1126393
2010-05-13 21:40:02 +00:00
Chani Armitage
67180894e9 write the activity ID on save.
svn path=/trunk/KDE/kdelibs/; revision=1126391
2010-05-13 21:39:45 +00:00
Marco Martin
f46ac96bb1 set the accepting input status only if it's unknown
svn path=/trunk/KDE/kdelibs/; revision=1126385
2010-05-13 21:28:55 +00:00
Marco Martin
e1c03d3ef8 by default, set expanded popupapplets to accept input, this covers most of the "panel must have focus" needs
BUG:177674

svn path=/trunk/KDE/kdelibs/; revision=1126373
2010-05-13 21:10:59 +00:00
Marco Martin
a918cc5af7 check if d->frames is empty
BUG:235851

svn path=/trunk/KDE/kdelibs/; revision=1126216
2010-05-13 10:08:44 +00:00
Aaron J. Seigo
cb6d3b581a hook up AppletScript to the JS anims
svn path=/trunk/KDE/kdelibs/; revision=1126035
2010-05-13 00:47:24 +00:00
Aaron J. Seigo
eb8e81e27c make it possible to prefix anims
svn path=/trunk/KDE/kdelibs/; revision=1126034
2010-05-13 00:52:36 +00:00
Aaron J. Seigo
ae9656bb59 add animations to the package
svn path=/trunk/KDE/kdelibs/; revision=1126033
2010-05-13 00:51:43 +00:00
Aaron J. Seigo
e5ffc3ce8a make it const
svn path=/trunk/KDE/kdelibs/; revision=1126032
2010-05-13 00:51:22 +00:00
Aaron J. Seigo
57b809f29e allow for args to be passed to the service plugin
svn path=/trunk/KDE/kdelibs/; revision=1126018
2010-05-12 23:30:10 +00:00
Marco Martin
515249e7f4 suicide when the containment changes
BUG:237355

svn path=/trunk/KDE/kdelibs/; revision=1125948
2010-05-12 19:03:28 +00:00
Fredrik Höglund
309ae1dc84 Move these classes into the Plasma namespace.
svn path=/trunk/KDE/kdelibs/; revision=1125931
2010-05-12 17:47:52 +00:00
Aaron J. Seigo
e96539da54 don't ignore the window flags passed in to the ctor
svn path=/trunk/KDE/kdelibs/; revision=1125895
2010-05-12 16:17:51 +00:00
Aaron J. Seigo
6c5f292e2f we're not checking the value, use a static_cast
svn path=/trunk/KDE/kdelibs/; revision=1125894
2010-05-12 16:17:33 +00:00
Marco Martin
4ab87220a3 try to be more strict when the policy is fixed:
the minimum and the preferred size are the same (i.e. avoid to cut away text, always)

svn path=/trunk/KDE/kdelibs/; revision=1125673
2010-05-11 22:06:17 +00:00
Marco Martin
fe9e96f8bf reset the old icon when a mouseover occurs
svn path=/trunk/KDE/kdelibs/; revision=1125592
2010-05-11 19:43:19 +00:00
Chani Armitage
ffc6ae289e API change: instead of Containment having activityId functions, it just
exposes the whole Context*.
The activity functions have to be left in for BC, and they still work as
they did before.

svn path=/trunk/KDE/kdelibs/; revision=1125570
2010-05-11 19:02:24 +00:00
Sebastian Kügler
4e07d87284 Support for Plasma::Theme-themed stylesheets
This new API returns a stylesheet in Plasma theme colors and
can be used for hybrid widgets

svn path=/trunk/KDE/kdelibs/; revision=1125362
2010-05-11 08:23:41 +00:00
Aaron J. Seigo
79d8b41bda adjustSize is not a slot, so create a private slot and use that as a relay
svn path=/trunk/KDE/kdelibs/; revision=1125281
2010-05-11 07:20:46 +00:00
Aaron J. Seigo
cd1cb881b9 SVN_SILENT: tidy ups
svn path=/trunk/KDE/kdelibs/; revision=1125280
2010-05-11 07:14:54 +00:00
Aaron J. Seigo
d1263e7096 don't set the size policy to be fixed
BUG:181241

svn path=/trunk/KDE/kdelibs/; revision=1125260
2010-05-11 04:02:00 +00:00
Aaron J. Seigo
a6991a8417 SVI_SILENT: cleanup
svn path=/trunk/KDE/kdelibs/; revision=1125259
2010-05-11 03:51:22 +00:00
Chani Armitage
d7cb3019dc forgot @since
svn path=/trunk/KDE/kdelibs/; revision=1125201
2010-05-10 23:11:21 +00:00
Kevin Ottens
c06bea502c More prep work for a KIO-less libplasma.
svn path=/trunk/KDE/kdelibs/; revision=1125086
2010-05-10 16:50:15 +00:00
Sebastian Trueg
c62e5ceca5 Added some basic documentation for a method which is impossible to understand without looking at code examples. Please, please, Plasma team, document your API!
svn path=/trunk/KDE/kdelibs/; revision=1125046
2010-05-10 15:26:33 +00:00
Kevin Ottens
1334744175 KIO::NetAccess code proves the call to mostLocalUrl was useless (if
url.isLocalFile(), this method just return the url parameter as is).

svn path=/trunk/KDE/kdelibs/; revision=1125021
2010-05-10 14:39:54 +00:00
Chani Armitage
a18d89b4d2 add activity ID to containment & context
svn path=/trunk/KDE/kdelibs/; revision=1124740
2010-05-10 01:43:06 +00:00
Marco Martin
20d58299b2 handle keypresses (but don't steal them)
is the last thing that was missing from kineticscrolling

svn path=/trunk/KDE/kdelibs/; revision=1124609
2010-05-09 16:57:05 +00:00
Stephan Binner
5ddac55dcc SVN_SILENT i18n style guide fixes
svn path=/trunk/KDE/kdelibs/; revision=1124547
2010-05-09 11:03:13 +00:00
Aaron J. Seigo
19a9d2f4f6 put menus nearer the menu if they are positioned awkwardly
svn path=/trunk/KDE/kdelibs/; revision=1124355
2010-05-08 23:17:17 +00:00
Aaron J. Seigo
64238f5f7e remove this old and now not only uneeded but bug-causing hack
BUG:234825

svn path=/trunk/KDE/kdelibs/; revision=1124340
2010-05-08 22:16:21 +00:00
Aaron J. Seigo
af942eaf1d this is a repeatable action
svn path=/trunk/KDE/kdelibs/; revision=1124339
2010-05-08 22:13:42 +00:00