[Kde-bindings] Re: kdebindings/qtruby (silent)

Heinrich Küttler heinrich.kuettler at gmx.de
Wed Jul 30 14:41:26 UTC 2003


Hi, just some random remarks.

Richard Dale wrote:

>>else. if you are out of time (i really hope not), i'm
>>really not at all interested in doing any real c++ at
>>the moment, but bindings work could be fun, so, any
>>chance you could fill in the TODO list with a few things
>>i could help out on?, first thing i'll do is to take a
>>look for an answer to your "include Qt" question first.
> 
> Yes, top of the to do list, is writing a to do list :). The original RubyQt 
> bindings needed both a require and an include, but when I looked at the gtk 
> bindings they just needed a require. 

Well, the original bindings did not *need* the include, it was just 
convenient not to write 'Qt2::' everywhere.

> Should there be a runtime option to use underscores and lower case only in 
> method names? 

I feel somehow like leaving Qt as much like it is in C++ is a good idea. 
For various reasons, probably mostly unreasonable ones. But at least 
this one seems sensible: There is a nice lisp function for (X)Emacs, 
which pops up a konqy window showing the Qt documentation of the class 
the cursor is on. This is quite nice, but it works only with the full Qt 
names, like 'QWidget'. Therefore, it would be nice to have a runtime 
option to leave the Q's there. On the other hand, this makes several 
scripts look unnecessarily different.

> Adapt puic to create a rbuic tool (I was going to do that next I think)

The original RubyQt had both a ruby script (ui2rb) and a hacked uic for 
this purpose, this sould really be reusable.

Heiner



More information about the Kde-bindings mailing list