Doc fix: QHistoryState is registered in QML as HistoryState
authorPierre Rossi <pierre.rossi@theqtcompany.com>
Tue, 27 Jan 2015 12:29:49 +0000 (13:29 +0100)
committerPierre Rossi <pierre.rossi@theqtcompany.com>
Wed, 28 Jan 2015 08:01:21 +0000 (08:01 +0000)
The documentation enum values should reflect that.

Task-number: QTBUG-44088
Change-Id: I0042da252eac10301fff4289402f158a7b0d0ff6
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/imports/statemachine/state.cpp

index 56ecd01..bcc14b5 100644 (file)
@@ -221,15 +221,15 @@ QQmlListProperty<QObject> State::children()
 
     \brief The type of history that this history state records.
 
-    The default value of this property is QHistoryState.ShallowHistory.
+    The default value of this property is HistoryState.ShallowHistory.
 
-    This enum specifies the type of history that a QHistoryState records.
+    This enum specifies the type of history that a HistoryState records.
     \list
-    \li QHistoryState.ShallowHistory Only the immediate child states of the
+    \li HistoryState.ShallowHistory Only the immediate child states of the
         parent state are recorded.  In this case, a transition with the history
         state as its target will end up in the immediate child state that the
         parent was in the last time it was exited.  This is the default.
-    \li QHistoryState.DeepHistory Nested states are recorded.  In this case
+    \li HistoryState.DeepHistory Nested states are recorded.  In this case
         a transition with the history state as its target will end up in the
         most deeply nested descendant state the parent was in the last time
         it was exited.