[Qt-interest] why signals are not objects?

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Mon May 4 12:04:18 CEST 2009


Luca Ferrari wrote on Monday, May 04, 2009 11:12 AM:

> Ok, maybe a trivial question, but I didn't find anything about in the
> archives: why signals are not implemented as c++ objects? Should not
> be simpler the implementation of the signal/slot mechanism?

I don't know if the following answers your question, it answers the question "Why Doesn't Qt Use Templates for Signals and Slots?"

  http://doc.trolltech.com/4.5/templates.html

Maybe some arguments given there also answer your question :)


Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list