[Kde-bindings] smoke and enums
thomas.moenicke at kdemail.net
Mon Feb 5 20:44:59 UTC 2007
in PHP-Qt I want to access values of enums:
$slider = new QSlider(Qt::Horizontal);
I can do it with defining Qt::Horizontal as a PHP class constant of an
imitated class 'Qt'
zend_declare_class_constant_long(ce_ptr, "Horizontal", strlen("Horizontal"),
How can I fetch these enum informations from smoke? I would like to pre-define
all enums as class constants in a loop. How does it work in Perl or Ruby?
More information about the Kde-bindings