[Kde-bindings] QtRuby setValidator

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Mar 25 20:18:00 UTC 2004


On Thursday 25 March 2004 12:50, Imobach González Sosa wrote:
> Using DoubleValidator instead QDoubleValidator seems to work fine, just
> like then LineEdit case. A little curiosity: why the classes have been
> renamed?
It's because the QtRuby project was derived from the PerlQt project which did 
that. We tried to keep everything as similar as possible including the class 
naming scheme. That's why although QtRuby hasn't been announced as a first 
release yet, it works better than you might expect - because the PerlQt users 
have been doing the testing for us with the shared runtime code.. We can 
share bug fixes and reports - underneath they are very similar.

I think Korundum is probably the largest scale ruby language bindings project 
- it has over 950 classes and 29000 methods. If you put the Qt classes in a 
Qt:: namespace and the KDE classes like KApplication in KDE::Application at 
least you can split them up a bit, instead of them all going in a common 
global namespace. Then there are DOM::, KHTML::, KIO::, KParts:: and so on 
too.

-- Richard



More information about the Kde-bindings mailing list