[Kde-bindings] small qtruby example

Alexander Kellett lypanov at kde.org
Sat Aug 2 14:05:20 UTC 2003


On Thu, Jul 31, 2003 at 06:45:48PM +0100, Richard Dale wrote:
> It really needs a 'constant_missing' method that would allow you to trap 
> references to constants like Qt::RichText, but I couldn't find any way of 
> doing it.

umm.. maybe you can override const_get in 1.8?
not sure. ri doesn't say anything really interesting.

> > makes for really wierd
> > error messages for
> > very simple errors :)
> Yes, I don't know if there's much I can do about that to improve the error 
> messages.

i improved it slightly by
printing out some useful 
context hints. its just a 
two liner. commited and
added to changelog already.

Alex


More information about the Kde-bindings mailing list