[Kde-bindings] const_missing method in ruby 1.8
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Aug 5 11:40:35 UTC 2003
On Tuesday 05 August 2003 11:50, Alexander Kellett wrote:
> yup, works here also with all three, which one exactly would
> Qt::RichText be using? i am still confused by the Internal
> class. i'll read over the rest of the code tonight and possibly
> write some comments to help other new comers to the code.
rb_define_singleton_method(qt_module, "const_missing", (VALUE (*) (...))
module_method_missing, -1);
..would correspond to Qt::RichText
Qt:: is just a name space under 'qt_module'. The other classes with constants
are all in a flat hierarchy under the class Qt::Base.
-- Richard
More information about the Kde-bindings
mailing list