diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-11-24 12:13:48 -0300 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-11-24 16:09:14 +0100 |
commit | 127ae727775358ea6d6a1e292f9bf5714adcd046 (patch) | |
tree | e77622182ac0a094696f4f608580eaaec7782064 /src/uml/qumlremovevariablevalueaction.cpp | |
parent | 1b2df2c79004e93a5bab937d9cac32f7621a6c0e (diff) |
Update UML metamodel implementation and documentation
Change-Id: I45eccac45a154f94471aa4a55a9562fbc15b2567
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumlremovevariablevalueaction.cpp')
-rw-r--r-- | src/uml/qumlremovevariablevalueaction.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/uml/qumlremovevariablevalueaction.cpp b/src/uml/qumlremovevariablevalueaction.cpp index e6eabd0b..2c455316 100644 --- a/src/uml/qumlremovevariablevalueaction.cpp +++ b/src/uml/qumlremovevariablevalueaction.cpp @@ -73,6 +73,10 @@ QT_BEGIN_NAMESPACE \brief A remove variable value action is a write variable action that removes values from variables. */ + +/*! + Creates a new QUmlRemoveVariableValueAction. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true. +*/ QUmlRemoveVariableValueAction::QUmlRemoveVariableValueAction(bool createQModelingObject) : _isRemoveDuplicates(false), _removeAt(0) @@ -81,6 +85,9 @@ QUmlRemoveVariableValueAction::QUmlRemoveVariableValueAction(bool createQModelin _qModelingObject = qobject_cast<QModelingObject *>(new QUmlRemoveVariableValueActionObject(this)); } +/*! + Returns a deep-copied clone of the QUmlRemoveVariableValueAction. +*/ QModelingElement *QUmlRemoveVariableValueAction::clone() const { QUmlRemoveVariableValueAction *c = new QUmlRemoveVariableValueAction; @@ -136,6 +143,9 @@ bool QUmlRemoveVariableValueAction::isRemoveDuplicates() const return _isRemoveDuplicates; } +/*! + Adjusts isRemoveDuplicates to \a isRemoveDuplicates. + */ void QUmlRemoveVariableValueAction::setRemoveDuplicates(bool isRemoveDuplicates) { // This is a read-write property @@ -148,6 +158,8 @@ void QUmlRemoveVariableValueAction::setRemoveDuplicates(bool isRemoveDuplicates) /*! Specifies the position of an existing value to remove in ordered nonunique variables. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited. + + \b {Subsetted property(ies):} QUmlAction::inputs(). */ QUmlInputPin *QUmlRemoveVariableValueAction::removeAt() const { @@ -156,6 +168,9 @@ QUmlInputPin *QUmlRemoveVariableValueAction::removeAt() const return _removeAt; } +/*! + Adjusts removeAt to \a removeAt. + */ void QUmlRemoveVariableValueAction::setRemoveAt(QUmlInputPin *removeAt) { // This is a read-write association end |