summaryrefslogtreecommitdiffstats
path: root/src/modeling/qmetamodelplugin.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-11-23 23:14:28 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-11-24 03:10:11 +0100
commitf2221017f76feddc0bcab60b977a3b87b162c253 (patch)
tree4cf9f8165f6b82cb8e52209bb119f5c9bd3dc708 /src/modeling/qmetamodelplugin.cpp
parent3acf9500befce24a558bb42ce3640630150f4ccf (diff)
Fix QtModeling module documentation
Change-Id: Id63005968d788dedec9cb397f6f7a1b1cd7f0568 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/modeling/qmetamodelplugin.cpp')
-rw-r--r--src/modeling/qmetamodelplugin.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/modeling/qmetamodelplugin.cpp b/src/modeling/qmetamodelplugin.cpp
index 69677943..5c513bce 100644
--- a/src/modeling/qmetamodelplugin.cpp
+++ b/src/modeling/qmetamodelplugin.cpp
@@ -42,11 +42,28 @@
QT_BEGIN_NAMESPACE
+/*!
+ \class QMetaModelPlugin
+
+ \inmodule QtModeling
+
+ \brief The QMetaModelPlugin class acts as base-class for all QtModeling plugins.
+*/
+
+/*!
+ Creates a QMetaModelPlugin with the given \a parent.
+*/
QMetaModelPlugin::QMetaModelPlugin(QObject *parent)
: QObject(parent)
{
}
+/*!
+ \fn QModelingElement *QMetaModelPlugin::createModelingElement(QString type)
+
+ Returns a new instance of plugin's metamodel element with type \a type.
+*/
+
#include "moc_qmetamodelplugin.cpp"
QT_END_NAMESPACE