[Kde-bindings] Qyoto: Delegates vs signals

Richard Dale rdale at foton.es
Wed Sep 2 16:42:12 UTC 2009


On Wednesday 02 September 2009 05:00:16 pm Arno Rehn wrote:
> f we implement it in a way like this, I'd completely revamp the whole
> signal stuff in Qyoto and maybe get rid of 'Emit' completely (in favour of
> something like Signals.Activated.Emit(5) and
> Signals.Activated.Connect(myDelegate)).
Well i personally think that Emit is one of the best bits of the Qyoto design 
- it is type safe with no strings in it, clear to read and very similar to the 
C++ version. Maybe add other sorts of emit, but these things like 
'Activate_String' look ugly to me.

-- Richard



More information about the Kde-bindings mailing list