[Kde-bindings] ruby bindings

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


[note, real old email]

On Wed, Jul 02, 2003 at 01:14:23PM +0100, Richard Dale wrote:
> I don't like scripting languages to have to use C++ type signatures for 
> connecting signals and slots, I think they should be hidden from a 
> prototyping language like perl or ruby.
> 
> This:
> Qt::Object::connect(fontComboBox, SIGNAL "activated(string)", textEdit, SLOT 
> "setFocus()");
> 
> Rather than this:
> Qt::Object::connect(fontComboBox, SIGNAL "activated(const QString&)", 
> textEdit, SLOT "setFocus()");
> 
> .or maybe not. I assume PerlQt users haven't complained so perhaps it doesn't 
> matter.

i'd agree here. makes for much more readable code.
you get any further on this account? haven't really
needed any such signals slots yet in ruby.

Alex


More information about the Kde-bindings mailing list