summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-19 09:46:16 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-19 07:50:04 +0000
commit52d9d99ee8ff4b365a195b246b205ce09e17b3b6 (patch)
treeea6fc14a63473568204abe2579672199c0bf44f2
parentb5a179fba6f08e29f777cf10d0972d60b61637ad (diff)
Doc: Add docs for QScxmlStateMachine::externalEventOccurred
Change-Id: I2334c9ad9ba01b9d23b7bea973e0f36d37a522b0 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/scxml/qscxmlstatemachine.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/scxml/qscxmlstatemachine.cpp b/src/scxml/qscxmlstatemachine.cpp
index fae3fdc..6603703 100644
--- a/src/scxml/qscxmlstatemachine.cpp
+++ b/src/scxml/qscxmlstatemachine.cpp
@@ -209,7 +209,20 @@ QScxmlEventFilter::~QScxmlEventFilter()
/*!
\fn QScxmlStateMachine::eventOccurred(const QScxmlEvent &event)
- This signal is emitted when the SCXML event \a event occurs.
+ This signal is emitted when the SCXML event \a event occurs. This signal is
+ emitted for all events.
+
+ \sa externalEventOccurred()
+*/
+
+/*!
+ \fn QScxmlStateMachine::externalEventOccurred(const QScxmlEvent &event)
+
+ This signal is emitted for each \c <send> element in the SCXML file that
+ contains the attribute \c {type="qt:signal"}. The event that occurred is
+ specified by \a event.
+
+ \sa eventOccurred()
*/
QAtomicInt QScxmlStateMachinePrivate::m_sessionIdCounter = QAtomicInt(0);