diff options
author | Andy Nichols <andy.nichols@nokia.com> | 2012-08-21 16:13:49 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-23 11:20:37 +0200 |
commit | fc924ae47e73a5b41e274a723d8f7cdefe921c4f (patch) | |
tree | 560b0969b970c262c5ebbc9eaa4d23157f103e19 /examples/widgets/doc/trafficlight.qdoc | |
parent | 8e0bac89d4b0f01b71c57f79a3b98a6ecb7f20ae (diff) |
Doc: Fix snippet and example referencing widget examples
Widget examples were moved into a widgets subfolder, but
qdoc references were not updated.
Change-Id: Id2a4573e723745b9827c664c852807d6116f8f6d
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'examples/widgets/doc/trafficlight.qdoc')
-rw-r--r-- | examples/widgets/doc/trafficlight.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/widgets/doc/trafficlight.qdoc b/examples/widgets/doc/trafficlight.qdoc index ec3578abaa..c35fa4915d 100644 --- a/examples/widgets/doc/trafficlight.qdoc +++ b/examples/widgets/doc/trafficlight.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example statemachine/trafficlight + \example widgets/statemachine/trafficlight \title Traffic Light Example The Traffic Light example shows how to use \l{The State Machine Framework} @@ -39,20 +39,20 @@ one light to another (red to yellow to green to yellow to red again) at certain intervals. - \snippet statemachine/trafficlight/main.cpp 0 + \snippet widgets/statemachine/trafficlight/main.cpp 0 The LightWidget class represents a single light of the traffic light. It provides an \c on property and two slots, turnOn() and turnOff(), to turn the light on and off, respectively. The widget paints itself in the color that's passed to the constructor. - \snippet statemachine/trafficlight/main.cpp 1 + \snippet widgets/statemachine/trafficlight/main.cpp 1 The TrafficLightWidget class represents the visual part of the traffic light; it's a widget that contains three lights arranged vertically, and provides accessor functions for these. - \snippet statemachine/trafficlight/main.cpp 2 + \snippet widgets/statemachine/trafficlight/main.cpp 2 The createLightState() function creates a state that turns a light on when the state is entered, and off when the state is exited. The state uses a @@ -64,7 +64,7 @@ \caption This is a caption \endomit - \snippet statemachine/trafficlight/main.cpp 3 + \snippet widgets/statemachine/trafficlight/main.cpp 3 The TrafficLight class combines the TrafficLightWidget with a state machine. The state graph has four states: red-to-yellow, yellow-to-green, @@ -78,7 +78,7 @@ \caption This is a caption \endomit - \snippet statemachine/trafficlight/main.cpp 4 + \snippet widgets/statemachine/trafficlight/main.cpp 4 The main() function constructs a TrafficLight and shows it. |