[Kde-bindings] Best way to manually connect events in Qyoto?

IBBoard ibboard at gmail.com
Sat Jan 30 21:01:49 UTC 2010


On 30/01/10 20:51, Arno Rehn wrote:
> The signals of a QObject are defined in the I<ClassName>Signals interface 
> (e.g. Qyoto.IQAbstractButtonSignals). That interface is used to emit signals 
> (via foo.Emit.Clicked()), but I guess you can also use it to list the 
> available signals. They are in their C# form, then, but inferring the original 
> C++ signature shouldn't be too hard. The C++ signature is also attached as an 
> attribute, but I don't know if MonoDevelop supports showing method attributes.

I'll take a look at those interfaces and see what I can work out from
there. I'm not sure if they'll be anything more than reference, but I
guess I won't know until I try. It'll probably have to be something I
check out on Monday now, though.

> 
> Otherwise there is also the Qt offline documentation ('assistant' is your 
> friend ;)).

There is that, but most APIs I work with are sufficiently documented or
self-documenting that they don't need the offline documentation for most
normal work. I guess I'm just used to having everything I need in the
IDE for modern languages (I mainly use Java and C#)

> 
> For KDE 4.5 we plan to support events which map to Qt signals. If a signal is 
> overloaded, a scoring system for the parameters decides which signal is mapped 
> to the event.
> 

It sounds like all the good stuff is coming in the next version, then :D
System-native icons and proper events :) I'm intrigued by the "scoring
system".

Thanks,

IBBoard



More information about the Kde-bindings mailing list