summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlclearvariableaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qumlclearvariableaction.cpp')
-rw-r--r--src/uml/qumlclearvariableaction.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uml/qumlclearvariableaction.cpp b/src/uml/qumlclearvariableaction.cpp
index 6475f03f..b3f88d35 100644
--- a/src/uml/qumlclearvariableaction.cpp
+++ b/src/uml/qumlclearvariableaction.cpp
@@ -73,12 +73,19 @@ QT_BEGIN_NAMESPACE
\brief A clear variable action is a variable action that removes all values of a variable.
*/
+
+/*!
+ Creates a new QUmlClearVariableAction. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QUmlClearVariableAction::QUmlClearVariableAction(bool createQModelingObject)
{
if (createQModelingObject)
_qModelingObject = qobject_cast<QModelingObject *>(new QUmlClearVariableActionObject(this));
}
+/*!
+ Returns a deep-copied clone of the QUmlClearVariableAction.
+*/
QModelingElement *QUmlClearVariableAction::clone() const
{
QUmlClearVariableAction *c = new QUmlClearVariableAction;