aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-02-19 15:10:10 +0100
committerMartin Smith <martin.smith@qt.io>2018-02-23 13:05:16 +0000
commit485e183062043b39c0b6ec57caee7032dfffc5b0 (patch)
tree6a15414169658b1548b061b0a6970c2ca09f78d8 /src/qml
parent5475f84af82668e25d40a31ad9c6ede438bf7dfe (diff)
doc: Correct mostly linking errors
This update corrects many qdoc warnings, mostly of the "Can't link to..." variety, but there were also a few qdoc comments added. As of this update, the qdoc warning count is 46 in QtDeclarative. Change-Id: Icf2d34c7ce7010ebfd9b474feacfe8af42f3fd5f Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/doc/src/includes/qqmlcomponent.qdoc4
-rw-r--r--src/qml/doc/src/qmlfunctions.qdoc2
-rw-r--r--src/qml/qml/qqmlcontext.cpp2
-rw-r--r--src/qml/qml/qqmlextensionplugin.cpp2
4 files changed, 6 insertions, 4 deletions
diff --git a/src/qml/doc/src/includes/qqmlcomponent.qdoc b/src/qml/doc/src/includes/qqmlcomponent.qdoc
index 0eb60ed743..6949d8823a 100644
--- a/src/qml/doc/src/includes/qqmlcomponent.qdoc
+++ b/src/qml/doc/src/includes/qqmlcomponent.qdoc
@@ -52,7 +52,7 @@
Ensure that the URL provided is full and correct, in particular, use
\l QUrl::fromLocalFile() when loading a file from the local filesystem.
-Relative paths will be resolved against the engine's
-\l {QQmlEngine::baseUrl}{baseUrl()}, which is the current working directory
+Relative paths will be resolved against
+\l {QQmlEngine::baseUrl}{QQmlEngine::baseUrl()}, which is the current working directory
unless specified.
//! [url-note]
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc
index f939ddbcf3..ede213b84a 100644
--- a/src/qml/doc/src/qmlfunctions.qdoc
+++ b/src/qml/doc/src/qmlfunctions.qdoc
@@ -349,7 +349,7 @@
*/
/*!
- \fn Object *qmlAttachedPropertiesObject(const QObject *attachee, bool create = true)
+ \fn template<typename T> QObject *qmlAttachedPropertiesObject(const QObject *attachee, bool create = true)
\relates QQmlEngine
The form of this template function is:
diff --git a/src/qml/qml/qqmlcontext.cpp b/src/qml/qml/qqmlcontext.cpp
index 0b0132fab7..82b8d06dc4 100644
--- a/src/qml/qml/qqmlcontext.cpp
+++ b/src/qml/qml/qqmlcontext.cpp
@@ -370,7 +370,7 @@ void QQmlContext::setContextProperties(const QVector<PropertyPair> &properties)
This struct contains a property name and a property value.
It is used as a parameter for the \c setContextProperties function.
- \sa QQQmlContext::setContextProperties()
+ \sa QQmlContext::setContextProperties()
*/
/*!
diff --git a/src/qml/qml/qqmlextensionplugin.cpp b/src/qml/qml/qqmlextensionplugin.cpp
index b0e6a24616..818ff7c34f 100644
--- a/src/qml/qml/qqmlextensionplugin.cpp
+++ b/src/qml/qml/qqmlextensionplugin.cpp
@@ -121,7 +121,9 @@ void QQmlExtensionPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
\class QQmlExtensionInterface
\internal
\inmodule QtQml
+*/
+/*!
\class QQmlTypesExtensionInterface
\internal
\inmodule QtQml