Commit Graph

6657 Commits

Author SHA1 Message Date
Aaron J. Seigo
c3c211f374 addurl into the scripting
svn path=/trunk/KDE/kdelibs/; revision=1217115
2011-01-25 20:41:50 +00:00
Marco Martin
c158ebbaa4 realign the widget if it's resized
svn path=/trunk/KDE/kdelibs/; revision=1216378
2011-01-22 22:13:42 +00:00
Marco Martin
dcd645696b immediately hide the focusindicator if the theme follows native style
svn path=/trunk/KDE/kdelibs/; revision=1216376
2011-01-22 22:02:23 +00:00
Marco Martin
312bdcf909 if the theme wants to paint with the system style just let the proxy paint
svn path=/trunk/KDE/kdelibs/; revision=1216324
2011-01-22 17:55:14 +00:00
Marco Martin
0ac2c5b81f if the theme wants to use the system style, disable completely any focusindicator
svn path=/trunk/KDE/kdelibs/; revision=1216322
2011-01-22 17:49:46 +00:00
Marco Martin
ade5dd1ae7 revert behavioural change in framesvg, repaint glithches--
svn path=/trunk/KDE/kdelibs/; revision=1216286
2011-01-22 13:05:34 +00:00
Marco Martin
ef683f5eac if the second QRect paramenter of paintFrame is empty, take the whole pixmap rect: this is what was supposed to happen in the first place
svn path=/trunk/KDE/kdelibs/; revision=1216114
2011-01-21 13:18:00 +00:00
Sinny Kumari
30b570357f Make wallpaper capable of setting particular Image
http://svn.reviewboard.kde.org/r/6375/

svn path=/trunk/KDE/kdelibs/; revision=1216005
2011-01-20 19:50:11 +00:00
Marco Martin
becf979cf4 don't actually delete the frame: we want to discard the pixmap, but not the frame size or the enabledborders
svn path=/trunk/KDE/kdelibs/; revision=1215933
2011-01-20 11:23:56 +00:00
Marco Martin
7a1835cf01 check if the efect is active in the effectwatcher ctor, this avoids an useless themechanged signal, that among other things clears framesvg cache, forgetting the size of the other prefixes, that's why the pager was looking corrupted
This problem asn't in branch since effectwatcher is only in trunk

svn path=/trunk/KDE/kdelibs/; revision=1215920
2011-01-20 09:41:10 +00:00
Script Kiddy
9d98ff105b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1215894
2011-01-20 06:12:54 +00:00
Marco Martin
e0815d83a6 discard the cache when the blur behind changes
svn path=/trunk/KDE/kdelibs/; revision=1215741
2011-01-19 13:50:58 +00:00
Script Kiddy
e33f5ea828 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1215657
2011-01-19 06:34:21 +00:00
Shaun Reich
9fdfb1d03d ++pluginloader docs to prevent any issues like I ran into. rrix needs a whitespace-less editor ;)
svn path=/trunk/KDE/kdelibs/; revision=1215538
2011-01-19 00:33:01 +00:00
Aaron J. Seigo
a897a641df connect to the svg's signal, not the theme's. this ensures the svg is ready for us when we check it
svn path=/trunk/KDE/kdelibs/; revision=1215513
2011-01-18 23:04:07 +00:00
Marco Martin
fc8f66f498 with a new singleshot don't adjust the extender size due to a sub widget resize until the next turn of the eventloop: avoids container that resizes the ontent that resizes the container loops
svn path=/trunk/KDE/kdelibs/; revision=1215443
2011-01-18 19:03:33 +00:00
Aaron J. Seigo
ef64072b4a remove the item pointer from all collections when it is deleted as it is also added to all of them when first added
BUG:263565

svn path=/trunk/KDE/kdelibs/; revision=1215440
2011-01-18 18:59:27 +00:00
Aaron J. Seigo
75a0733210 QString is not thread-safe; since the matches get shuttled around between threads, we need to protect access to it. as writing is rare, this should hopefully not degrade performance too much. if it passes testing, then i will backport this.
CCBUG:238556
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1214926
2011-01-16 21:46:55 +00:00
Marco Martin
091d781dc5 * don't reset the watched properties: it breks kwin
* check for the blur property only on PropertyNotify and if is on the property we actually want

svn path=/trunk/KDE/kdelibs/; revision=1214853
2011-01-16 17:25:28 +00:00
Christian Ehrlicher
543168555b Compile on non-X11 systems...
svn path=/trunk/KDE/kdelibs/; revision=1214795
2011-01-16 12:20:20 +00:00
Script Kiddy
a6dc2ba624 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1214745
2011-01-16 05:46:29 +00:00
Aaron J. Seigo
d9a154e84a thanks to André Wöbbeking for reminding me that qFuzzyCompare doesn't like zero
svn path=/trunk/KDE/kdelibs/; revision=1214646
2011-01-15 19:05:03 +00:00
Marco Martin
9f5fdb1385 disable the effect watcher since it seems to have issues
svn path=/trunk/KDE/kdelibs/; revision=1214635
2011-01-15 17:55:06 +00:00
Marco Martin
7df2e103c5 a new private class EffectWatcher, used to be signaled when a particular KWin effect is enabled/disabled.
in future could become public but only after has been proved is really correct

svn path=/trunk/KDE/kdelibs/; revision=1214633
2011-01-15 17:51:55 +00:00
Script Kiddy
20b98d1bef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1214526
2011-01-15 05:49:44 +00:00
Aaron J. Seigo
ce0885ccf3 amount of 0 should be a no-op; fast and more accurate results
BUG:263179

svn path=/trunk/KDE/kdelibs/; revision=1214508
2011-01-15 01:07:01 +00:00
Marco Martin
007aeb35fb if an extenderItem is moved before the delayoued insertin has been made, remove it from the pending queue
svn path=/trunk/KDE/kdelibs/; revision=1214453
2011-01-14 16:33:32 +00:00
Patrick Spendrin
c16bfacb7b forward port r1214358
svn path=/trunk/KDE/kdelibs/; revision=1214362
2011-01-14 11:23:22 +00:00
Script Kiddy
904ad74970 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1214317
2011-01-14 06:01:34 +00:00
Marco Martin
8e152270ce set a custom geometry also in init, not only when the size doesn't change, because it can happen that the size will never change (so the focusindicator staying at the wrong size)
svn path=/trunk/KDE/kdelibs/; revision=1214258
2011-01-13 20:00:33 +00:00
Aaron J. Seigo
e3ab2c5924 * test the prefix equiv at the right place
* prevent unecessary calls on setCustomGeometry by comparing the new and existing geom

svn path=/trunk/KDE/kdelibs/; revision=1214252
2011-01-13 19:49:27 +00:00
Aaron J. Seigo
fd0ad0eda2 don't do a bunch of updates if the prefix remains the same
BUG:263049

svn path=/trunk/KDE/kdelibs/; revision=1214249
2011-01-13 19:35:01 +00:00
Aaron J. Seigo
cd4e26f59f FEATURE: configurable default containment plugin name
svn path=/trunk/KDE/kdelibs/; revision=1213879
2011-01-12 00:05:13 +00:00
Aaron J. Seigo
3af6a91dd7 * give Corona a proper private header in private/
* don't create the shortcuts dialog until it is actually needed
* unify the handling of the action collections with a list of smart pointers

svn path=/trunk/KDE/kdelibs/; revision=1213847
2011-01-11 20:45:24 +00:00
Marco Martin
d41c2a2b54 set corona stickyFocus property to true.
This means that clicking on an inactive widget doesn't reset the focus, done for 2 reasons:
* consistence: same behaviour as QWidgets and top level windows
* bugfix: the plasmaboard on screen keyboard now can send input to desktop widgets 


svn path=/trunk/KDE/kdelibs/; revision=1213727
2011-01-11 12:14:16 +00:00
Script Kiddy
9494527c60 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1213673
2011-01-11 09:13:33 +00:00
Aaron J. Seigo
425b474390 the dptr will be deleted before ~QObject is run, so first disconnect
the QAction (if any) in the dptr dtor so that when the QAction is deleted,
we don't end up calling into a deleted object
BUG:262813

svn path=/trunk/KDE/kdelibs/; revision=1213630
2011-01-11 02:55:55 +00:00
Marco Martin
71d8ad6a41 * Don't pass the event to the applet superclass if it has already been accepted
* in the paste plugin, accept mouse press events
BUG:262650

svn path=/trunk/KDE/kdelibs/; revision=1213457
2011-01-10 12:37:04 +00:00
Marco Martin
faa7b0abd1 just check for icon existence, no matter if it has a qicon or a svg set
fixes popup/complete switch when the panel gets resized

svn path=/trunk/KDE/kdelibs/; revision=1212674
2011-01-07 22:02:36 +00:00
Marco Martin
a757529178 update the size when an item in a grup wants to be resized
svn path=/trunk/KDE/kdelibs/; revision=1212619
2011-01-07 17:46:17 +00:00
Marco Martin
393d207aca use an ulong to cast this, should be at the same size as pointer on both 32 and 64 bit systems
svn path=/trunk/KDE/kdelibs/; revision=1212577
2011-01-07 13:53:43 +00:00
Marco Martin
b43fc29221 use a single database connection per thread, anchieve that with a static QThreadStorage
each thread data will have a refcounted database instance

svn path=/trunk/KDE/kdelibs/; revision=1212521
2011-01-07 10:51:29 +00:00
Marco Martin
0c09d4b058 use a pointer since to remove a connection is necesary that the qsqldatabase is deleted, ouch
svn path=/trunk/KDE/kdelibs/; revision=1212424
2011-01-06 23:26:14 +00:00
Marco Martin
6d042ac25a close the strage db when the job is over.
there were dangling file pointers before that could crash plasma when they go beyond the maximum allowed limit
BUG:259833
CCBUG:247798
BUG:235051


svn path=/trunk/KDE/kdelibs/; revision=1212407
2011-01-06 21:43:51 +00:00
Alex Merry
54ad0622e7 Simplify an if-else statement in the tabbar - d->tabBarShown makes the else if condition obsolete
svn path=/trunk/KDE/kdelibs/; revision=1212398
2011-01-06 20:50:09 +00:00
Alex Merry
082ddcb95a Don't add the tabbar to the layout twice, or try to remove it twice.
BUG: 258867


svn path=/trunk/KDE/kdelibs/; revision=1212395
2011-01-06 20:33:56 +00:00
Marco Martin
244ec458f8 don't handle wheel events in the event filter, let any widget that wants to steal it do so
seems to have a more natural behaviour

svn path=/trunk/KDE/kdelibs/; revision=1212343
2011-01-06 15:30:55 +00:00
Marco Martin
0069c38934 don't add empty extender groups that are autohide
BUG:258645

svn path=/trunk/KDE/kdelibs/; revision=1212326
2011-01-06 14:55:41 +00:00
Marco Martin
79bbb39468 initialize
svn path=/trunk/KDE/kdelibs/; revision=1212108
2011-01-05 18:54:37 +00:00
Marco Martin
ec6d137012 use smooth transformation for the pressed effect: it's used rarely enough to not pose too much performance issues
BUG:262128

svn path=/trunk/KDE/kdelibs/; revision=1212069
2011-01-05 16:41:06 +00:00