diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-09-28 12:29:19 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-09-28 12:29:19 (GMT) |
commit | e473c6b6c61ce1f10ddd26dfc0aba6b072b6256d (patch) | |
tree | 3efd4a3b585e4c2ddd0bcd93c2f5c0da14abdde1 /doc | |
parent | d1f4f443dac3329a1068f9a857d41999d0bcf1d4 (diff) | |
parent | dcc6bf72843689dbe02404fc642641a3ba58106a (diff) | |
download | Qt-e473c6b6c61ce1f10ddd26dfc0aba6b072b6256d.zip Qt-e473c6b6c61ce1f10ddd26dfc0aba6b072b6256d.tar.gz Qt-e473c6b6c61ce1f10ddd26dfc0aba6b072b6256d.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/development/qmake-manual.qdoc | 2 | ||||
-rw-r--r-- | doc/src/examples/rogue.qdoc | 2 | ||||
-rw-r--r-- | doc/src/frameworks-technologies/statemachine.qdoc | 6 | ||||
-rw-r--r-- | doc/src/snippets/statemachine/eventtest.cpp | 2 |
4 files changed, 7 insertions, 5 deletions
diff --git a/doc/src/development/qmake-manual.qdoc b/doc/src/development/qmake-manual.qdoc index 861c772..f2cae5b 100644 --- a/doc/src/development/qmake-manual.qdoc +++ b/doc/src/development/qmake-manual.qdoc @@ -4056,6 +4056,8 @@ You can test for any other platform-compiler combination as long as a specification exists for it in the \c mkspecs directory. + The scope \c unix is true for the Symbian platform. + \section1 Variables Many of the variables used in project files are special variables that diff --git a/doc/src/examples/rogue.qdoc b/doc/src/examples/rogue.qdoc index 3eb9249..4f9dc3f 100644 --- a/doc/src/examples/rogue.qdoc +++ b/doc/src/examples/rogue.qdoc @@ -194,7 +194,7 @@ \snippet examples/statemachine/rogue/movementtransition.h 1 - The KeyPress events come wrapped in \l{QWrappedEvent}s. \c event + The KeyPress events come wrapped in \l{QStateMachine::WrappedEvent}s. \c event must be confirmed to be a wrapped event because Qt uses other events internally. After that, it is simply a matter of checking which key has been pressed. diff --git a/doc/src/frameworks-technologies/statemachine.qdoc b/doc/src/frameworks-technologies/statemachine.qdoc index 904b551..2b137dd 100644 --- a/doc/src/frameworks-technologies/statemachine.qdoc +++ b/doc/src/frameworks-technologies/statemachine.qdoc @@ -308,9 +308,9 @@ A QStateMachine runs its own event loop. For signal transitions (QSignalTransition objects), QStateMachine automatically posts a - QSignalEvent to itself when it intercepts the corresponding signal; - similarly, for QObject event transitions (QEventTransition objects) a - QWrappedEvent is posted. + QStateMachine::SignalEvent to itself when it intercepts the corresponding + signal; similarly, for QObject event transitions (QEventTransition objects) + a QStateMachine::WrappedEvent is posted. You can post your own events to the state machine using QStateMachine::postEvent(). diff --git a/doc/src/snippets/statemachine/eventtest.cpp b/doc/src/snippets/statemachine/eventtest.cpp index b6397ba..817dbfc 100644 --- a/doc/src/snippets/statemachine/eventtest.cpp +++ b/doc/src/snippets/statemachine/eventtest.cpp @@ -52,7 +52,7 @@ protected: bool eventTest(QEvent *event) { if (event->type() == QEvent::Wrapped) { - QEvent *wrappedEvent = static_cast<QWrappedEvent *>(event)->event(); + QEvent *wrappedEvent = static_cast<QStateMachine::WrappedEvent *>(event)->event(); if (wrappedEvent->type() == QEvent::KeyPress) { QKeyEvent *keyEvent = static_cast<QKeyEvent *>(wrappedEvent); // Do your event test |