Commit Graph

7447 Commits

Author SHA1 Message Date
Aaron J. Seigo
fdd473d31d * this introduces a Theme object used by Svg to cache the rendering of svg's asking to be colorized, but which are not part of the theme. this requires an independent cache and set of color files, therefore a second Theme object. SvgPrivate::actualTheme() is thus overridden by SvgPrivate::cacheAndColorsTheme() whenever caching or colors are used.
* consolidate the signal/slot connections in SvgPrivate::checkColorHints, and now the check is consistent on all paths (previously, it wasn't!)
* missing (and possible cause of cache key ambiguity) separator in CACHE_ID_WITH_SIZE

svn path=/trunk/KDE/kdelibs/; revision=1203346
2010-12-03 17:10:13 +00:00
Aaron J. Seigo
5b9d43d060 * this introduces a Theme object used by Svg to cache the rendering of svg's asking to be colorized, but which are not part of the theme. this requires an independent cache and set of color files, therefore a second Theme object.
* not dropping the cache just because we change themes; this made sense when just plasma-desktop used this or when the apps using Plasma::Theme all used the same theme. this is no longer the case, really, and having applications changing themes randomly kicking the cache out from underneath other apps that may still be using it is undesirable. this does mean that cache files will accumulate. not sure that's a big issue as they don't tend to be large and are in an area marked as "cache" (so ripe for clean-without-care)
* cleanups such as getting rid of superfluous use of Plasma:: namespacing in code that is now in libplasma, such as the stylesheeting. (it was from a plasmoid sebas wrote originally, iirc, explaining the historical reason for the explicit namespacing)

svn path=/trunk/KDE/kdelibs/; revision=1203345
2010-12-03 17:09:09 +00:00
Aaron J. Seigo
3366e28e72 work around mouse plugins that return a single menu.
svn path=/trunk/KDE/kdelibs/; revision=1203343
2010-12-03 17:03:18 +00:00
Aaron J. Seigo
197a679f63 note what the default is
svn path=/trunk/KDE/kdelibs/; revision=1202921
2010-12-02 19:34:22 +00:00
Giulio Camuffo
ccb599572e use QGraphicsScene::sendEvent instead of simply calling the event handler. this allow the containments to have more
control on the moving of the applets installing event filters on them and fixes the moving of the applet Icon in some 
containments

svn path=/trunk/KDE/kdelibs/; revision=1202445
2010-11-30 22:20:34 +00:00
Marco Martin
5d9766f6c1 break; in the switch,
crash--

svn path=/trunk/KDE/kdelibs/; revision=1202309
2010-11-30 12:04:44 +00:00
Davide Bettio
d8546805e5 Display applet context menu when the label hasn't any context menu to show. It makes sense to show a context menu only when the text can be selected or when there is a link.
reviewboard: http://reviewboard.kde.org/r/6009/

svn path=/trunk/KDE/kdelibs/; revision=1202176
2010-11-29 23:29:03 +00:00
Marco Martin
28e6398a6a hide the focus indicator if the stylesheet is not empty
svn path=/trunk/KDE/kdelibs/; revision=1202169
2010-11-29 22:30:35 +00:00
Marco Martin
07610e04ea try to remove the hardcoded size hint of the tabbar proxy widget.. the Qt bug that it was masking should be gone now
svn path=/trunk/KDE/kdelibs/; revision=1202100
2010-11-29 17:08:52 +00:00
Marco Martin
1d9da0068e fix behaviour of setTabBarShown
svn path=/trunk/KDE/kdelibs/; revision=1202099
2010-11-29 17:00:26 +00:00
Aaron J. Seigo
ff8aea50c6 use the theme itself, not the default theme, for the style sheet. also fix up some whitespace warts.
svn path=/trunk/KDE/kdelibs/; revision=1201685
2010-11-28 11:13:27 +00:00
Aaron J. Seigo
b1fc529c39 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1201684
2010-11-28 11:12:30 +00:00
Script Kiddy
2dfedb571a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1201670
2010-11-28 10:26:41 +00:00
Script Kiddy
8c5b878c8e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1201313
2010-11-27 10:53:25 +00:00
Script Kiddy
5ef3f6feab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1200938
2010-11-26 10:12:58 +00:00
Marco Martin
0d168b6c57 don't try to treat touch events as mose ones
crash--

svn path=/trunk/KDE/kdelibs/; revision=1200789
2010-11-25 19:30:55 +00:00
David Faure
5eb44c3f0d Fix unit test for the case where $HOME is a symlink; KStandardDirs resolves to canonical paths.
svn path=/trunk/KDE/kdelibs/; revision=1200673
2010-11-25 13:21:56 +00:00
Aaron J. Seigo
2b2fb47e20 clean up a bit
svn path=/trunk/KDE/kdelibs/; revision=1200096
2010-11-23 22:21:24 +00:00
Aaron J. Seigo
3e354c4e81 more safety in swapping containments around
svn path=/trunk/KDE/kdelibs/; revision=1200095
2010-11-23 22:18:15 +00:00
Script Kiddy
8e5bcfc79c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1199960
2010-11-23 11:26:33 +00:00
Script Kiddy
4b958b9468 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1199247
2010-11-21 09:20:40 +00:00
Script Kiddy
b91c9aea33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1198995
2010-11-20 10:01:33 +00:00
Aaron J. Seigo
91706a22a1 stylistic consistency: "else if" when that's what it is doing
svn path=/trunk/KDE/kdelibs/; revision=1198890
2010-11-20 05:44:47 +00:00
Jacopo De Simoi
691315952e Make sure showPopup(0) actually does what it is supposed to do
BUG: 256124
FIXED-IN:4.5.4

svn path=/trunk/KDE/kdelibs/; revision=1198830
2010-11-19 22:12:52 +00:00
Script Kiddy
0ffeb0be68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1198695
2010-11-19 09:51:33 +00:00
Aaron J. Seigo
3d1e047e41 correct connection
svn path=/trunk/KDE/kdelibs/; revision=1198591
2010-11-19 04:00:09 +00:00
Aaron J. Seigo
c21986f62d provide a containmentForScreen implementation that allows adding containments for screens / desktop affinities even in spite of immutabilities
svn path=/trunk/KDE/kdelibs/; revision=1198498
2010-11-18 17:17:56 +00:00
Allen Winter
3edc7be1c5 add krazy excludes for the false positives not using qreal casting in qMin|qMax.
svn path=/trunk/KDE/kdelibs/; revision=1197830
2010-11-16 17:18:10 +00:00
Giulio Camuffo
39e7982bd6 the signature includes the namespace now, remove unuseful stuff
svn path=/trunk/KDE/kdelibs/; revision=1197443
2010-11-15 21:01:11 +00:00
Aaron J. Seigo
a4b06ced4d help the apidox out a bit to be clearer where that enum comes from
svn path=/trunk/KDE/kdelibs/; revision=1197441
2010-11-15 20:48:27 +00:00
Aaron J. Seigo
c1f8c20bfd don't take the value of a temporary
svn path=/trunk/KDE/kdelibs/; revision=1197047
2010-11-14 19:10:06 +00:00
Script Kiddy
6764ddfe03 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1196580
2010-11-13 15:50:09 +00:00
Aaron J. Seigo
0e5e5b7c9d * be sure to set kiosk-based immutability
* don't allow external creation of containments if the corona is immutable; they won't get saved to disk anyways

svn path=/trunk/KDE/kdelibs/; revision=1196287
2010-11-12 22:51:31 +00:00
Aaron J. Seigo
8607a13142 clarify, document and fix how immutability (particularly kiosk-based SystemImmutability) is handled
svn path=/trunk/KDE/kdelibs/; revision=1196286
2010-11-12 22:48:31 +00:00
Marijn Kruisselbrink
cf3951ad20 revert r1171729, as those changes broke compilation on platforms where qreal != double
svn path=/trunk/KDE/kdelibs/; revision=1196092
2010-11-12 15:23:22 +00:00
Chani Armitage
31e2c5a0d4 shared containmentactions
svn path=/trunk/KDE/kdelibs/; revision=1195744
2010-11-11 22:22:39 +00:00
Chani Armitage
cf57b44044 and the winner is: Productivity. our new category :)
svn path=/trunk/KDE/kdelibs/; revision=1195647
2010-11-11 17:37:36 +00:00
Script Kiddy
58fdcb472b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1195481
2010-11-11 10:01:08 +00:00
David Faure
f16b51270f revert the #include changes in public plasma headers, they break SC.
Instead, install kgenericfactory.h and friends again in all cases, but they only do #includes in "no deprecated" mode

svn path=/trunk/KDE/kdelibs/; revision=1195340
2010-11-10 21:38:04 +00:00
Sebastian Kügler
b088405e49 fix build
svn path=/trunk/KDE/kdelibs/; revision=1195247
2010-11-10 16:48:49 +00:00
Kevin Ottens
ee5df8d9e4 More kgenericfactory.h cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1195206
2010-11-10 15:25:56 +00:00
Boudewijn Rempt
3242318a93 Add config-plasma include to make the PLASMA_NO_KIO work
svn path=/trunk/KDE/kdelibs/; revision=1195104
2010-11-10 11:41:02 +00:00
Marco Martin
11d8738af4 minimum and maximum settable from javascript
svn path=/trunk/KDE/kdelibs/; revision=1194798
2010-11-09 22:16:05 +00:00
Kevin Ottens
d85c4cc7ff Include cleanup.
Based on a patch by Marijn Kruisselbrink.

svn path=/trunk/KDE/kdelibs/; revision=1194730
2010-11-09 17:22:22 +00:00
Kevin Ottens
6c56a21a41 Really don't depend on KIO, forgot that include.
svn path=/trunk/KDE/kdelibs/; revision=1194729
2010-11-09 17:22:03 +00:00
Dawit Alemayehu
086599b47a Fixed compile errors when using QT_USE_FAST_CONCATENATION and QT_USE_FAST_OPERATOR_PLUS to compile kdelibs...
svn path=/trunk/KDE/kdelibs/; revision=1194330
2010-11-08 18:14:17 +00:00
Christoph Feck
30799cc1be Fix alpha value
svn path=/trunk/KDE/kdelibs/; revision=1194319
2010-11-08 17:25:12 +00:00
Script Kiddy
24b00a5dff SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1193827
2010-11-07 09:48:30 +00:00
Aaron J. Seigo
68c79e755b SVN_SILENT: tabs->spaces
svn path=/trunk/KDE/kdelibs/; revision=1193361
2010-11-05 18:19:20 +00:00
Script Kiddy
34c469c2b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1193248
2010-11-05 09:47:36 +00:00