[Kde-bindings] Bug in rb config compiler related to enums

Robert Riemann robert.riemann at physik.hu-berlin.de
Thu Aug 19 10:29:22 UTC 2010


Hi korundum4!

When I create my KConfigSkeleton with the ruby generator ,
invalid ruby code is genereted:

  class EnumQuality
    640x360 = 0
   
854x480 = 1
    480x360 = 2
    1280x720 = 3
    1920x1080 = 4
    4096x3072
= 5
    COUNT = 6
  end

btw:: maybe it would be better to use a module
instead of a class.

Best regards,
Robert
-------------- next part --------------
File=YoutubeSettings.kcfg
ClassName=YoutubeSettings
Mutators=true
Singleton=true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: YoutubeSettings.kcfg
Type: application/xml
Size: 731 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100819/7021bf6b/attachment.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100819/7021bf6b/attachment.sig>


More information about the Kde-bindings mailing list