summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlfunctionbehavior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qumlfunctionbehavior.cpp')
-rw-r--r--src/uml/qumlfunctionbehavior.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uml/qumlfunctionbehavior.cpp b/src/uml/qumlfunctionbehavior.cpp
index 471408d4..2cc16403 100644
--- a/src/uml/qumlfunctionbehavior.cpp
+++ b/src/uml/qumlfunctionbehavior.cpp
@@ -92,6 +92,10 @@ QT_BEGIN_NAMESPACE
\brief A function behavior is an opaque behavior that does not access or modify any objects or other external data.
*/
+
+/*!
+ Creates a new QUmlFunctionBehavior. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QUmlFunctionBehavior::QUmlFunctionBehavior(bool createQModelingObject) :
QUmlOpaqueBehavior(false)
{
@@ -99,6 +103,9 @@ QUmlFunctionBehavior::QUmlFunctionBehavior(bool createQModelingObject) :
_qModelingObject = qobject_cast<QModelingObject *>(new QUmlFunctionBehaviorObject(this));
}
+/*!
+ Returns a deep-copied clone of the QUmlFunctionBehavior.
+*/
QModelingElement *QUmlFunctionBehavior::clone() const
{
QUmlFunctionBehavior *c = new QUmlFunctionBehavior;