Review Request: Record job dbus id in dataengine to allow software to terminate a job through DBUS
Bellegarde Cédric
gnumdk at gmail.com
Thu Jan 19 07:54:08 GMT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103732/
-----------------------------------------------------------
Review request for KDE Base Apps and kdelibs.
Description
-------
Record job dbus id in Plasma::DataEngine object.
This will give a simple way to thing like this:
QString path = "/JobViewServer/JobView_" + QString(data["jobDbusId"]);
QDBusMessage m = QDBusMessage::createMethodCall(
"org.kde.JobViewServer",
path,
"org.kde.JobViewV2",
"terminate");
bus.call(m);
when you want to terminate a job.
Diffs
-----
plasma/generic/dataengines/applicationjobs/kuiserverengine.cpp 59a4de7
Diff: http://git.reviewboard.kde.org/r/103732/diff/diff
Testing
-------
Thanks,
Bellegarde Cédric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120119/19e5c24b/attachment.htm>
More information about the kde-core-devel
mailing list