[Kde-bindings] [Bug 205311] [Qyoto] Usage of delegates over "connections" desired

Arno Rehn arno at arnorehn.de
Sun Aug 30 16:22:28 UTC 2009


On Sunday 30 August 2009 17:53:13 Richard Dale wrote:
> On Saturday 29 August 2009 01:38:34 am Arno Rehn wrote:
> > https://bugs.kde.org/show_bug.cgi?id=205311
> >
> >
> > Arno Rehn <kde at arnorehn.de> changed:
> >
> >            What    |Removed                     |Added
> > -------------------------------------------------------------------------
> >-- - Status|UNCONFIRMED                 |RESOLVED
> >                  CC|                            |kde at arnorehn.de
> >          Resolution|                            |INVALID
> >
> >
> >
> >
> > --- Comment #1 from Arno Rehn <kde arnorehn de>  2009-08-29 02:38:34 ---
> > You can already connect a signal to a delegate with
> >
> > Connect(this, SIGNAL("foo()"), delegate {
> >     Console.WriteLine("Hello World!");
> > });
> >
> > The problem with mapping signals to .NET events is that signals can be
> > overloaded, but events can't.
> >
> > I'm thinking about using a syntax like
> > Connect<int>(this.Signals.Foo, this.Foo) to make it easier to use signals
> > and slots, but this is still not really .NET-like.
> >
> > If you have ideas on how to improve the situation, feel free to post them
> > here or (better) send them to kde-bindings at kde.org. :)
> >
> > Closing this as invalid for now.
>
> Maybe it would be a good idea to have a page on the KDE Techbase Wiki about
> this? That would be better than the kde-bindings.kde.org mailing list or
> bugs.kde.org because the arguments for and against would be less likely to
> get lost and consequently endlessly repeated.
This would probably be best, but I don't quite know where to put this on 
techbase. Should we put it here 
http://techbase.kde.org/Development/Languages/Qyoto ?

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list