From 035cbc87fa7892f58e1e1908a8f98bd9c579c8a0 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Thu, 9 Jan 2020 15:19:20 +0100 Subject: Doc: Remove \internal command from a \qmlabstract type Even though the type is private, other types inheriting from it must also inherit the property documentation. \qmlabstract handles this, but only if the abstract type is not \internal. Remove incorrect links that were trying to fix the issue previously. Fixes: QTBUG-79469 Change-Id: I9b9bb0af84abf44c5cbe9e1770659cff24834dd6 Reviewed-by: Paul Wicking --- src/controls/Private/BasicTableView.qml | 3 --- src/controls/doc/src/qtquickcontrols-treeview.qdoc | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml index 48e6eadc..1a4c8416 100644 --- a/src/controls/Private/BasicTableView.qml +++ b/src/controls/Private/BasicTableView.qml @@ -57,7 +57,6 @@ import QtQuick.Window 2.2 /*! \qmltype BasicTableView - \internal \qmlabstract \inqmlmodule QtQuick.Controls.Private */ @@ -98,7 +97,6 @@ ScrollView { property Component itemDelegate: __style ? __style.itemDelegate : null /*! \qmlproperty Component BasicTableView::rowDelegate - \keyword basictableview-rowdelegate This property defines a delegate to draw a row. @@ -121,7 +119,6 @@ ScrollView { property Component rowDelegate: __style ? __style.rowDelegate : null /*! \qmlproperty Component BasicTableView::headerDelegate - \keyword basictableview-headerdelegate This property defines a delegate to draw a header. diff --git a/src/controls/doc/src/qtquickcontrols-treeview.qdoc b/src/controls/doc/src/qtquickcontrols-treeview.qdoc index 6542a939..cea447d9 100644 --- a/src/controls/doc/src/qtquickcontrols-treeview.qdoc +++ b/src/controls/doc/src/qtquickcontrols-treeview.qdoc @@ -65,7 +65,7 @@ then be shown in their corresponding column. You can customize the look by overriding the \l [QML]{TreeView::}{itemDelegate}, - \l {basictableview-rowdelegate}{rowDelegate}, or \l {basictableview-headerdelegate}{headerDelegate} properties. + rowDelegate, or headerDelegate properties. The view itself does not provide sorting. This has to be done on the model itself. However you can provide sorting -- cgit v1.2.1