Commit Graph

76 Commits

Author SHA1 Message Date
Nicolas Lécureuil
d50d3a3162 Convert to makedefine01 2012-08-24 03:16:04 +02: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
David Faure
ffdf930f8c Ran kdesdk/scripts/kf5/convert-kstandarddirs.pl 2012-06-12 12:59:34 +02:00
David Faure
0fd5c690c8 KStandardDirs::locate/locateLocal ported, by script, this time.
(kdesdk/scripts/kf5/convert-kstandarddirs.pl coming up)
2012-05-30 20:25:25 +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
Stephen Kelly
c8d2e51e43 Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	kdecore/jobs/kjob.h
	kdecore/kernel/kcmdlineargs.cpp
	kdewebkit/kwebpluginfactory.cpp
	plasma/service.cpp
	solid/solid/CMakeLists.txt
	solid/solid/backends/udev/udevdevice.cpp
	solid/solid/backends/udev/udevmanager.cpp
	solid/solid/backends/udev/udevportablemediaplayer.cpp
2012-04-29 13:09:37 +02:00
Alex Merry
4f5974104a Make a kDebug line more helpful
If the operation wasn't known, say what was asked for, not just what
was allowed.
2012-04-27 21:48:35 +01:00
David Faure
2365f2c657 Some KUrl-QUrl porting. 2012-03-11 10:34:38 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02: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
e40bb1bcdd adapt to changes in PackageStructure api 2011-07-19 21:53:03 +02:00
Aaron Seigo
53b5c433e5 may as well use the d ptr directly here 2011-07-19 20:00:25 +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
c109e2369b protect the pointer here as well 2011-06-03 12:56:11 +02:00
Aaron Seigo
592a6a63b3 be a bit safer with the widget pointer; too easy to trigger with sloppy scripting 2011-06-03 12:54:33 +02:00
Aaron Seigo
5ca2657a01 publish using a KPluginInfo 2011-05-31 01:01:18 +02:00
Aaron Seigo
cd32321b68 Merge branch 'libplasma2_signedpackages' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-30 23:41:53 +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 Seigo
9cdbf422ff consolidate remoting files, add signing gsoc 2011-04-29 15:18:35 +02:00
Aaron Seigo
9d337a0c01 nicer name 2011-04-29 11:17:29 +02:00
Artur Duque de Souza
97b37637fa Export icon information to package metadata for remote service
Get the original package metadata's icon and inject this information
into the package metadata that is going to be sent to the remote targets.

This way we are able to use the icon in several UIs which makes things
more beautiful ;)

CCMAIL:ervin@kde.org
Signed-off-by: Artur Duque de Souza <asouza@kde.org>
2011-04-28 18:52:34 -03:00
Marco Martin
dd6b783e13 new operations for Storage:
* expire, with age and group as parameters
* delete, with group and key as parameters

new db structure: creation time (still unused, but would be hard to add in future releases)
and access time, used for expire

svn path=/trunk/KDE/kdelibs/; revision=1192402
2010-11-02 22:05:48 +00:00
Aaron J. Seigo
4eafdd6b27 constify
svn path=/trunk/KDE/kdelibs/; revision=1182545
2010-10-04 21:48:06 +00:00
Jaime Torres Amate
57bbfe755c delete some uneeded if (pointer not null)
http://reviewboard.kde.org/r/5021/

svn path=/trunk/KDE/kdelibs/; revision=1167869
2010-08-25 14:48:41 +00:00
Aaron J. Seigo
94928254ae constify
svn path=/trunk/KDE/kdelibs/; revision=1159732
2010-08-06 03:42:26 +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
Ryan James Rix
e00a7b2422 Adds ability for applications which embed plasma to specify a class which
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.

http://reviewboard.kde.org/r/4554/


svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00
Aaron J. Seigo
d6e1845d3e use the previously undocument (and not working) in-memory-only KConfig mode
svn path=/trunk/KDE/kdelibs/; revision=1134604
2010-06-04 17:28:07 +00:00
Aaron J. Seigo
ac465edd15 ws fix
svn path=/trunk/KDE/kdelibs/; revision=1130848
2010-05-26 16:02:18 +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
c96119f4ed Rename the config.h.in to config-plasma.h.in for some added clarity.
svn path=/trunk/KDE/kdelibs/; revision=1021587
2009-09-09 15:37:03 +00:00
Rob Scheepmaker
34b9e01ac4 Make QCA2 an optional dependency for libplasma, so QCA2 can remain optional for all of kdelibs. Just disable remote widgets functionality if QCA2 is missing.
svn path=/trunk/KDE/kdelibs/; revision=1021543
2009-09-09 13:40:16 +00:00
Rob Scheepmaker
5b160ac802 Make policykit stuff 'work' (well, it doesn't, I'll still have to figure
out why, but the basic code is there), and delay the starting of the
jolie service and unlocking of the keyring for your credentials to when
it's actually needed.

svn path=/trunk/KDE/kdelibs/; revision=1019142
2009-09-02 23:49:58 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Aaron J. Seigo
b684273624 return a dummy group when we have no description set up; prevents crashes when the operations file is not available
BUG:200475

svn path=/trunk/KDE/kdelibs/; revision=1005964
2009-08-02 18:24:20 +00:00
Aaron J. Seigo
fd093720ef a bit more helpful debug output for future such problems
svn path=/trunk/KDE/kdelibs/; revision=905618
2009-01-04 18:12:27 +00:00
Aaron J. Seigo
c98d3aacf5 one less contains
svn path=/trunk/KDE/kdelibs/; revision=895571
2008-12-11 02:47:11 +00:00
Aaron J. Seigo
c4d63ac944 don't access an invalid group
BUG:176595

svn path=/trunk/KDE/kdelibs/; revision=891029
2008-12-01 00:28:50 +00:00
Aaron J. Seigo
c6f32b32f9 small hack to allow saving of defaults in ConfigLoader; used by Service, so put into the private impl for ConfigLoader and used that way.
based on a patch by Alain Boyer

CCMAIL:aainboyer@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=887072
2008-11-21 01:26:43 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +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
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