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/qumlreception.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/qumlreception.cpp')
-rw-r--r-- | src/uml/qumlreception.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/uml/qumlreception.cpp b/src/uml/qumlreception.cpp index 56949531..1b32ac68 100644 --- a/src/uml/qumlreception.cpp +++ b/src/uml/qumlreception.cpp @@ -70,6 +70,10 @@ QT_BEGIN_NAMESPACE \brief A reception is a declaration stating that a classifier is prepared to react to the receipt of a signal. A reception designates a signal and specifies the expected behavioral response. The details of handling a signal are specified by the behavior associated with the reception or the classifier itself. */ + +/*! + Creates a new QUmlReception. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true. +*/ QUmlReception::QUmlReception(bool createQModelingObject) : _signal(0) { @@ -77,6 +81,9 @@ QUmlReception::QUmlReception(bool createQModelingObject) : _qModelingObject = qobject_cast<QModelingObject *>(new QUmlReceptionObject(this)); } +/*! + Returns a deep-copied clone of the QUmlReception. +*/ QModelingElement *QUmlReception::clone() const { QUmlReception *c = new QUmlReception; @@ -123,6 +130,9 @@ QUmlSignal *QUmlReception::signal() const return _signal; } +/*! + Adjusts signal to \a signal. + */ void QUmlReception::setSignal(QUmlSignal *signal) { // This is a read-write association end |