Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hello,
How many slots can you connect to a signal?
Hi, It's unlimited, It's just a event queue handled by the QApplication
but...how? i only know how to use the connect function.
@ QObject::connect(&aObject, SIGNAL(ValueChanged(int)), &bObject, SLOT(setValue(int))); @
Hi,
And that's right function. You can connect the same signal to as many objects as you want, you just need to write all the connect statement OR if the multiple targets are of the same class use a loop to do the connection.
i messed up some parameters. thread is solved. :D