[Qt-interest] why signals are not objects?

Jesús Fernández Prieto jsfdez at gmail.com
Mon May 4 11:15:49 CEST 2009


Because are part of a type of object... The QObject wich has the information
about sender and all the implementation.

On Mon, May 4, 2009 at 11:11 AM, Luca Ferrari <fluca1978 at infinito.it> wrote:

> 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 agree that the
> moc
> provides more expressiveness but objects have a simpler implementation.
> So, what is the reason for choosing the moc instead of a set of classes?
>
> Luca
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090504/7b70d1d7/attachment.html 


More information about the Qt-interest-old mailing list