[Qt-interest] Signals and slots question
Peter
pgeorges at gmail.com
Sat Feb 20 07:59:03 CET 2010
Hi,
I've been using qt's signals and slots for a while now. However, I have also
used other implementations of the observer pattern which work slightly
differently.
In qt you must connect a slot to a signal but from what i know the object
sending the signal must exist already (you connect one object's signal to
another object's slot). I have used other implementations where the signals
are defined independently of any objects. That way anything could register
themselves with the signal and any other object could fire that signal off.
Is there anyway to do that using qt's signals and slots system?
Cheers,
Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100220/73d5c109/attachment.html
More information about the Qt-interest-old
mailing list