8.5.  Signals and Slots

[ fromfile: signals.xml id: signals ]

Figure 8.5.  QInputDialog

QInputDialog

[Tip]Tip

If you have multiple signals connected to the same slot, and need to know which QObject emitted the signal, you can call sender() from inside the slot, and it returns a pointer to that object.



[41] When the lists are assignment compatible, this means that corresponding parameters must be compatible. In Qt, the slot must have at least as many paramaters as the signal. The slot can ignore extra arguments.

[42] or signal

[43] Connection is not restricted to the current thread Section 17.2