Commit Graph

5973 Commits

Author SHA1 Message Date
Giulio Camuffo
2a46966c22 don't call restore() two times when swapping the containment
svn path=/trunk/KDE/kdelibs/; revision=1153214
2010-07-22 20:06:06 +00:00
Vitor Boschi da Silva
5faa771dcb fixed typo in the documentation
svn path=/trunk/KDE/kdelibs/; revision=1153054
2010-07-22 13:41:21 +00:00
Aaron J. Seigo
6dfeeb5fe9 uncessary to call it here; restore takes care of this
svn path=/trunk/KDE/kdelibs/; revision=1152622
2010-07-21 15:58:25 +00:00
Aaron J. Seigo
3a2ffb1238 call restore on new containments too
svn path=/trunk/KDE/kdelibs/; revision=1152621
2010-07-21 15:57:36 +00:00
Aurélien Gâteau
beca8835e1 Set page step of scrollbars
This way the size of the scrollbar slider represents the visible portion of
the scrolled widget.

svn path=/trunk/KDE/kdelibs/; revision=1151665
2010-07-19 09:59:59 +00:00
Aaron J. Seigo
78119ec9f4 SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1150752
2010-07-16 17:04:45 +00:00
Jacopo De Simoi
7879ff137c Do not paint twice most Plasma::Label out there!
svn path=/trunk/KDE/kdelibs/; revision=1150751
2010-07-16 17:04:37 +00:00
Aaron J. Seigo
451049664e * various FIXME notes in dataengine.cpp; Brian, if you could look through them and ask if you have any questions regarding them
* only check for stored data if the DataContainer is thusly marked; removes a huge bottleneck for non-storage-backed engines; currently this probably breaks storage support (since marking the source as storage related probably happens after it is created and so this doesn't get calle?) but there is a FIXME note there that states what the fix should be
* some code clean ups

CCMAIL:batenkaitos@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1150416
2010-07-15 21:58:58 +00:00
Aaron J. Seigo
5a75a81f53 remove virtual from these methods, clarify the apidox
svn path=/trunk/KDE/kdelibs/; revision=1150415
2010-07-15 21:54:06 +00:00
Aaron J. Seigo
4a9bf348fe init the vals
svn path=/trunk/KDE/kdelibs/; revision=1150411
2010-07-15 21:41:29 +00:00
Aaron J. Seigo
a6155e5659 move all plugin loading to the PluginLoader class.
svn path=/trunk/KDE/kdelibs/; revision=1150409
2010-07-15 21:38:56 +00:00
Aaron J. Seigo
fd71ff404b * loadEngine -> loadDataEngine
* ws clean up
* add to the apidox a bit
* add a ctor

svn path=/trunk/KDE/kdelibs/; revision=1150391
2010-07-15 21:11:20 +00:00
Ryan James Rix
e00a7b2422 Adds ability for applications which embed plasma to specify a class which
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.

http://reviewboard.kde.org/r/4554/


svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00
Marco Martin
ab688e2471 try to disable ItemSendsGeometryChanges, if won't cause problems, it could be put in several places in plasma
svn path=/trunk/KDE/kdelibs/; revision=1150355
2010-07-15 19:11:29 +00:00
Aaron J. Seigo
4c4996ac3b this id should not be reset
svn path=/trunk/KDE/kdelibs/; revision=1149949
2010-07-14 17:15:20 +00:00
Marco Martin
1d1e382b19 no more window icons
svn path=/trunk/KDE/kdelibs/; revision=1149634
2010-07-13 21:49:01 +00:00
Marco Martin
748d85362c set null icons on the widgets after been put in a proxy.
would hopefully cause a bit less pixmap usage

svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Aaron J. Seigo
b2d37c0604 delete the widget snapshot; i bet that's where the pixmaps are leaking from
svn path=/trunk/KDE/kdelibs/; revision=1149617
2010-07-13 20:33:08 +00:00
Laurent Montel
d443bee9f4 Fix compile
svn path=/trunk/KDE/kdelibs/; revision=1149276
2010-07-13 05:55:31 +00:00
Brian David Pritchett
2d98d307f2 I accidently deleted a file that was needed! Readding.
svn path=/trunk/KDE/kdelibs/; revision=1149245
2010-07-13 01:07:30 +00:00
Brian David Pritchett
53a227a43f This adds the first iteration of data caching for dataengines.
svn path=/trunk/KDE/kdelibs/; revision=1149185
2010-07-12 20:51:12 +00:00
Giulio Camuffo
8002b2415b add support for adding two qgw on the sides of the tabbar
svn path=/trunk/KDE/kdelibs/; revision=1148951
2010-07-12 08:29:49 +00:00
Marco Martin
12a3da4aa4 if the applet parent of this popupapplet is -not- a containment, always collapse the popup
svn path=/trunk/KDE/kdelibs/; revision=1148414
2010-07-10 15:10:08 +00:00
Aaron J. Seigo
836e012dd4 set the target widget, and reverse the flow of the animation (temporary workaround for 4.5 release)
svn path=/trunk/KDE/kdelibs/; revision=1148348
2010-07-10 10:49:34 +00:00
Aaron J. Seigo
c79a1fb1f1 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1148342
2010-07-10 10:41:47 +00:00
Marco Martin
396972c468 be sure to not insert the same action two times
svn path=/trunk/KDE/kdelibs/; revision=1147196
2010-07-07 15:59:02 +00:00
Giulio Camuffo
93a955c984 do the proper animation when deleting the current tab
svn path=/trunk/KDE/kdelibs/; revision=1147189
2010-07-07 15:17:48 +00:00
Davide Bettio
3cf1e32282 Fixes the year toolbutton hover bug in Plasma::Calendar.
svn path=/trunk/KDE/kdelibs/; revision=1147175
2010-07-07 14:24:38 +00:00
Thiago Macieira
b94b7b1d54 Don't call setPriority on a non-started thread.
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.

svn path=/trunk/KDE/kdelibs/; revision=1146963
2010-07-07 07:22:19 +00:00
Script Kiddy
9571b898bb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1144879
2010-07-01 06:53:11 +00:00
Marco Martin
59211cfea4 remove old unused variable
svn path=/trunk/KDE/kdelibs/; revision=1143742
2010-06-28 16:29:37 +00:00
Marco Martin
60b151b23e discard the stored active tab rectangle if the animation is not running
BUG:225355

svn path=/trunk/KDE/kdelibs/; revision=1143717
2010-06-28 16:08:30 +00:00
Marco Martin
791fa67a23 recalculate the active tab rectangle when a tab gets added or removed
BUG:243002

svn path=/trunk/KDE/kdelibs/; revision=1143660
2010-06-28 13:00:54 +00:00
Script Kiddy
d55911f7c0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1143269
2010-06-27 06:38:43 +00:00
Christoph Feck
9699d16a19 Do not hard code font sizes or names
Also, avoid constructing a font in the first place. This might help
for the (original) bug 198294, where Plasma::Theme::font() crashes
in widget creation.

CCBUG: 198294

svn path=/trunk/KDE/kdelibs/; revision=1143197
2010-06-26 20:55:52 +00:00
Christoph Feck
d4016c881f SVN_SILENT Remove unused Q_UNUSED macro
because the the variable is used but there is no Q_USED macro
(commit message changed for thiago because he thinks the previous
commit message was wrong ;)

svn path=/trunk/KDE/kdelibs/; revision=1143189
2010-06-26 20:33:10 +00:00
Christoph Feck
26ca332629 SVN_SILENT Q_UNUSED
svn path=/trunk/KDE/kdelibs/; revision=1143188
2010-06-26 20:29:58 +00:00
Christoph Feck
8ba19991d7 SVN_SILENT Q_USED
svn path=/trunk/KDE/kdelibs/; revision=1143186
2010-06-26 20:24:23 +00:00
Marco Martin
506a22400c connect to repaintneeded, tat will be emitted when the proper margins have been recalculated
svn path=/trunk/KDE/kdelibs/; revision=1142402
2010-06-24 20:52:14 +00:00
Marco Martin
2d4ed4db67 refresh contents margins on repaintNeeded, that happens when the margins are already updated
svn path=/trunk/KDE/kdelibs/; revision=1142397
2010-06-24 20:41:29 +00:00
Aaron J. Seigo
1791b2b693 avoid warnings
svn path=/trunk/KDE/kdelibs/; revision=1142366
2010-06-24 18:32:49 +00:00
Marco Martin
f8cdf8c2e3 setUseGlobalSettings(false); should work also with applications that start with plasma-
svn path=/trunk/KDE/kdelibs/; revision=1141943
2010-06-23 21:16:20 +00:00
Aaron J. Seigo
0543ed0f15 a work around for the fact that groups and items are in the same collection, which can cause issues on destruction
BUG:242112

svn path=/trunk/KDE/kdelibs/; revision=1141872
2010-06-23 17:58:33 +00:00
Aaron J. Seigo
bf60c264ac restore; usually not needed as this path is usually for new applets (and so the values won't do anything) but can also be used for applets created elsewhere; will be useful for the kpart work
svn path=/trunk/KDE/kdelibs/; revision=1141866
2010-06-23 17:50:16 +00:00
Sebastian Kügler
8eb2ed8050 better APIDOX
svn path=/trunk/KDE/kdelibs/; revision=1141801
2010-06-23 14:19:18 +00:00
Marco Martin
70941efc56 still try to read from the theme if the defaultWallpaperTheme is the default, plasma themes with wallpapers work again
svn path=/trunk/KDE/kdelibs/; revision=1141773
2010-06-23 13:03:13 +00:00
Alexis Ménard
052b87d74e Better fix and also make the normal build works.
svn path=/trunk/KDE/kdelibs/; revision=1141400
2010-06-22 18:16:13 +00:00
Alexis Ménard
628c9fbf2f Compile fix with Mobile profile enabled.
svn path=/trunk/KDE/kdelibs/; revision=1141384
2010-06-22 17:29:18 +00:00
Sebastian Kügler
d853ba5577 APIDOX clarity
svn path=/trunk/KDE/kdelibs/; revision=1141283
2010-06-22 12:27:22 +00:00
Aaron J. Seigo
de28184c32 use QSvgRenderer, now that KSvgRenderer is a shallow wrapper around it since QSvgRenderer gained it's (previously) add-on functionality to QSvgRenderer
svn path=/trunk/KDE/kdelibs/; revision=1140887
2010-06-21 18:28:47 +00:00