summaryrefslogtreecommitdiffstats
path: root/src/mof/qmofliteralnull.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mof/qmofliteralnull.cpp')
-rw-r--r--src/mof/qmofliteralnull.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mof/qmofliteralnull.cpp b/src/mof/qmofliteralnull.cpp
index 1e18a179..0bf2f69f 100644
--- a/src/mof/qmofliteralnull.cpp
+++ b/src/mof/qmofliteralnull.cpp
@@ -58,12 +58,19 @@ QT_BEGIN_NAMESPACE
\brief A literal null specifies the lack of a value.
*/
+
+/*!
+ Creates a new QMofLiteralNull. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QMofLiteralNull::QMofLiteralNull(bool createQModelingObject)
{
if (createQModelingObject)
_qModelingObject = qobject_cast<QModelingObject *>(new QMofLiteralNullObject(this));
}
+/*!
+ Returns a deep-copied clone of the QMofLiteralNull.
+*/
QModelingElement *QMofLiteralNull::clone() const
{
QMofLiteralNull *c = new QMofLiteralNull;