KJob modifications
Rafael Fernández López
ereslibre at gmail.com
Wed Jan 31 21:08:55 GMT 2007
After a discussion with Kevin and David, we came with the solution of
adding "capabilities" to jobs.
This is looking forward the kuiserver. I mean, you write a new job
class for your application that inherits KJob. First of all, you set
the capabilities you want (if you don't set any, it will be "None" by
default), and then you inform the observer about the new job.
For that time, the observer at newJob method will check out which
capabilities can be handled and will add those actions that are
related to those capabilities.
I had some minutes to write this patch, and to know what you think about it.
--
Bye and thank you,
Rafael Fernández López.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070131/2813a72c/attachment.ksh>
More information about the kde-core-devel
mailing list