Hi guys.
I have started using QT 5.0.1 recently for a project at work, and I just realized that if I create a slot function with the exact same signature that the designer would have generated when using 'Go to slot...', it gets called even if I don't explicitly assign anything in the signal/slot editor.
It works on both window and linux with both MS and GCC tools configured.
I assume this connection is done by the moc, but I'm not sure.
So my question is; is this a reliable way to do it, or should I explicitly assign the signal/slot in the designer to make sure it works correctly on all platforms, and in the unforeseeable future?


Signal And Slot
One of the key features of Qt is its use of signals and slots to communicate between objects. Their use encourages the development of reusable components. A signal is emitted when something of potential interest happens. A slot is a Python callable. If a signal is connected to a slot then the slot is called when the signal is emitted.