summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2014-02-02 18:21:07 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-06 02:55:23 +0100
commit6e7d9f457a099a169567351676d22b9d33aa93b9 (patch)
tree648adbeaf099f78cda9b62149f56707bb995355b
parente786b58cb1cf907d25728eb9f99096cb09fc9837 (diff)
downloadqtquickcontrols-6e7d9f457a099a169567351676d22b9d33aa93b9.tar.gz
Doc: Fix broken links
Change-Id: Ibf4431b20b61c5e16c6936775647ba3eb0049abe Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r--src/controls/ComboBox.qml4
-rw-r--r--src/controls/StackView.qml4
-rw-r--r--src/controls/StackViewDelegate.qml3
-rw-r--r--src/controls/TableViewColumn.qml4
-rw-r--r--src/controls/TextArea.qml2
-rw-r--r--src/controls/TextField.qml4
-rw-r--r--src/controls/doc/qtquickcontrols.qdocconf2
7 files changed, 10 insertions, 13 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml
index 4a9ce967..894e522e 100644
--- a/src/controls/ComboBox.qml
+++ b/src/controls/ComboBox.qml
@@ -195,8 +195,8 @@ Control {
an intermediate state. The accepted signal will only be sent
if the text is in an acceptable state when enter is pressed.
- Currently supported validators are \l{QtQuick2::IntValidator},
- \l{QtQuick2::DoubleValidator}, and \l{QtQuick2::RegExpValidator}. An
+ Currently supported validators are \l{QtQuick::}{IntValidator},
+ \l{QtQuick::}{DoubleValidator}, and \l{QtQuick::}{RegExpValidator}. An
example of using validators is shown below, which allows input of
integers between 11 and 31 into the text field:
diff --git a/src/controls/StackView.qml b/src/controls/StackView.qml
index d8089174..2397e5e4 100644
--- a/src/controls/StackView.qml
+++ b/src/controls/StackView.qml
@@ -312,7 +312,7 @@ import QtQuick.Controls.Private 1.0
contains the properties \c enterItem and \c exitItem. You set the target of your
inner animations to those items. Since the same items instance can be pushed several
times to a StackView, you should always override
- \l {StackViewDelegate::transitionFinished(properties)}{StackViewDelegate.transitionFinished(properties)}.
+ \l {StackViewDelegate::transitionFinished()}{StackViewDelegate.transitionFinished()}.
Implement this function to reset any properties animated on the exitItem so that later
transitions can expect the items to be in a default state.
@@ -360,7 +360,7 @@ import QtQuick.Controls.Private 1.0
\section2 Advanced usage
When the StackView needs a new transition, it first calls
- \l {StackViewDelegate::getTransition(properties)}{StackViewDelegate.getTransition(properties)}.
+ \l {StackViewDelegate::getTransition()}{StackViewDelegate.getTransition()}.
The base implementation of this function just looks for a property named \c properties.name inside
itself (root), which is how it finds \c {property Component pushTransition} in the examples above.
diff --git a/src/controls/StackViewDelegate.qml b/src/controls/StackViewDelegate.qml
index e77b8235..40f9437c 100644
--- a/src/controls/StackViewDelegate.qml
+++ b/src/controls/StackViewDelegate.qml
@@ -47,8 +47,7 @@ import QtQuick 2.1
\brief A delegate used by StackView for loading transitions.
- See the documentation for the \l {QtQuick.Controls1::StackView} {StackView}
- component.
+ See the documentation for the \l {StackView} component.
*/
QtObject {
diff --git a/src/controls/TableViewColumn.qml b/src/controls/TableViewColumn.qml
index cbf20945..efa007af 100644
--- a/src/controls/TableViewColumn.qml
+++ b/src/controls/TableViewColumn.qml
@@ -87,7 +87,7 @@ QtObject {
\li Text.ElideMiddle
\li Text.ElideRight - the default
\endlist
- \sa {QtQuick2::}{Text::elide} */
+ \sa {QtQuick::}{Text::elide} */
property int elideMode: Text.ElideRight
/*! \qmlproperty enumeration TableViewColumn::horizontalAlignment
@@ -99,7 +99,7 @@ QtObject {
\li Text.AlignHCenter
\li Text.AlignJustify
\endlist
- \sa {QtQuick2::}{Text::horizontalAlignment} */
+ \sa {QtQuick::}{Text::horizontalAlignment} */
property int horizontalAlignment: Text.AlignLeft
/*! The delegate of the column. This can be used to set the
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index 6136971b..db53f27e 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -404,8 +404,6 @@ ScrollView {
This property contains the link string when user hovers a link
embedded in the text. The link must be in rich text or HTML format
and the link string provides access to the particular link.
-
- \sa onLinkHovered
*/
readonly property alias hoveredLink: edit.hoveredLink
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml
index 1a430277..eb9f8cb0 100644
--- a/src/controls/TextField.qml
+++ b/src/controls/TextField.qml
@@ -373,8 +373,8 @@ Control {
an intermediate state. The accepted signal will only be sent
if the text is in an acceptable state when enter is pressed.
- Currently supported validators are \l{QtQuick2::IntValidator},
- \l{QtQuick2::DoubleValidator}, and \l{QtQuick2::RegExpValidator}. An
+ Currently supported validators are \l{QtQuick::}{IntValidator},
+ \l{QtQuick::}{DoubleValidator}, and \l{QtQuick::}{RegExpValidator}. An
example of using validators is shown below, which allows input of
integers between 11 and 31 into the text input:
diff --git a/src/controls/doc/qtquickcontrols.qdocconf b/src/controls/doc/qtquickcontrols.qdocconf
index 4c97d5c8..4306477c 100644
--- a/src/controls/doc/qtquickcontrols.qdocconf
+++ b/src/controls/doc/qtquickcontrols.qdocconf
@@ -29,7 +29,7 @@ qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.title = Qt Quick Cont
qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.indexTitle = Qt Quick Controls Styles Structure
qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.type = manual
-depends = qtqml qtquick qtwidgets qtdoc qtquicklayouts
+depends = qtqml qtquick qtgui qtwidgets qtdoc qtquicklayouts
# Specify the install path under QT_INSTALL_EXAMPLES
# Examples will be installed under quick/controls - 'controls' subdirectory