qt:signals_and_slots
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qt:signals_and_slots [2010/12/09 15:10] – [Making connections] mithat | qt:signals_and_slots [2010/12/09 15:13] – [Multiple connections] mithat | ||
---|---|---|---|
Line 10: | Line 10: | ||
</ | </ | ||
- | The emiter emits the signal '' | + | The emiter emits the signal '' |
- | + | ||
- | Errors in connecting signals and slots are not reported in compiling or linking. However, they will produce a runtime warning: \\ | + | |
- | '' | + | |
Example: | Example: | ||
Line 28: | Line 24: | ||
The '' | The '' | ||
+ | |||
+ | The number of parameters emited by a signal is allowed to be greater than the number of parameters received by a slot; extra parameters are ignored. | ||
+ | |||
+ | Errors in connecting signals and slots are not reported in compiling or linking. However, they will produce a runtime warning: \\ | ||
+ | \\ | ||
+ | '' | ||
===== Multiple connections ===== | ===== Multiple connections ===== | ||
Signals may connect to multiple slots. Multiple signals may also connect to a single slot. | Signals may connect to multiple slots. Multiple signals may also connect to a single slot. | ||
- | In the case of multiple | + | In the case of multiple |
===== Writing your own slots ===== | ===== Writing your own slots ===== |
qt/signals_and_slots.txt · Last modified: 2011/04/01 11:10 by mithat