diff options
Diffstat (limited to 'src/mof/qmofliteralreal.cpp')
-rw-r--r-- | src/mof/qmofliteralreal.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mof/qmofliteralreal.cpp b/src/mof/qmofliteralreal.cpp index 1e169a10..ef90a29b 100644 --- a/src/mof/qmofliteralreal.cpp +++ b/src/mof/qmofliteralreal.cpp @@ -58,12 +58,19 @@ QT_BEGIN_NAMESPACE \brief A literal real is a specification of a real value. */ + +/*! + Creates a new QMofLiteralReal. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true. +*/ QMofLiteralReal::QMofLiteralReal(bool createQModelingObject) { if (createQModelingObject) _qModelingObject = qobject_cast<QModelingObject *>(new QMofLiteralRealObject(this)); } +/*! + Returns a deep-copied clone of the QMofLiteralReal. +*/ QModelingElement *QMofLiteralReal::clone() const { QMofLiteralReal *c = new QMofLiteralReal; @@ -79,7 +86,6 @@ QModelingElement *QMofLiteralReal::clone() const // OWNED ATTRIBUTES - double QMofLiteralReal::value() const { // This is a read-write property |