diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2013-11-05 20:17:06 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-05 15:37:29 +0100 |
commit | 22c138abfce871a1d23f1cf1b98b448bcd3ec74f (patch) | |
tree | 6e3a8b03c4b87065529c5e2989505dacd4e2658b /src/qml/doc | |
parent | e17ae3b8b716b00c7cb6156347101f2e789dbd58 (diff) |
Doc: Fix broken links
Change-Id: Ie7408409ddbaa354370267f2dd74326ec56a4186
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/cppintegration/contextproperties.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/cppintegration/data.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/cppintegration/topic.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/javascript/expressions.qdoc | 6 | ||||
-rw-r--r-- | src/qml/doc/src/javascript/imports.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/qmlfunctions.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/qmllanguageref/documents/scope.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/whatsnew.qdoc | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/src/qml/doc/src/cppintegration/contextproperties.qdoc b/src/qml/doc/src/cppintegration/contextproperties.qdoc index abdc18981a..d30cc87345 100644 --- a/src/qml/doc/src/cppintegration/contextproperties.qdoc +++ b/src/qml/doc/src/cppintegration/contextproperties.qdoc @@ -91,7 +91,7 @@ following examples: \li \l {Models and Views: AbstractItemModel Example}{AbstractItemModel} \endlist -demonstrating the use of QStringList, \l{QList<QObject*>}-based models and +demonstrating the use of QStringList, QList<QObject*>-based models and QAbstractItemModel in QML views. Also see the QQmlContext documentation for more information. diff --git a/src/qml/doc/src/cppintegration/data.qdoc b/src/qml/doc/src/cppintegration/data.qdoc index ee5316c19f..68233747b7 100644 --- a/src/qml/doc/src/cppintegration/data.qdoc +++ b/src/qml/doc/src/cppintegration/data.qdoc @@ -59,7 +59,7 @@ instance which already has a parent. \section1 Basic Qt Data Types By default, QML recognizes the following Qt data types, which are -automatically converted to a corresponding \l {QML Basic Type}{QML basic type} +automatically converted to a corresponding \l {QML Basic Types}{QML basic type} when passed from C++ to QML and vice-versa: \table diff --git a/src/qml/doc/src/cppintegration/topic.qdoc b/src/qml/doc/src/cppintegration/topic.qdoc index 4d12ab9d08..67e76e3e5e 100644 --- a/src/qml/doc/src/cppintegration/topic.qdoc +++ b/src/qml/doc/src/cppintegration/topic.qdoc @@ -98,7 +98,7 @@ more information. \section1 Defining QML Types from C++ QML types can be defined in C++ and then registered with the \l{qtqml-typesystem-topic.html}{QML -type system}. This allows a C++ class to be instantiated as a \l {QML object type}, enabling custom +type system}. This allows a C++ class to be instantiated as a \l {QML Object Types}{QML object type}, enabling custom object types to be implemented in C++ and integrated into existing QML code. A C++ class may be also registered for other purposes: for example, it could be registered as a \e {Singleton Type} to enable a single class instance to be imported by QML code, or it could be registered to enable the diff --git a/src/qml/doc/src/javascript/expressions.qdoc b/src/qml/doc/src/javascript/expressions.qdoc index a8e6fc8ac0..13238b2e43 100644 --- a/src/qml/doc/src/javascript/expressions.qdoc +++ b/src/qml/doc/src/javascript/expressions.qdoc @@ -71,7 +71,7 @@ logic. There are four ways that JavaScript can be used in a QML document: \li \l{Method Attributes}{custom methods} can be defined in QML files as JavaScript functions \li JavaScript files providing functions and variables can be - \l{Importing JavaScript Files in QML Documents}{imported} in a QML + \l{Importing JavaScript Resources in QML}{imported} in a QML document \endlist @@ -103,7 +103,7 @@ property binding definition, as long as the result of the expression is a value whose type can be assigned to the property. There are two ways to define a property binding: the first (and most common) -is, as previously shown, in a \l{QML Object Attributes#property-initialization} +is, as previously shown, in a \l{QML Object Attributes#Value Assignment on Initialization} {property initialization}. The second (and much rarer) way is to assign the property a function returned from the \l{Qt::binding()}{Qt.binding()} function, from within imperative JavaScript code, as shown below: @@ -259,7 +259,7 @@ Item { \endqml For more information about loading external JavaScript files into QML, read -the section about \l{Importing JavaScript Files in QML Documents}. +the section about \l{Importing JavaScript Resources in QML}. diff --git a/src/qml/doc/src/javascript/imports.qdoc b/src/qml/doc/src/javascript/imports.qdoc index fa9aa9794c..d70d33fee6 100644 --- a/src/qml/doc/src/javascript/imports.qdoc +++ b/src/qml/doc/src/javascript/imports.qdoc @@ -32,7 +32,7 @@ \l{qtqml-javascript-resources.html}{JavaScript resources} may be imported by QML documents and other JavaScript resources. JavaScript resources may be imported via either relative or absolute URLs. In the case of a relative URL, -the location is resolved relative to the location of the \l {QML Document} or +the location is resolved relative to the location of the \l {QML Documents}{QML document} or \l{qtqml-javascript-resources.html}{JavaScript Resource} that contains the import. If the script file is not accessible, an error will occur. If the JavaScript needs to be fetched from a network resource, the component's diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc index b4b8fce162..cd4e86bd31 100644 --- a/src/qml/doc/src/qmlfunctions.qdoc +++ b/src/qml/doc/src/qmlfunctions.qdoc @@ -51,7 +51,7 @@ \fn void qmlClearTypeRegistrations() \relates QQmlEngine - Clears all stored type registrations, such as those produced with \l qmlRegisterType. + Clears all stored type registrations, such as those produced with qmlRegisterType(). Do not call this function while a QQmlEngine exists or behavior will be undefined. Any existing QQmlEngines must be deleted before calling this function. This function diff --git a/src/qml/doc/src/qmllanguageref/documents/scope.qdoc b/src/qml/doc/src/qmllanguageref/documents/scope.qdoc index 9da77a4905..870eb21a07 100644 --- a/src/qml/doc/src/qmllanguageref/documents/scope.qdoc +++ b/src/qml/doc/src/qmllanguageref/documents/scope.qdoc @@ -76,7 +76,7 @@ with local variables declared in another. \section1 Type Names and Imported JavaScript Files -\l {QML Document}s include import statements that define the type names +\l {QML Documents} include import statements that define the type names and JavaScript files visible to the document. In addition to their use in the QML declaration itself, type names are used by JavaScript code when accessing \l {Attached Properties} and enumeration values. diff --git a/src/qml/doc/src/whatsnew.qdoc b/src/qml/doc/src/whatsnew.qdoc index bf457d7ee6..a0e5202174 100644 --- a/src/qml/doc/src/whatsnew.qdoc +++ b/src/qml/doc/src/whatsnew.qdoc @@ -40,8 +40,8 @@ a summary of the new changes: \li The 'with' statement has been deprecated and is slated for removal in a future version of the language. \li New \l Qt.platform object with an os property -\li New \l qmlClearTypeRegistations() function drops all data from qmlRegisterType calls -\li New \l qmlRegisterType function for registering composite types. +\li New \l qmlClearTypeRegistrations() function drops all data from qmlRegisterType() calls +\li New \l qmlRegisterType() function for registering composite types. \endlist \section2 New Submodule |