blob: 08a152bb6bf218beba323bd48d4f9bc824b9eb95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
\section1 Connecting to States
The media player state machine will send out events when users tap a control
and when playback starts or stops, as specified in the SCXML file:
\quotefromfile mediaplayer-common/mediaplayer.scxml
\skipto <state
\printuntil !==
\printuntil </state
To be notified when a state machine sends out an event, we connect to the
corresponding signals:
\quotefromfile mediaplayer-common/mainwindow.cpp
\skipto connect(ui
\printuntil playbackStopped
|