Commit Graph

315 Commits

Author SHA1 Message Date
Antonis Tsiapaliokas
87c70a42b4 appletDestroyed() is emitted in ~Applet(). But this can happen even if
it isn't destroyed but it just have been deleted. So we rename the
appletDestroyed() to appletDeleted().
2012-09-24 15:05:17 +03:00
David Faure
68a7db068b KUrl::List -> QList<QUrl> everywhere. Make KDirNotify API take urls, to avoid conversions in the caller.
DBus, however, needs QList<QUrl> <-> QStringList conversions, which is why
both nepomuk and now KIO have methods for this... => submitted to Qt5's QUrl.
2012-07-15 23:56:29 +02:00
Kurt Hindenburg
7463dde514 Allow plasma to build by adding kurl includes 2012-03-24 12:06:28 -04:00
Marco Martin
dba549382b coronabase, a pure qobject corona 2012-02-28 19:22:59 +01:00
Marco Martin
c8a1b35f78 cleanupanddelete is qgv specific too 2012-02-28 16:52:11 +01:00
David Faure
bf9651c51a Remove last usage of kgenericfactory.h 2012-02-21 00:11:36 +01:00
David Faure
083d157684 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	kdecore/network/k3datagramsocket.cpp
	kdeui/actions/kstandardaction.cpp
	kdeui/dialogs/kconfigdialogmanager.cpp
	kdeui/icons/kicondialog.cpp
	kdeui/itemviews/kviewstatesaver.h
	kfile/knewfilemenu.cpp
	kio/misc/kpac/downloader.cpp
	kio/tests/kdirlistertest.cpp
	kparts/browserextension.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/query/queryserviceclient.cpp
	nepomuk/test/ratingpaintertestwidget.cpp
	nepomuk/ui/kedittagsdialog.cpp
	nepomuk/ui/ktagcloudwidget.cpp
	nepomuk/ui/ktagdisplaywidget.cpp
	nepomuk/ui/nepomukmassupdatejob.cpp
	nepomuk/ui/tagwidget.cpp
	nepomuk/utils/daterangeselectionwidget.cpp
	nepomuk/utils/facetwidget.cpp
	nepomuk/utils/searchwidget.cpp
	plasma/containment.cpp
	plasma/datacontainer.cpp
	plasma/deprecated/animator.cpp
	plasma/extenders/extender.cpp
	plasma/plasma.h
	plasma/scripting/wallpaperscript.cpp
	tier1/solid/tests/networkingclient.cpp
(signal/slot normalization changes conflicted with KUrl->QUrl changes
and with other changes in frameworks)
2012-02-14 12:32:25 +01:00
Aaron Seigo
454cbaa7cb fix up constraintsEvent documentation 2012-02-13 22:30:29 +01:00
Stephen Kelly
b1b68adb7d Don't use the QtGui module name in includes.
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +01:00
David Faure
9baa0bb4f0 Fix compilation, it seems this slot is gone. Not sure how git merge messed up... 2011-12-09 16:08:15 +01:00
David Faure
c7ab521ee7 Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	experimental/libkactivities/
	plasma/applet.h
	plasma/theme.cpp
	staging/libkcoreaddons/src/jobs/kjob.cpp
2011-12-08 19:06:24 +01:00
Aaron Seigo
6dd71f8120 configGroup(QString) is redundant with config() 2011-12-06 17:46:32 +01:00
Aaron Seigo
21c1c05039 this method is no longer in the private class 2011-12-06 17:46:13 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
4b3b687088 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:59:51 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Aaron Seigo
bf17cc308a move BackgroundHints to Plasma::, make it a plain enum 2011-06-24 16:35:09 +02: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
a4dbbf60ea remove some empty reimplemented methods 2011-05-28 00:33:12 +02:00
Aaron Seigo
4cc44f6a92 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-28 00:25:07 +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
0043de0ae9 remove references to Context 2011-05-20 09:21:36 +02:00
Aaron Seigo
d7e13e62ae remove geometryChanged, it's in QGraphicsWidget these days 2011-05-20 08:53:53 +02:00
Aaron Seigo
9b31c61d29 proper capitalization of MimeType 2011-05-06 12:12:47 +02:00
Aaron Seigo
48a6a99b10 remove bogus property 2011-05-06 12:04:08 +02:00
Aaron Seigo
d76ceec0ca remove another unimplemented virtual 2011-05-05 14:27:34 +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