Commit Graph

4217 Commits

Author SHA1 Message Date
Marco Martin
f37ed173ad pursuing zero svg renderers instantiated:
most elements have a single _, correct way should be names starting by _

svn path=/trunk/KDE/kdelibs/; revision=1005293
2009-07-31 18:47:20 +00:00
Marco Martin
d3f77afd1f this made findInCache always fail.
still a bit too many fails tough

svn path=/trunk/KDE/kdelibs/; revision=1004775
2009-07-30 20:39:52 +00:00
Aaron J. Seigo
131c0b39de don't actually do the tear down until we have no more jobs queued up; this way the setup/teardown do not need to be threadsafe and the runner can always assume that the data created in set up is really not needed anymore
svn path=/trunk/KDE/kdelibs/; revision=1004685
2009-07-30 18:14:40 +00:00
Aaron J. Seigo
a4b980b37b a little more paranoia around action access
svn path=/trunk/KDE/kdelibs/; revision=1004683
2009-07-30 18:13:01 +00:00
Pino Toscano
ae09154da3 move to the cpp the headers useful for the implementation only, and remove the unneeded ones
svn path=/trunk/KDE/kdelibs/; revision=1004500
2009-07-30 11:09:45 +00:00
Marco Martin
6257d4b7a8 takeTab(), removes a tab and returns the tab contents
svn path=/trunk/KDE/kdelibs/; revision=1004310
2009-07-29 20:30:07 +00:00
Arthur Renato Mello
f8580b442d Add support to load a single element from a svg as icon
svn path=/trunk/KDE/kdelibs/; revision=1003809
2009-07-28 21:07:19 +00:00
Sebastian Kügler
8c2bded373 lower-case includes, this is kdelibs
svn path=/trunk/KDE/kdelibs/; revision=1003677
2009-07-28 15:54:17 +00:00
Marco Martin
b95b9cfd6d add an overloaded member that uses a qwidget and animates always from ad
edge of the widget: saves tons of code

svn path=/trunk/KDE/kdelibs/; revision=1003631
2009-07-28 13:50:48 +00:00
Aaron J. Seigo
5556939639 set the prepped state
svn path=/trunk/KDE/kdelibs/; revision=1003540
2009-07-28 10:03:16 +00:00
Aaron J. Seigo
73ba18b528 not needed twice i suppose :)
svn path=/trunk/KDE/kdelibs/; revision=1003356
2009-07-28 03:37:37 +00:00
Aaron J. Seigo
000d79016b new setup/teardown api for runners so we don't hang onto tons of data and live connections when not matching
svn path=/trunk/KDE/kdelibs/; revision=1003355
2009-07-28 03:36:06 +00:00
Aaron J. Seigo
68d9558843 fix desktop toolbox dragging once and for all; i should have implemented dragging like this in the first place. also fixes misplacement of the toolbox on the bottom or right edge of the screen. there's some room for optimization here as cornerSize, fullHeight and fullWidth do a -lot- of manip on the background svg that really is only needed once per drag. in practice, it's not so bad and i'd like to keep the diff as small as possible (it's already huge) so i can backport it without feeling tooo guilty ;)
BUG:201672

svn path=/trunk/KDE/kdelibs/; revision=1003346
2009-07-28 03:19:33 +00:00
Aaron J. Seigo
4dd1cc887b it's not really setting the window to slide, but saying "slide this window"
svn path=/trunk/KDE/kdelibs/; revision=1003321
2009-07-28 01:33:31 +00:00
Aaron J. Seigo
0de5d23864 let the applet do the thinking about wether or not the config action is enabled
CCBUG:201663

svn path=/trunk/KDE/kdelibs/; revision=1003317
2009-07-28 01:09:17 +00:00
Marco Martin
8ecfc801de pass the offset in the api, rather that trying to do magic with
qdesktopwidget

svn path=/trunk/KDE/kdelibs/; revision=1003244
2009-07-27 21:53:36 +00:00
Marco Martin
85cb69d28f save the background hints in two vars when they are set, use the second
to restore the ones that were decided before the formfactor change. i.e.
no more need to set again and again the hints in formFactorConstraints

svn path=/trunk/KDE/kdelibs/; revision=1003180
2009-07-27 20:14:38 +00:00
Marco Martin
4063ccde6a apidocs
svn path=/trunk/KDE/kdelibs/; revision=1003110
2009-07-27 17:33:49 +00:00
Aaron J. Seigo
c7be859522 now that we actually have the effect, we don't need this useless bit of comment :)
svn path=/trunk/KDE/kdelibs/; revision=1002811
2009-07-27 02:40:38 +00:00
Marco Martin
6a60d6cf75 WindowEffects namespace: here will go functions used to set atoms on
windows to trigger kwin effects, without having t use xlibs directly
from the rest of the code

svn path=/trunk/KDE/kdelibs/; revision=1002670
2009-07-26 18:58:27 +00:00
David Jarvie
2b543937ab Minor APIDOX fixes (spelling etc.)
svn path=/trunk/KDE/kdelibs/; revision=1002622
2009-07-26 15:22:59 +00:00
Marco Martin
9e278bbe78 playPauseButton doesn't always exist, crash--
svn path=/trunk/KDE/kdelibs/; revision=1002603
2009-07-26 14:23:29 +00:00
Richard Dale
a3a97eec7d * Add Plasma/PluginApplet as another type of plasmoid service when making KTrader queries
svn path=/trunk/KDE/kdelibs/; revision=1002599
2009-07-26 14:20:31 +00:00
Ryan P. Bitanga
ef32813846 Move actionsFromMenu from AbstractRunner to plasma.h
svn path=/trunk/KDE/kdelibs/; revision=1002462
2009-07-26 02:51:21 +00:00
Marco Martin
af839dc89c when the scrolbar visibility is udated activate the layout and do
resize, this should avoid the unnecessary horizontal scrollbar in the
microblog applet

svn path=/trunk/KDE/kdelibs/; revision=1002239
2009-07-25 13:14:19 +00:00
Marco Martin
c702490625 resize the widget -after- hadjusting the scrollbar visibility
svn path=/trunk/KDE/kdelibs/; revision=1002234
2009-07-25 12:48:30 +00:00
Aaron J. Seigo
0cdd7388b4 * make it possibl to install packages without registering them as a service
* support tar and compressed tar as well as zip
* support archives that contain the actual package in a top level subdir

themes and wallpapers now install nicely.

svn path=/trunk/KDE/kdelibs/; revision=1002165
2009-07-25 09:34:19 +00:00
Ryan P. Bitanga
139c3abdc4 Ensure a menu pointer is passed to actionsFromMenu
svn path=/trunk/KDE/kdelibs/; revision=1002154
2009-07-25 08:09:26 +00:00
Aaron J. Seigo
16bf535e5e forward port r999260 by Ade
CCBUG:199899

svn path=/trunk/KDE/kdelibs/; revision=1002146
2009-07-25 07:21:14 +00:00
Aaron J. Seigo
9fb9ee1b0e SVN_SILENT: fix style
svn path=/trunk/KDE/kdelibs/; revision=1002137
2009-07-25 05:47:12 +00:00
Aaron J. Seigo
51434fc5f1 list applets which have an X-KDE-ParentApp= entry in their .desktop file
svn path=/trunk/KDE/kdelibs/; revision=1002131
2009-07-25 05:00:27 +00:00
Aaron J. Seigo
0caae66c3a be more careful with setWidget
svn path=/trunk/KDE/kdelibs/; revision=1002129
2009-07-25 04:53:35 +00:00
Ryan P. Bitanga
284bac4310 Add the convenience method for extracting actions from QMenus to AbstractRunner
svn path=/trunk/KDE/kdelibs/; revision=1002128
2009-07-25 04:42:52 +00:00
Marco Martin
ab6124c2a6 use the new _KDE_SLIDE atom to make popups use a sliding animation
svn path=/trunk/KDE/kdelibs/; revision=1001605
2009-07-23 19:08:06 +00:00
Script Kiddy
d830650174 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1000557
2009-07-21 15:15:08 +00:00
Marco Martin
2a7747c584 use base 16, should be slightly faster
svn path=/trunk/KDE/kdelibs/; revision=1000133
2009-07-20 21:48:28 +00:00
Marco Martin
627b939e12 fix build with int -> qint64
svn path=/trunk/KDE/kdelibs/; revision=1000123
2009-07-20 21:24:12 +00:00
Marco Martin
94f3c6a498 fix a performance issue: add a new insertintocache function, the new
parameter is used to identify pixmaps that shouldn't be inserted in the
pixmap cache on disk

BUG: 200313

svn path=/trunk/KDE/kdelibs/; revision=1000100
2009-07-20 20:30:07 +00:00
Richard Dale
83396186c2 * Fixed a couple of typos
svn path=/trunk/KDE/kdelibs/; revision=999752
2009-07-20 13:22:58 +00:00
Richard Dale
f962a9c958 * Change the name of the initScriptExtenderItem to extenderItemRestored as it is less clumsy
svn path=/trunk/KDE/kdelibs/; revision=999251
2009-07-19 14:25:00 +00:00
Script Kiddy
b6bf566750 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=998372
2009-07-17 14:39:02 +00:00
Richard Dale
695168a4bd Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()


svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Arthur Renato Mello
d9d08c94e0 Fix svg support on Plasma::ToolButton, setting correct path and size of svg
svn path=/trunk/KDE/kdelibs/; revision=997953
2009-07-16 18:03:22 +00:00
Alexis Ménard
d4ca38b20f This almost fix the performance issue when zooming out on plasma-desktop.
We don't need to call prepareGeometryChange if the geometry will not
change, this mistake end up with a new paint event that will paint for
nothing.

This should be backported into 4.3

svn path=/trunk/KDE/kdelibs/; revision=997763
2009-07-16 13:09:19 +00:00
Marco Martin
b73625fbfc don't mess with size policies that the applet could have set (still do
that on square aspect ratio, that's bad but the aspectRatioMode() is
kinda old cruft from pre-qgraphicswidget times..
BUG: 199921

svn path=/trunk/KDE/kdelibs/; revision=995461
2009-07-12 19:34:28 +00:00
Marco Martin
dcd418a3e8 use kio for access, so we can haz kioslaves, cookies and proxies
svn path=/trunk/KDE/kdelibs/; revision=994537
2009-07-10 17:47:08 +00:00
Marco Martin
a3c54b201c move the status stuff into Applet, constify and also put a bit of apidox
(forgotten from the previous commit:))

svn path=/trunk/KDE/kdelibs/; revision=993912
2009-07-09 17:19:00 +00:00
Marco Martin
2a0e957d14 move the status stuff into Applet, constify and also put a bit of apidox
svn path=/trunk/KDE/kdelibs/; revision=993895
2009-07-09 16:35:11 +00:00
Script Kiddy
b8d4a6eee0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=993875
2009-07-09 15:40:27 +00:00
Aaron J. Seigo
47b8b802ac standardize link colors
svn path=/trunk/KDE/kdelibs/; revision=993491
2009-07-08 19:25:20 +00:00