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/qumldevice.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/qumldevice.cpp')
-rw-r--r-- | src/uml/qumldevice.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uml/qumldevice.cpp b/src/uml/qumldevice.cpp index 3a6cafd2..a6869a40 100644 --- a/src/uml/qumldevice.cpp +++ b/src/uml/qumldevice.cpp @@ -89,6 +89,10 @@ QT_BEGIN_NAMESPACE \brief A device is a physical computational resource with processing capability upon which artifacts may be deployed for execution. Devices may be complex (i.e., they may consist of other devices). */ + +/*! + Creates a new QUmlDevice. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true. +*/ QUmlDevice::QUmlDevice(bool createQModelingObject) : QUmlNode(false) { @@ -96,6 +100,9 @@ QUmlDevice::QUmlDevice(bool createQModelingObject) : _qModelingObject = qobject_cast<QModelingObject *>(new QUmlDeviceObject(this)); } +/*! + Returns a deep-copied clone of the QUmlDevice. +*/ QModelingElement *QUmlDevice::clone() const { QUmlDevice *c = new QUmlDevice; |