aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2020-11-04 23:38:09 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2020-11-06 15:06:25 +0100
commite3a31e9d1e9c5d468af9c4e1a342679007e65cc6 (patch)
treeb068521532af36a5f32eeea99c3ea8c894411281 /src/quicktemplates2
parent749debe64f5da2078039991b9f8522f2af0698b1 (diff)
Doc: Fix qdoc warnings
Mostly broken links to types and properties that are either dropped or renamed. Task-number: QTBUG-88141 Fixes: QTBUG-88141 Change-Id: I44789cdd1b8560a967b0b3868fd637deef488d88 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r--src/quicktemplates2/qquickcombobox.cpp10
-rw-r--r--src/quicktemplates2/qquickdialog.cpp2
-rw-r--r--src/quicktemplates2/qquickdrawer.cpp7
-rw-r--r--src/quicktemplates2/qquickmenu.cpp2
-rw-r--r--src/quicktemplates2/qquickpane.cpp8
-rw-r--r--src/quicktemplates2/qquickpopup.cpp4
-rw-r--r--src/quicktemplates2/qquickscrollbar.cpp2
-rw-r--r--src/quicktemplates2/qquicksplitview.cpp2
8 files changed, 18 insertions, 19 deletions
diff --git a/src/quicktemplates2/qquickcombobox.cpp b/src/quicktemplates2/qquickcombobox.cpp
index 4a7492ba..0f537ede 100644
--- a/src/quicktemplates2/qquickcombobox.cpp
+++ b/src/quicktemplates2/qquickcombobox.cpp
@@ -1691,7 +1691,7 @@ void QQuickComboBox::setSelectTextByMouse(bool canSelect)
\since QtQuick.Controls 6.0 (Qt 6.0)
\qmlproperty enumeration QtQuick.Controls::ComboBox::implicitContentWidthPolicy
- This property controls how the \l implicitContentWidth of the ComboBox is
+ This property controls how the \l{Control::}{implicitContentWidth} of the ComboBox is
calculated.
When the width of a ComboBox is not large enough to display text, that text
@@ -1711,12 +1711,12 @@ void QQuickComboBox::setSelectTextByMouse(bool canSelect)
implicitContentWidthPolicy provides an easy way to control how the
implicitContentWidth is calculated, which in turn affects the
- \l implicitWidth of the ComboBox and ensures that text will not be elided.
+ \l{Item::}{implicitWidth} of the ComboBox and ensures that text will not be elided.
The available values are:
\value ContentItemImplicitWidth
- The implicitContentWidth will default to that of the \l contentItem.
+ The implicitContentWidth will default to that of the \l{Control::}{contentItem}.
This is the most efficient option, as no extra text layout is done.
\value WidestText
@@ -1734,8 +1734,8 @@ void QQuickComboBox::setSelectTextByMouse(bool canSelect)
The default value is \c ContentItemImplicitWidth.
- As this property only affects the \l implicitWidth of the ComboBox, setting
- an explicit \l width can still result in eliding.
+ As this property only affects the \c implicitWidth of the ComboBox, setting
+ an explicit \l{Item::}{width} can still result in eliding.
\note This feature requires the contentItem to be a type derived from
\l TextInput.
diff --git a/src/quicktemplates2/qquickdialog.cpp b/src/quicktemplates2/qquickdialog.cpp
index 1fe3545d..d32f6272 100644
--- a/src/quicktemplates2/qquickdialog.cpp
+++ b/src/quicktemplates2/qquickdialog.cpp
@@ -511,7 +511,7 @@ void QQuickDialog::reject()
\li Emits \l accepted() or \l rejected() depending on
whether the result is \c Dialog.Accepted or \c Dialog.Rejected,
respectively.
- \li Emits \l closed().
+ \li Emits \l{Popup::}{closed()).
\endlist
\sa accept(), reject(), result
diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp
index a5b84873..e5839906 100644
--- a/src/quicktemplates2/qquickdrawer.cpp
+++ b/src/quicktemplates2/qquickdrawer.cpp
@@ -90,10 +90,9 @@ QT_BEGIN_NAMESPACE
\endcode
Drawer is a special type of popup that resides at one of the window \l {edge}{edges}.
- By default, Drawer re-parents itself to the window \l {ApplicationWindow::}{overlay},
- and therefore operates on window coordinates. It is also possible to manually set the
- \l {Popup::}{parent} to something else to make the drawer operate in a specific
- coordinate space.
+ By default, Drawer re-parents itself to the window \c overlay, and therefore operates
+ on window coordinates. It is also possible to manually set the \l{Popup::}{parent} to
+ something else to make the drawer operate in a specific coordinate space.
Drawer can be configured to cover only part of its window edge. The following example
illustrates how Drawer can be positioned to appear below a window header:
diff --git a/src/quicktemplates2/qquickmenu.cpp b/src/quicktemplates2/qquickmenu.cpp
index 5bc44f0d..b471a3fc 100644
--- a/src/quicktemplates2/qquickmenu.cpp
+++ b/src/quicktemplates2/qquickmenu.cpp
@@ -193,7 +193,7 @@ static const int SUBMENU_DELAY = 225;
The default value is \c false.
- \sa activeFocus
+ \sa {Popup::}{activeFocus}
*/
static const QQuickPopup::ClosePolicy cascadingSubMenuClosePolicy = QQuickPopup::CloseOnEscape | QQuickPopup::CloseOnPressOutsideParent;
diff --git a/src/quicktemplates2/qquickpane.cpp b/src/quicktemplates2/qquickpane.cpp
index ecdc27db..29ef2b84 100644
--- a/src/quicktemplates2/qquickpane.cpp
+++ b/src/quicktemplates2/qquickpane.cpp
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
Items declared as children of a Pane are automatically parented to the
Pane's \l[QtQuickControls2]{Control::}{contentItem}. Items created
- dynamically need to be explicitly parented to the contentItem.
+ dynamically need to be explicitly parented to the \c contentItem.
\section1 Content Sizing
@@ -103,9 +103,9 @@ QT_BEGIN_NAMESPACE
}
\endcode
- If the \l contentItem has no implicit size and only one child, Pane will
- use the implicit size of that child. For example, in the following code,
- the Pane will assume the size of the Rectangle:
+ If the \l[QtQuickControls2]{Control::}{contentItem} has no implicit size
+ and only one child, Pane will use the implicit size of that child. For
+ example, in the following code, the Pane assumes the size of the Rectangle:
\code
Pane {
diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp
index fee4fcba..040a928c 100644
--- a/src/quicktemplates2/qquickpopup.cpp
+++ b/src/quicktemplates2/qquickpopup.cpp
@@ -610,7 +610,7 @@ void QQuickPopupPrivate::setBottomMargin(qreal value, bool reset)
\note Popups can only be centered within their immediate parent or
the window overlay; trying to center in other items will produce a warning.
- \sa {Popup Positioning}, {QtQuick::Item::anchors}{anchors}
+ \sa {Popup Positioning}, {Item::}{anchors}
*/
QQuickPopupAnchors *QQuickPopupPrivate::getAnchors()
{
@@ -2360,7 +2360,7 @@ void QQuickPopup::resetBottomInset()
}
\endcode
- \sa Item::palette, Window::palette, QQuickAbstractPaletteProvider, ColorGroup, Palette
+ \sa Item::palette, Window::palette, ColorGroup, Palette
*/
bool QQuickPopup::filtersChildMouseEvents() const
diff --git a/src/quicktemplates2/qquickscrollbar.cpp b/src/quicktemplates2/qquickscrollbar.cpp
index b88f396c..f7b403d7 100644
--- a/src/quicktemplates2/qquickscrollbar.cpp
+++ b/src/quicktemplates2/qquickscrollbar.cpp
@@ -144,7 +144,7 @@ QT_BEGIN_NAMESPACE
\list
\li Layout the scroll bar (with the \l {Item::}{x} and \l {Item::}{y} or
- \l [QtQuick]{Item::}{anchors} property, for example).
+ \l {Item::}{anchors} property, for example).
\li Set the \l size and \l position properties to determine the size and position
of the scroll bar in relation to the scrolled item.
\li Set the \l active property to determine when the scroll bar will be
diff --git a/src/quicktemplates2/qquicksplitview.cpp b/src/quicktemplates2/qquicksplitview.cpp
index f5232a47..9c3da3f0 100644
--- a/src/quicktemplates2/qquicksplitview.cpp
+++ b/src/quicktemplates2/qquicksplitview.cpp
@@ -1727,7 +1727,7 @@ void QQuickSplitViewAttached::resetPreferredWidth()
\l{Item::}{implicitHeight} will be used instead. To reset this property to
its default value, set it to \c undefined.
- \note Do not set the \l{Item:}{height} property of a split item, as it will be
+ \note Do not set the \l{Item::}{height} property of a split item, as it will be
overwritten upon each layout of the SplitView.
\sa minimumHeight, maximumHeight, fillHeight, preferredWidth