Commit Graph

252 Commits

Author SHA1 Message Date
Chani Armitage
b81f27be13 SVN_SILENT no iff
svn path=/trunk/KDE/kdelibs/; revision=977672
2009-06-05 00:14:25 +00:00
Chani Armitage
81244eb86a okay, make it const
svn path=/trunk/KDE/kdelibs/; revision=976922
2009-06-03 01:10:57 +00:00
Chani Armitage
2d2aef5930 isAllowed -> hasAuthorization
svn path=/trunk/KDE/kdelibs/; revision=976800
2009-06-02 17:25:30 +00:00
Chani Armitage
d38bec87e6 SVN_SILENT grammar improvements
svn path=/trunk/KDE/kdelibs/; revision=971223
2009-05-22 02:49:40 +00:00
Chani Armitage
01895ba4b5 @since fixes
svn path=/trunk/KDE/kdelibs/; revision=971221
2009-05-22 02:12:48 +00:00
Aaron J. Seigo
09e4b24817 make it possible to add custom (e.g. application specific) applet categories
CCMAIL:oszkar.ambrus@deri.org

svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Chani Armitage
c756fd29c4 configurable keyboard shortcuts
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Aaron J. Seigo
c8d29894f3 SVN_SILENT: @since fixes
svn path=/trunk/KDE/kdelibs/; revision=959692
2009-04-26 20:40:46 +00:00
Aaron J. Seigo
d4c7994472 allow loading applets from packages directly
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Rob Scheepmaker
c47d34bcba Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
Chani Armitage
5332b1edc8 security constraints can be defined now, whee
svn path=/trunk/KDE/kdelibs/; revision=935220
2009-03-04 17:05:51 +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
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
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
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
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
Alexis Ménard
ef4b6c7187 Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
THis fix errors because we give an invalid pointer to public appletRemoved signal.

svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Aaron J. Seigo
e817ea81f5 woah, can't believe i didn't catch this one... another day later and it would've been ABI disaster! ;)
svn path=/trunk/KDE/kdelibs/; revision=914446
2009-01-21 06:17:23 +00:00
Marco Martin
831f2564d8 quite mega-patch:
add a new function FrameSvg::alphaMask() that lets define an alpha-layer
for the frame, that can be the frame itself or a mask- prefix
allow for overlay elements on frames that can do a nice
filigrane-effect, they can either be:
-fixed position at 0,0
-random position consistent across plasma runs (only supported for applet
backgrounds)
-tiled
-scaled

svn path=/trunk/KDE/kdelibs/; revision=910655
2009-01-13 21:46:07 +00:00
Alex Merry
9c1570f13e apidocs fixes.
Remember to document ALL parameters to methods.  They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.

*waves stick of EBN-ness*


svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
be4c8c2c5e if an applet overrode configChanged (it is virtual), the keyboard shortcuts wouldn't get picked up; so move that all to a private slot and now configChangedcan be safely used instead of connecting up to the dialog signals yourself as an added bonus
svn path=/trunk/KDE/kdelibs/; revision=906175
2009-01-05 18:08:14 +00:00
Aaron J. Seigo
52ad594971 allow checking if the applet has a popup showing associated with it. not BC, but we haven't released 4.2.0 yet and this is the least ucky way of doig it ;)
svn path=/trunk/KDE/kdelibs/; revision=902770
2008-12-29 06:03:43 +00:00
Chani Armitage
c1266d8689 that comment stopped being true a looong time ago ;)
svn path=/trunk/KDE/kdelibs/; revision=902765
2008-12-29 05:07:57 +00:00
Aaron J. Seigo
0f70316466 add a warning here for those who come later =)
svn path=/trunk/KDE/kdelibs/; revision=901289
2008-12-24 23:53:12 +00:00
Aaron J. Seigo
6f3d2bc0ea allow applets to know when they are destroyed
svn path=/trunk/KDE/kdelibs/; revision=891035
2008-12-01 01:04:58 +00:00
Alexis Ménard
c11105d5af Remove this stuff, it is not needed anymore. Come with my previous commit.
It doesn't break the BC, we can add afterwards an overload it doesn't matter.

svn path=/trunk/KDE/kdelibs/; revision=889392
2008-11-26 17:40:46 +00:00
Aaron J. Seigo
23a7c83164 clear the shortcuts editor pointer only when the dialog is actually dead and gone
BUG:175722

svn path=/trunk/KDE/kdelibs/; revision=887090
2008-11-21 03:43:45 +00:00
Fredrik Höglund
185cf58d7f Turn setBusy() into a slot.
svn path=/trunk/KDE/kdelibs/; revision=885829
2008-11-17 23:35:32 +00:00
Aaron J. Seigo
aca23afb4a a bit of a clean up on the overlay stuff; makes it easy to add overlay messages in the future (planned for 4.3)
svn path=/trunk/KDE/kdelibs/; revision=880833
2008-11-06 15:52:13 +00:00
Marco Martin
d9a77cf958 add functions setBusy(bool) and isBusy()
used to easily display a busy indicator as an overlay of the applet when
is loading stuff

svn path=/trunk/KDE/kdelibs/; revision=880089
2008-11-04 18:22:55 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Marco Martin
3d67f6f809 removed shadowed background
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879434
2008-11-03 09:56:27 +00:00
Kevin Ottens
f66b4d819b API changes as announced:
* ConfigXml becomes ConfigLoader
  * Containment::(add|remove)ToolBoxTool(QAction *action) becomes
    Containment::(add|remove)ToolBoxAction(QAction *action)
  * Flash becomes FlashingLabel
  * Icon becomes IconWidget
  * PanelSvg becomes FrameSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Sebastian Kügler
3da27e9822 Grammar fixes in APIDOX
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875758
2008-10-25 14:15:13 +00:00
Rob Scheepmaker
704fad3d81 Small extender api improvements:
* extender() -> protected
* initExtenderItem() no longer a slot
* autoExpireDelay return uint instead of bool


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875751
2008-10-25 13:41:00 +00:00
Davide Bettio
cf3a8181de I think I have fixed background enum API doc.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874503
2008-10-21 18:50:38 +00:00
Chani Armitage
4f776b73c1 documentation++
warning people not to assume Applet::view() returns a view, because null pointer crashes make me sad :(


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872326
2008-10-16 21:40:21 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Aaron J. Seigo
06e71be8c3 we no longer need to check for spontaneity; move the trick up to Applet as well to avoid repaints where possible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868200
2008-10-05 17:48:44 +00:00
Aaron J. Seigo
3365bc1d94 make it clear why you SHOULDN'T be using this method
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866863
2008-10-02 06:08:31 +00:00
Aaron J. Seigo
56a9ad52ce make it harder for people to fall into the temptation of nesting containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863619
2008-09-22 17:50:23 +00:00
Aaron J. Seigo
6e2506d5cc * use d->extender instead of extender() to prevent accidently creating extenders
* make PopupApplet a friend (PopupAppletPrivate already is)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862089
2008-09-18 02:47:25 +00:00
Loic Marteau
b6cb43398d - add a "popupPosition" support to PopupApplet so applets can use it to deal with
fitt law optimisation
- also save the new size of the popup (Plasma::Dialog) in the config file when user 
resize it
- use popupPosition facilities in kickoff and remove the resize stuff on it since it 
can be now directly dealed in Plasma::Dialog


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860323
2008-09-12 17:16:58 +00:00
Petri Damstén
11317e0d7e add configChanged to Applet and AppletScript
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860299
2008-09-12 15:21:58 +00:00
Rob Scheepmaker
cb4d610219 Move ExtenderApplet to libplasma. This doesn't work just yet, but aseigo will take a look at
it, so it will soon. ;)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860007
2008-09-11 19:26:05 +00:00
Aaron J. Seigo
d89ad4cba0 context API adjustments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857207
2008-09-05 00:22:42 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Aaron J. Seigo
46ef63168e allow applets to query for their context, update the context via a constraint (we're running out of them!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00