Commit Graph

6014 Commits

Author SHA1 Message Date
Aaron J. Seigo
fe70333098 never has been needed
svn path=/trunk/KDE/kdelibs/; revision=1128636
2010-05-19 20:02:31 +00:00
Aaron J. Seigo
7c64c65251 ensure we don't multiply connect
svn path=/trunk/KDE/kdelibs/; revision=1128635
2010-05-19 20:02:10 +00:00
Jacopo De Simoi
14ebf05e43 Saturates the relevance boost given to already run matches;
this avoids very commonly selected matches (e.g. konsole) to beat any other match even if the latter is in principle more relevant

svn path=/trunk/KDE/kdelibs/; revision=1128445
2010-05-19 09:51:21 +00:00
Aaron J. Seigo
e3eda3ab65 increase the delay a bit; with more runners happening, this makes it all a littl less jerky; we need a better way to change this dynamically
svn path=/trunk/KDE/kdelibs/; revision=1128369
2010-05-19 04:22:18 +00:00
Chani Armitage
3a10a5c507 added lastScreen and lastDesktop, to remember where things belong
svn path=/trunk/KDE/kdelibs/; revision=1128358
2010-05-19 02:43:07 +00:00
Aaron J. Seigo
58ae4b444f don't show private classes
svn path=/trunk/KDE/kdelibs/; revision=1128260
2010-05-18 20:13:26 +00:00
Marco Martin
3aee2db14e make extender::groups() work without assigning groups to themselves
svn path=/trunk/KDE/kdelibs/; revision=1128236
2010-05-18 18:55:00 +00:00
Marco Martin
6eade776e2 correctly disable glow on focus out
svn path=/trunk/KDE/kdelibs/; revision=1128229
2010-05-18 18:32:18 +00:00
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