summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxcomponentinstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxcomponentinstance.cpp')
-rw-r--r--src/declarative/fx/qfxcomponentinstance.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/fx/qfxcomponentinstance.cpp b/src/declarative/fx/qfxcomponentinstance.cpp
index 5fb5466..9645e77 100644
--- a/src/declarative/fx/qfxcomponentinstance.cpp
+++ b/src/declarative/fx/qfxcomponentinstance.cpp
@@ -58,9 +58,9 @@ QML_DEFINE_TYPE(QFxComponentInstance,ComponentInstance);
/*!
\qmlclass ComponentInstance QFxComponentInstance
- \brief The ComponentInstance element allows you to instantiate a \l{qml-component.html} {Component}.
+ \brief The ComponentInstance item allows you to instantiate a \l{qml-component.html} {Component}.
- \code
+ \qml
Item {
Component {
id: RedSquare
@@ -69,7 +69,7 @@ QML_DEFINE_TYPE(QFxComponentInstance,ComponentInstance);
ComponentInstance { component: RedSquare }
}
- \endcode
+ \endqml
*/
QFxComponentInstance::QFxComponentInstance(QFxItem *parent)
: QFxItem(*(new QFxComponentInstancePrivate), parent)