aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickcontainer.cpp')
-rw-r--r--src/quicktemplates2/qquickcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickcontainer.cpp b/src/quicktemplates2/qquickcontainer.cpp
index 5f38c5b9..19b59e33 100644
--- a/src/quicktemplates2/qquickcontainer.cpp
+++ b/src/quicktemplates2/qquickcontainer.cpp
@@ -44,7 +44,7 @@ QT_BEGIN_NAMESPACE
/*!
\qmltype Container
\inherits Control
- \instantiates QQuickContainer
+//! \instantiates QQuickContainer
\inqmlmodule QtQuick.Controls
\since 5.7
\ingroup qtquickcontrols2-containers
@@ -110,7 +110,7 @@ QT_BEGIN_NAMESPACE
\list
\li \l incrementCurrentIndex()
\li \l decrementCurrentIndex()
- \li \l setCurrentIndex(int index)
+ \li \l setCurrentIndex()
\endlist
\code
@@ -700,7 +700,7 @@ int QQuickContainer::currentIndex() const
/*!
\qmlmethod void QtQuick.Controls::Container::setCurrentIndex(int index)
- Sets the current index of the container.
+ Sets the current \a index of the container.
This method can be called to set a specific current index without breaking
existing \c currentIndex bindings.