aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickcontainer.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-12 23:57:49 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-13 09:16:13 +0000
commitcf761c2571bab871eb890c5825a944e209ae46d8 (patch)
treec5bb588d8fdb9bcf97612bd19686ba519b0ebfbd /src/templates/qquickcontainer.cpp
parent3c71cd8b45846cacb8a886c33dcde58279d554cc (diff)
Document Container::currentIndex & currentItem
Change-Id: I7343be413f27a5761f790a3abf671eee89d17a3f Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickcontainer.cpp')
-rw-r--r--src/templates/qquickcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/qquickcontainer.cpp b/src/templates/qquickcontainer.cpp
index c3758dbc..f4653027 100644
--- a/src/templates/qquickcontainer.cpp
+++ b/src/templates/qquickcontainer.cpp
@@ -393,7 +393,7 @@ QQmlListProperty<QQuickItem> QQuickContainer::contentChildren()
/*!
\qmlproperty int Qt.labs.controls::Container::currentIndex
- TODO
+ This property holds the index of the current item in the container.
*/
int QQuickContainer::currentIndex() const
{
@@ -414,7 +414,7 @@ void QQuickContainer::setCurrentIndex(int index)
/*!
\qmlproperty Item Qt.labs.controls::Container::currentItem
- TODO
+ This property holds the current item.
*/
QQuickItem *QQuickContainer::currentItem() const
{