summaryrefslogtreecommitdiffstats
path: root/src/controls/SplitView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/SplitView.qml')
-rw-r--r--src/controls/SplitView.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controls/SplitView.qml b/src/controls/SplitView.qml
index be1a9e923..41c50329a 100644
--- a/src/controls/SplitView.qml
+++ b/src/controls/SplitView.qml
@@ -177,7 +177,8 @@ Item {
onHeightChanged: d.updateLayout()
onOrientationChanged: d.changeOrientation()
- /*! Add an item to the end of the view.
+ /*! \qmlmethod void SplitView::addItem(Item item)
+ Add an item to the end of the view.
\since QtQuick.Controls 1.3 */
function addItem(item) {
d.updateLayoutGuard = true
@@ -187,7 +188,8 @@ Item {
d.updateFillIndex()
}
- /*! Remove \a item from the view.
+ /*! \qmlmethod void SplitView::removeItem(Item item)
+ Remove \a item from the view.
\since QtQuick.Controls 1.4 */
function removeItem(item) {
d.updateLayoutGuard = true