Commit Graph

3555 Commits

Author SHA1 Message Date
Marco Martin
f47eb66c08 add all the other optional buttons support.
but removed next/previous for now, not sure really makes sense to export
them in the simple api

svn path=/trunk/KDE/kdelibs/; revision=925173
2009-02-12 16:47:30 +00:00
Marco Martin
97dd8b072e as decided at tokamak include basic controls right in the widget, they
can be enabled and disabled with flags
so for now the applet shows double controls until the transplant is
really complete

svn path=/trunk/KDE/kdelibs/; revision=925125
2009-02-12 13:58:10 +00:00
Marco Martin
12c645ff82 use setUrl instead of setPath, more general, but still use a qstring,
seems to work better with javascript

svn path=/trunk/KDE/kdelibs/; revision=924896
2009-02-11 21:34:07 +00:00
Ryan P. Bitanga
2da5f905d3 Change the queue policy for slow speed runners. They will now
wait 400ms before being executed by KRunner

svn path=/trunk/KDE/kdelibs/; revision=924670
2009-02-11 11:16:09 +00:00
Alessandro Diaferia
bb01ec253d use boundingRect instead of geometry otherwise the signal will never be emitted
svn path=/trunk/KDE/kdelibs/; revision=924644
2009-02-11 10:24:06 +00:00
Rob Scheepmaker
5105554bc1 2nd fixed regression! You can now again drop into extenders when hovering over popupapplets.
svn path=/trunk/KDE/kdelibs/; revision=924031
2009-02-09 22:10:35 +00:00
Rob Scheepmaker
6ce839cc08 1 regression down! Reenabling and changing one of the layout workarounds fixes the incorrect sizehints problem for detached extenderitems, while still allowing
for items on the desktop to be resized, which is even beter then it was in 4.2. I might backport depending on how good this works with Qt4.4 and depending on 
how complex the patch would become (it would need a few of the changes from my previous monsterpatch).


svn path=/trunk/KDE/kdelibs/; revision=923944
2009-02-09 19:21:59 +00:00
Rob Scheepmaker
fe805eb338 Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose
mouse events while dragging), and is generally shorter and cleaner. There are still some regressions I'll be working on fixing, but it basically works, avoids 
crashes and is even faster.


svn path=/trunk/KDE/kdelibs/; revision=923915
2009-02-09 18:10:45 +00:00
Aaron J. Seigo
5c1c03d6b7 set the names properly in line with the requested types
svn path=/trunk/KDE/kdelibs/; revision=923909
2009-02-09 18:02:03 +00:00
Marco Martin
ecb67cfee5 a bit of comments doesn't hurt
svn path=/trunk/KDE/kdelibs/; revision=923865
2009-02-09 16:09:34 +00:00
Ambroz Bizjak
476fd1a6a3 Added signals appletTransformedByUsed and appletTransformedItself to
Plasma::Applet. This makes it easier for layouts to know when applets 
are transformed (moved/resized/rotated), and know whether the change
was by the user or the applet itself.

svn path=/trunk/KDE/kdelibs/; revision=923848
2009-02-09 15:09:28 +00:00
Kevin Ottens
b4267d0689 Adapt to new metaservice behavior.
svn path=/branches/work/~ervin/sodep/; revision=923761
2009-02-09 11:48:52 +00:00
Kevin Ottens
dab7dc3f1c Improve readability.
svn path=/branches/work/~ervin/sodep/; revision=923759
2009-02-09 11:28:34 +00:00
Marco Martin
501b3bfe1c align text to the left when the icon is horizontal
svn path=/trunk/KDE/kdelibs/; revision=923738
2009-02-09 10:51:21 +00:00
Kevin Ottens
3685f819cc Provide an async SodepClient class to send/receive a message.
svn path=/branches/work/~ervin/sodep/; revision=923534
2009-02-08 22:11:14 +00:00
Marco Martin
06876c7179 install videowidget.h just if phonon is found
svn path=/trunk/KDE/kdelibs/; revision=923526
2009-02-08 21:54:31 +00:00
Marco Martin
ba196464eb enable build of videowidget, depending if Phonon is found or not
svn path=/trunk/KDE/kdelibs/; revision=923520
2009-02-08 21:41:08 +00:00
Marco Martin
b0ad8d6535 import the video widget, will add later to the build
svn path=/trunk/KDE/kdelibs/; revision=923508
2009-02-08 21:20:41 +00:00
Kevin Ottens
8a28c219b3 Turn on service embedding in metaservice, no need to open a new socket
for each service we embed (Location: "local").
Reuse the same socket accross the whole sodepmetaservicetest suite...
Interestingly it's now broken as Jolie insists in closing the socket
after each method call (fmontesi is kindly investigating this).

svn path=/branches/work/~ervin/sodep/; revision=923506
2009-02-08 21:12:45 +00:00
Chani Armitage
b0e0bb161a I forgot to forwardport that security fix from 4.2 >.<
svn path=/trunk/KDE/kdelibs/; revision=923421
2009-02-08 18:31:43 +00:00
Chani Armitage
297b131e1d don't hide the tool on *any* change - only hide when it's hidden, and delete when its action is deleted.
svn path=/trunk/KDE/kdelibs/; revision=923418
2009-02-08 18:27:55 +00:00
Kevin Ottens
01f11ad43b Make the reads blocking. We'll put those in a thread.
It'll be much easier to maintaining the upcoming code.

svn path=/branches/work/~ervin/sodep/; revision=923377
2009-02-08 17:31:13 +00:00
Aaron J. Seigo
ac708dc8d3 better names
svn path=/trunk/KDE/kdelibs/; revision=923357
2009-02-08 16:53:54 +00:00
Kevin Ottens
6c5c5021d6 One step toward a proper API, remove writeTo and readFrom methods from
the Sodep classes. They're now all as global functions into the
sodephelpers_p.h header.

svn path=/branches/work/~ervin/sodep/; revision=923317
2009-02-08 15:35:56 +00:00
Marco Martin
05577817bf make a new constructor with arguments to make possible for non-plugin
scripted applet to have arguments and a new accessor to have the applet
arguments at any moment

svn path=/trunk/KDE/kdelibs/; revision=923308
2009-02-08 15:24:56 +00:00
Alessandro Diaferia
2cc63a17e7 what about constifying constifyable
svn path=/trunk/KDE/kdelibs/; revision=923307
2009-02-08 15:20:00 +00:00
Marco Martin
4dd753fe19 remove the ugly #ifdef since with qt4.5 the clipping bug of proxywidgets
is fixed yeheeee :D

svn path=/trunk/KDE/kdelibs/; revision=923190
2009-02-08 13:26:33 +00:00
Marco Martin
99d3b2d603 save to normal QSize, hopefully would make easier to fix rendering
problems 

svn path=/trunk/KDE/kdelibs/; revision=922930
2009-02-07 20:44:08 +00:00
Aaron J. Seigo
3dad77734e correct name
svn path=/trunk/KDE/kdelibs/; revision=922912
2009-02-07 19:23:03 +00:00
Marco Martin
1755bfa667 kill a bit of old dead code
svn path=/trunk/KDE/kdelibs/; revision=922905
2009-02-07 19:05:43 +00:00
Aaron J. Seigo
b59302b92f support the standard package types
svn path=/trunk/KDE/kdelibs/; revision=922898
2009-02-07 18:48:11 +00:00
Richard J. Moore
3c31418f84 - Make the meta data match what we actually do.
- Fix the isValid check to reflect reality.


svn path=/trunk/KDE/kdelibs/; revision=922896
2009-02-07 18:38:53 +00:00
Kevin Ottens
54e28db2cd Provide a more complete automated test which basically does the
following:
 - starts metaservice
 - loads two services
 - call them and check the replies
 - unloads the services
 - stop metaservice

CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/sodep/; revision=922830
2009-02-07 16:30:58 +00:00
Kevin Ottens
c232abcc72 Provide a PrinterService which actually send a reply.
svn path=/branches/work/~ervin/sodep/; revision=922828
2009-02-07 16:27:59 +00:00
Kevin Ottens
819c88ebaa Also display the reply.
svn path=/branches/work/~ervin/sodep/; revision=922827
2009-02-07 16:27:29 +00:00
Rob Scheepmaker
4278e03a25 Two fixes:
* Monitor for sizechanges of the widgets contained inside an ExtenderItem, so the ExtenderItem 
size get's adjusted when the widget size is.
* Check the desired icon size only after themeUpdated is called, with the svg on it's native 
size. Avoids the problem of an occasion giant titlebar.

I will backport both when I've had the time to test with Qt4.4


svn path=/trunk/KDE/kdelibs/; revision=922762
2009-02-07 15:08:17 +00:00
Aaron J. Seigo
3ba464e1c3 if name doesn't exist, try to get it from key
svn path=/trunk/KDE/kdelibs/; revision=922727
2009-02-07 14:49:26 +00:00
Rob Scheepmaker
1eb7e181bc Qt4.5 hit qt-copy, and layouts behave properly now! Let's remove the layout bug workaround
hacks from extenders. This improves behavior a lot. :)


svn path=/trunk/KDE/kdelibs/; revision=922575
2009-02-07 09:52:49 +00:00
Frederik Schwarzer
83f2503169 global typo fix
svn path=/trunk/KDE/kdelibs/; revision=922431
2009-02-07 01:12:28 +00:00
Kevin Ottens
82f10bbf0d Ok, let's provide a small Jolie script to go with the sodepprintertest
app.

svn path=/branches/work/~ervin/sodep/; revision=922138
2009-02-06 14:28:49 +00:00
Script Kiddy
c66c5cefad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=921680
2009-02-05 14:05:30 +00:00
Marco Martin
9a905cd11b appear and disappear animation for the message overlay
svn path=/trunk/KDE/kdelibs/; revision=921039
2009-02-04 11:39:22 +00:00
Marco Martin
96fdff9468 SVN_SILENT: add @since 4.3 to the shiny new stuff
svn path=/trunk/KDE/kdelibs/; revision=921029
2009-02-04 10:59:15 +00:00
Marco Martin
9c971e11ba ability to hide the tabbar, now can be used like it's a QStackedWidget :)
svn path=/trunk/KDE/kdelibs/; revision=921018
2009-02-04 10:32:20 +00:00
Script Kiddy
0b4e10e9b0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=920633
2009-02-03 14:52:05 +00:00
Marco Martin
2046c01a29 messagebox that displays as an overlay over the applet.
it has optional buttons  or can be shown/closed programmatically by the
applet implementation

svn path=/trunk/KDE/kdelibs/; revision=920367
2009-02-02 19:39:41 +00:00
Sebastian Kügler
42d63443ab Make sure the source applet still exists
Will backport to the 4.2 branch

svn path=/trunk/KDE/kdelibs/; revision=919944
2009-02-01 21:56:19 +00:00
Aaron J. Seigo
9bd8fe0219 better context menu handling
svn path=/trunk/KDE/kdelibs/; revision=919698
2009-02-01 14:55:00 +00:00
Beat Wolf
50e22d6d09 revert last change, binary incompatible. need to find another way to solve the bug
svn path=/trunk/KDE/kdelibs/; revision=919638
2009-02-01 13:59:09 +00:00
Beat Wolf
2b43959d6b allow krunner to launch applications that have been launched before.
BUG:175176

svn path=/trunk/KDE/kdelibs/; revision=919611
2009-02-01 13:25:46 +00:00