enums in dataengines

Chani chanika at gmail.com
Mon Nov 1 15:35:11 CET 2010


so... I'm about to update the activity engine on RB to the new activity API. 
which includes an enum, State, with 5 possible values.

how should I represent this in the dataengine - an integer? a string? 
and how should it be treated by the consumer?
the enum itself is in KActivityInfo, and a few other places...

-- 
Chani
http://chani.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101101/c9297b80/attachment.sig 


More information about the Plasma-devel mailing list