diff options
author | Jarek Kobus <jkobus@trolltech.com> | 2010-01-08 12:51:58 (GMT) |
---|---|---|
committer | Jarek Kobus <jkobus@trolltech.com> | 2010-01-08 12:53:29 (GMT) |
commit | 5533c854c154ec39ecdf15734a5be090dba19d0e (patch) | |
tree | 5ec2863dbc1b7f4e78b99f236e7b6f123a17e9e8 | |
parent | 4f362459366122d12939057bfa13c770f09037a3 (diff) | |
download | Qt-5533c854c154ec39ecdf15734a5be090dba19d0e.zip Qt-5533c854c154ec39ecdf15734a5be090dba19d0e.tar.gz Qt-5533c854c154ec39ecdf15734a5be090dba19d0e.tar.bz2 |
Doc typos fixed
Reviewed-by: David Boddie <dboddie@trolltech.com>
-rw-r--r-- | doc/src/examples/moveblocks.qdoc | 6 | ||||
-rw-r--r-- | examples/animation/moveblocks/main.cpp | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/examples/moveblocks.qdoc b/doc/src/examples/moveblocks.qdoc index 2dce477..250251d 100644 --- a/doc/src/examples/moveblocks.qdoc +++ b/doc/src/examples/moveblocks.qdoc @@ -60,7 +60,7 @@ states. \o \c StateSwitchTransition is a custom transition that triggers on \c{StateSwitchEvent}s. - \o \c StateSwitchEvent is a QEvent that trigger \c{StateSwitchTransition}s. + \o \c StateSwitchEvent is a QEvent that triggers \c{StateSwitchTransition}s. \o \c QGraphicsRectWidget is a QGraphicsWidget that simply paints its background in a solid \l{Qt::}{blue} color. \endlist @@ -141,7 +141,7 @@ Finally, we can create the state machine, add our initial state, and start execution of the state graph. - \section2 The \c createGemetryState() Function + \section2 The \c createGeometryState() Function In \c createGeometryState(), we set up the geometry for each graphics item. @@ -155,7 +155,7 @@ \section1 The StateSwitcher Class \c StateSwitcher has state switch transitions to each \l{QState}s - we created with \c createGemetryState(). Its job is to transition + we created with \c createGeometryState(). Its job is to transition to one of these states at random when it is entered. All functions in \c StateSwitcher are inlined. We'll step through diff --git a/examples/animation/moveblocks/main.cpp b/examples/animation/moveblocks/main.cpp index f8aa434..a2c0958 100644 --- a/examples/animation/moveblocks/main.cpp +++ b/examples/animation/moveblocks/main.cpp @@ -147,7 +147,6 @@ QState *createGeometryState(QObject *w1, const QRect &rect1, { QState *result = new QState(parent); result->assignProperty(w1, "geometry", rect1); - result->assignProperty(w1, "geometry", rect1); result->assignProperty(w2, "geometry", rect2); result->assignProperty(w3, "geometry", rect3); result->assignProperty(w4, "geometry", rect4); |