Can D be cute? (Qt)

bearophile bearophileHUGS at
Sat May 8 05:26:52 PDT 2010

Justin Johansson:
> You will observe that "public slots" is not valid C++.  Qt's meta-object 
> compiler does a preprocessing of the MyWidget class so that methods 
> declared under the "public slots:" scope are subject to some kind of 
> reflection or introspection that enables events (signals) to be delegate 
> to the respective methods.

More info about QT signals and slots:

But if you look for a solution integrated in the D2/D3 language, then JavaFX bind and triggers seem nice (this stuff is useful for GUIs):


More information about the Digitalmars-d mailing list