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:55:37 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103732/
-----------------------------------------------------------

(Updated Jan. 19, 2012, 7:55 a.m.)


Review request for KDE Base Apps and kdelibs.


Description (updated)
-------

Record job dbus id in Plasma::DataEngine object.

This will give a simple way to do things 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/4ed30a72/attachment.htm>


More information about the kde-core-devel mailing list