Can D be cute? (Qt)
Marianne Gagnon
auria.mg at gmail.com
Sat May 8 08:27:16 PDT 2010
Hi Justin,
looking at QtD, it seems like it can be done :
In file http://www.dsource.org/projects/qtd/browser/demos/browser/browsermainwindow.d
m_historyHome.triggered().connect(&this.slotHome);
// ...
public:
void slotHome()
{
// ...
}
I however believe that this kind of delegate-connection can also be performed in C++ (with templates?). Maybe Qt developers simply continue using the MOC because they don't want to break backwards compatibility.
-- Auria
More information about the Digitalmars-d
mailing list