Revisiting uiserver

Aaron J. Seigo aseigo at kde.org
Sun Dec 17 20:05:24 GMT 2006


On Sunday 17 December 2006 8:07, Rafael Fernández López wrote:
> 2. The app calls (for example) Observer::self()->addAction(myJobId, "Stop
> Burning CD", 0 /* int that will be returned when this action is performed
> */); So now, the action number is in some relation with the jobId. When the
> signal is emitted, the app should check if the jobId of the signal matches
> any jobId that the app launched. If so, it *really* executes the proper
> action.

how about allowing one to optionalyl instead define a specific callback for 
the action, e.g. a slot?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061217/70565e73/attachment.sig>


More information about the kde-core-devel mailing list