enums in dataengines

Aaron J. Seigo aseigo at kde.org
Mon Nov 1 17:34:05 CET 2010


On Monday, November 1, 2010, Chani wrote:
> how should I represent this in the dataengine - an integer? a string?

unless the integer has intrinsic meaning (e.g. the key is "Number of items"), 
a string is generally prefered.


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

KDE core developer sponsored by Qt Development Frameworks
-------------- 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/0a05c152/attachment.sig 


More information about the Plasma-devel mailing list