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 14:26] – [Making connections] mithat | qt:signals_and_slots [2010/12/09 14:57] – [Signals and slots] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Signals and slots ====== | ====== Signals and slots ====== | ||
- | Events are handled | + | Communication between objects |
===== Making connections ===== | ===== Making connections ===== | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | The '' | + | The '' |
+ | |||
+ | ===== Multiple connections ===== | ||
+ | Signals may connect to multiple slots. (FIXME Is the reverse true?) | ||
- | ===== Execution order ===== | ||
If a signal connects to multiple slots, the execution order of the slots is undefined. | If a signal connects to multiple slots, the execution order of the slots is undefined. | ||
Line 33: | Line 35: | ||
===== Writing your own signals ===== | ===== Writing your own signals ===== | ||
A number of signals are defined for many of the classes that make up Qt. It is also possible to implement new (or override existing :?:) signals. | A number of signals are defined for many of the classes that make up Qt. It is also possible to implement new (or override existing :?:) signals. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | Some examples are [[signal slot examples|here]]. | ||
+ |
qt/signals_and_slots.txt · Last modified: 2011/04/01 11:10 by mithat