Commit Graph

41 Commits

Author SHA1 Message Date
Marco Martin
5323882c89 migrate some other events from qgraphicsevents 2012-11-08 18:34:17 +01:00
Stephen Kelly
9d49500245 Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	CMakeLists.txt
	interfaces/terminal/example/CMakeLists.txt
	kdecore/CMakeLists.txt
	kdeui/actions/ktogglefullscreenaction.cpp
	kdeui/widgets/khelpmenu.cpp
	kio/kio/accessmanager.cpp
	kio/kio/accessmanagerreply_p.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/core/resourcedata.cpp
	nepomuk/core/resourcemanager.cpp
	nepomuk/query/andterm_p.h
	nepomuk/query/comparisonterm.cpp
	nepomuk/query/comparisonterm_p.h
	nepomuk/query/literalterm.cpp
	nepomuk/query/literalterm_p.h
	nepomuk/query/negationterm.cpp
	nepomuk/query/negationterm_p.h
	nepomuk/query/optionalterm.cpp
	nepomuk/query/optionalterm_p.h
	nepomuk/query/orterm.cpp
	nepomuk/query/orterm_p.h
	nepomuk/query/query.cpp
	nepomuk/query/resourceterm.cpp
	nepomuk/query/resourceterm_p.h
	nepomuk/query/resourcetypeterm.cpp
	nepomuk/query/resourcetypeterm_p.h
	nepomuk/query/term_p.h
	plasma/package.cpp
	plasma/private/service_p.h
	plasma/runnermanager.cpp
	staging/kwidgets/autotests/kiconloader_unittest.cpp
	tier1/kcoreaddons/src/caching/kshareddatacache.cpp
	tier1/kdbusaddons/src/kdbusinterprocesslock.cpp
	tier1/solid/src/solid/backends/fstab/fstabmanager.cpp
	tier1/solid/src/solid/backends/wmi/wmicdrom.cpp
	tier1/solid/src/solid/backends/wmi/wmidevice.cpp
	tier1/solid/src/solid/backends/wmi/wmimanager.cpp
	tier1/solid/src/solid/backends/wmi/wmiopticaldisc.cpp
2012-06-16 13:40:47 +02:00
Alex Merry
c4c2e8ee49 Rename new Plasma::Service method to avoid clashes
Having overloaded Q_INVOKABLE methods where one takes a superclass of
another is a Bad Idea(TM), since the script engine cannot disambiguate
the methods.  associateItem is more accurate than associateWidget for
these methods, anyway.

REVIEW: 104760
2012-05-11 12:31:10 +01:00
Alex Merry
23b50f2dee Allow QML items to be associated with operations in Plasma::Service
QML items derive from QGraphicsObject, but not QGraphicsWidget.  We
actually only need QGraphicsObject (for the enabled property).

This allows calling (dis)associateWidget from QML (eg: in javascript
plasmoids) and passing in a QML item.
2012-05-11 11:55:48 +01:00
David Faure
2365f2c657 Some KUrl-QUrl porting. 2012-03-11 10:34:38 +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
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
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
69e9b84371 get rid of the redundant jobFinished signal in Service
it's a bitch for bindings as well
2011-06-03 13:16:35 +02:00
Aaron Seigo
fa61d11d3c Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/service.cpp
2011-06-03 13:15:36 +02:00
Aaron Seigo
66142028c0 move these around nicely 2011-06-03 13:13:19 +02:00
Aaron Seigo
cdaf2dd2d8 unneeded include 2011-05-31 01:02:26 +02:00
Aaron Seigo
060ef1757b QHash replaces QMap as the sorting of QMap is pure overhead 2011-05-26 19:01:44 +02:00
Aaron J. Seigo
114c5373f3 missing properties
svn path=/trunk/KDE/kdelibs/; revision=1159723
2010-08-06 02:22:30 +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
Shaun Reich
b1b93f5047 be more explicit in docs, on when/how to delete services
svn path=/trunk/KDE/kdelibs/; revision=1135278
2010-06-07 02:54:57 +00:00
Aaron J. Seigo
57b809f29e allow for args to be passed to the service plugin
svn path=/trunk/KDE/kdelibs/; revision=1126018
2010-05-12 23:30:10 +00:00
Aaron J. Seigo
30dc3caf9b * move remotedataengine.h to remotedataengine_p.h as it's private
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance

svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +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
Marco Martin
f3cdd2086b some Q_INVOKABLEs to be used in scripts
svn path=/trunk/KDE/kdelibs/; revision=906199
2009-01-05 19:09:24 +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
Aaron J. Seigo
254d4c7107 update dox to reflext api changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870159
2008-10-11 22:36:32 +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
266765dd9b take an optional parent parameter, always be sure the job has a parent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866341
2008-09-30 16:03:11 +00:00
Aaron J. Seigo
b53e688306 make it possible to connect to this signal outside the Plasma namespace
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856845
2008-09-03 22:25:13 +00:00
Alex Merry
9ce3660816 * rename operationIsEnabled to isOperationEnabled
* add disassociateWidget() methods
* don't allow a widget to associated with more than one operation
* set the enabled status properly when we associate a widget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852983
2008-08-26 23:04:53 +00:00
Alex Merry
8355e9e027 operationIsEnabled() should be public.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852940
2008-08-26 21:42:23 +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
3461b97edc support enabling and disabling operations in services
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845852
2008-08-12 13:58:58 +00:00
Aaron J. Seigo
0d175ab165 * signal when operations change
* allow associating widgets with specific operations

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841832
2008-08-04 08:00:47 +00:00
Dirk Mueller
754b000b42 also implement the plugin version checks for the other plugin types
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833940
2008-07-17 16:26:29 +00:00
Alex Merry
56968db224 Actually call registerOperationScheme(). Also document a macro.
CCMAIL:panel-devel@kde.org
Can someone backport this to the 4.1 branch, please?  Otherwise no-one can write services in 4.1.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833339
2008-07-16 17:04:40 +00:00
Laurent Montel
08667afe43 Fix export (needs by dataengine/nowplaying)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832687
2008-07-15 06:38:20 +00:00
Alex Merry
5668672342 Documentation fix.
SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832033
2008-07-13 22:00:03 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Kevin Ottens
dd95e5a8e6 Renaming methods around operation calls to get better discoverability of
the API. KConfigGroup instances are the whole operation description, not
simply the parameters.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814507
2008-05-30 14:26:07 +00:00
Pino Toscano
3ad723c617 fixup of CamelCase includes in public headers:
- QtModule/QClass for Qt includes
- KDE/KClass for KDE includes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809478
2008-05-18 23:18:59 +00:00
Aaron J. Seigo
5f3493654f first draft of Service; still evaluating the use of KConfigSkeleton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809020
2008-05-18 04:27:54 +00:00