summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlfinalstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qumlfinalstate.cpp')
-rw-r--r--src/uml/qumlfinalstate.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uml/qumlfinalstate.cpp b/src/uml/qumlfinalstate.cpp
index 8d09e589..b51d3512 100644
--- a/src/uml/qumlfinalstate.cpp
+++ b/src/uml/qumlfinalstate.cpp
@@ -72,6 +72,10 @@ QT_BEGIN_NAMESPACE
\brief A special kind of state signifying that the enclosing region is completed. If the enclosing region is directly contained in a state machine and all other regions in the state machine also are completed, then it means that the entire state machine is completed.
*/
+
+/*!
+ Creates a new QUmlFinalState. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QUmlFinalState::QUmlFinalState(bool createQModelingObject) :
QUmlState(false)
{
@@ -79,6 +83,9 @@ QUmlFinalState::QUmlFinalState(bool createQModelingObject) :
_qModelingObject = qobject_cast<QModelingObject *>(new QUmlFinalStateObject(this));
}
+/*!
+ Returns a deep-copied clone of the QUmlFinalState.
+*/
QModelingElement *QUmlFinalState::clone() const
{
QUmlFinalState *c = new QUmlFinalState;