Commit Graph

293 Commits

Author SHA1 Message Date
Aaron Seigo
a265864a30 note properties that are constant 2012-11-19 13:31:14 +01:00
Aaron Seigo
454cbaa7cb fix up constraintsEvent documentation 2012-02-13 22:30:29 +01:00
Aaron Seigo
21c1c05039 this method is no longer in the private class 2011-12-06 17:46:13 +01:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
dd122bc011 move applet handle handling (*cough*) to applet instead of contaiment
much cleaner and eliminates the possibility of odd crashes

BUG:253421
2011-05-28 00:23:37 +02:00
Marco Martin
7e88d41ebe bind BackgroundHints for use in declarative containments 2011-05-21 17:47:30 +02:00
Aaron Seigo
fbb50df067 ensure that the containment configChanged() routine always happens 2011-04-25 16:43:48 +02:00
Marco Martin
fb4aec6640 make action() invokable, useful for qml containments 2011-02-28 20:25:01 +01:00
Marco Martin
c56287f927 export pluginName as a qproperty
export pluginName as a qproperty, useful for QML containments
2011-02-25 22:34:53 +01: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
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
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
Kevin Ottens
ee5df8d9e4 More kgenericfactory.h cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1195206
2010-11-10 15:25:56 +00:00
Aaron J. Seigo
92511efde0 * let the Corona know as soon as cleanUpAndDelete is called if we are a Containment
* simplify the path from an Applet being destroyed to cleanUpAndDelete being called

svn path=/trunk/KDE/kdelibs/; revision=1192720
2010-11-03 20:52:13 +00:00
Aaron J. Seigo
5cdd5be918 geometryChanged is a signal in QGraphicsWidget in Qt 4.7, conflicting with Applet's. but they do the same thing (seems others ran into the same issues we did? :) .. so provide a binary compat preserving way to move Applet's signal "out of the way". right now we are getting warning msgs on console due to it, doulbe signal emissions and that all just smacks of bugs waiting to happen.
thanks to Gof for the protected method idea, and Alexis for his fast response to reported issues with the signal as implemented in the pre-release versions of Qt 4.7
CCMAIL:ogoffart@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1162242
2010-08-11 18:23:32 +00:00
Aaron J. Seigo
f007828382 allow one to supply the KPluginInfo directly to the applet
svn path=/trunk/KDE/kdelibs/; revision=1158540
2010-08-02 23:56:02 +00:00
Aaron J. Seigo
00e4cabd06 SVN_SILENT ocd strikes again
svn path=/trunk/KDE/kdelibs/; revision=1155689
2010-07-27 21:24:50 +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
Sebastian Trueg
c62e5ceca5 Added some basic documentation for a method which is impossible to understand without looking at code examples. Please, please, Plasma team, document your API!
svn path=/trunk/KDE/kdelibs/; revision=1125046
2010-05-10 15:26:33 +00:00
Aaron J. Seigo
3cd7bb718d listen to shortcut change signals
BUG:236650

svn path=/trunk/KDE/kdelibs/; revision=1124129
2010-05-07 20:57:03 +00:00
Aaron J. Seigo
3c24748547 ++apidoxAccuracy
svn path=/trunk/KDE/kdelibs/; revision=1123297
2010-05-05 20:00:56 +00:00
Chani Armitage
4c9b16fb50 this ought to be mentioned in the docs
svn path=/trunk/KDE/kdelibs/; revision=1119982
2010-04-28 06:05:09 +00:00
Marco Martin
2466bbd960 AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Aaron J. Seigo
b16960c73b allow loading of individual runners, including from packages
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Aaron J. Seigo
dd96031f53 isBusy is the wrong name for the property; should be just 'busy', but it's too late at this point to remove isBusy, so just duplicate it. i'd rather have a consistent API and get people using that so that there is less heartache when we get rid of isBusy whenever we break BC
svn path=/trunk/KDE/kdelibs/; revision=1082161
2010-01-29 21:22:36 +00:00
Aaron J. Seigo
dd53f9bd7f make it easy to track if the configuration dialog is around or not
svn path=/trunk/KDE/kdelibs/; revision=1082160
2010-01-29 21:21:16 +00:00
Aaron J. Seigo
5c9fdd4af3 missing property
svn path=/trunk/KDE/kdelibs/; revision=1070141
2010-01-04 23:44:57 +00:00
Adenilson Cavalcanti Da Silva
48af57c6ce Migrating Plasma Applet disappear animation to ZoomAnimation (it works
smoother and the code is simpler).


svn path=/trunk/KDE/kdelibs/; revision=1061465
2009-12-11 19:53:55 +00:00
Giulio Camuffo
28d88ef232 must use Plasma::Type and not only Type in the signals!!! fixed the immutabilityChanged signal, the messageButtonPresses
cannot be changed 'cause is there from 4.3, so added a note in the apidox about a workaround

svn path=/trunk/KDE/kdelibs/; revision=1061166
2009-12-10 21:07:28 +00:00
Sebastian Kügler
fbcf0e484e Add capability for Applets to specify X-Plasma-DropUrlPatterns, a QStringList of globs to match a URL dropped onto Plasma. This is orthogonal to the mimetype checking.
http://reviewboard.kde.org/r/2005/#review2848

svn path=/trunk/KDE/kdelibs/; revision=1042124
2009-10-29 09:09:01 +00:00
Michał Dutkiewicz
4d051d8f86 Added possibility to set pop up (menu, dialog or other widgets) alignment to left, center or right
Translate left and right alignment for vertical form factors
Swap right and left alignment in case of RTL layout
Use center alignment for tool tips

svn path=/trunk/KDE/kdelibs/; revision=1028983
2009-09-28 17:28:17 +00:00
Marco Martin
08d49e6fd0 introducing the concept of associated application:
an an application and/or an url list can be associated with an aplet
and a context menu entry and an applet handle button will be added to
launch that application.
the applet will be considered a preview of something, where the
application its full view, for example the picture frame can open
gwenview

svn path=/trunk/KDE/kdelibs/; revision=1024487
2009-09-16 17:08:45 +00:00
Rob Scheepmaker
c69e570b68 Add "freely accessable for everybody" checkbox to the publish page in
the applet config.

svn path=/trunk/KDE/kdelibs/; revision=1019593
2009-09-04 00:08:26 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Chani Armitage
9d2a2e40ba api review part 1
removed some dead signals and an unnecessary const

svn path=/trunk/KDE/kdelibs/; revision=1012640
2009-08-17 22:30:50 +00:00
Chani Armitage
f0a68d537c make rightclick plugins possible
this makes rightclicks use the plugin configured for rightclick
and adds a new method to the plugin for when an applet is rightclicked
(we need a list of actions then that we can insert into the menu)
this also adds a signal for immutability and improves handling of
needs-configuring plugins

svn path=/trunk/KDE/kdelibs/; revision=1012639
2009-08-17 22:30:46 +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
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
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
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