Doc: Qt QML: Fix module name format
authorSze Howe Koh <szehowe.koh@gmail.com>
Wed, 17 Apr 2013 15:03:16 +0000 (23:03 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 19 Apr 2013 12:14:03 +0000 (14:14 +0200)
Follow the conventions at
http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation

QtQml -> Qt QML

Change-Id: I45ca4496a02214feab48707b026c6bec085df138
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
19 files changed:
examples/HACKING
src/imports/xmllistmodel/qqmlxmllistmodel.cpp
src/qml/doc/src/cppintegration/definetypes.qdoc
src/qml/doc/src/cppintegration/extending-tutorial.qdoc
src/qml/doc/src/cppintegration/topic.qdoc
src/qml/doc/src/whatsnew.qdoc
src/qml/qml/qqmlcomponent.cpp
src/qml/types/qqmlbind.cpp
src/qml/types/qqmlconnections.cpp
src/qml/types/qqmllistmodel.cpp
src/qml/types/qquickpackage.cpp
src/quick/doc/src/appdevguide/porting.qdoc
src/quick/util/qquickanimation.cpp
src/quick/util/qquickbehavior.cpp
src/quick/util/qquickpropertychanges.cpp
src/quick/util/qquickstate.cpp
src/quick/util/qquickstategroup.cpp
src/quick/util/qquicktransition.cpp
tests/auto/qml/qmlmin/tst_qmlmin.cpp

index 9539d2d..7d2a61a 100644 (file)
@@ -1,4 +1,4 @@
-Some guidelines for QtQml examples
+Some guidelines for Qt QML examples
 
 Snippets
 ---
index cc2b8d1..856c063 100644 (file)
@@ -90,7 +90,7 @@ typedef QPair<int, int> QQuickXmlListRange;
     \brief For specifying a role to an XmlListModel
     \ingroup qtquick-models
 
-    \sa {QtQml}
+    \sa {Qt QML}
 */
 
 /*!
index be5f26a..b8879eb 100644 (file)
@@ -40,7 +40,7 @@ as an instantiable \l{qtqml-typesystem-objecttypes.html}{QML object type} from
 QML, or enabling a singleton instance of the class to be imported and used
 from QML.
 
-Additionally, the QtQml module provides mechanisms for implementing QML-specific
+Additionally, the \l {Qt QML} module provides mechanisms for implementing QML-specific
 features such as \e{attached properties} and \e{default properties} in C++.
 
 (Note that a number of the important concepts covered in this document are
@@ -133,7 +133,7 @@ not be instantiable
 should not be instantiable from QML
 \endlist
 
-The QtQml module provides several methods for registering non-instantiable
+The \l {Qt QML} module provides several methods for registering non-instantiable
 types:
 
 \list
@@ -699,7 +699,7 @@ its properties have been set. For example, this may be the case if the
 initialization is costly, or if the initialization should not be performed until
 all property values have been initialized.
 
-The QtQml module provides the QQmlParserStatus to be subclass for these
+The \l {Qt QML} module provides the QQmlParserStatus to be subclass for these
 purposes. It defines a number of virtual methods that are invoked invoked at
 various stages during component instantiation. To receive these notifications, a
 C++ class should inherit QQmlParserStatus and also notify the Qt meta system
index 3253752..ffa36c3 100644 (file)
@@ -30,7 +30,7 @@
 \title Writing QML Extensions with C++
 \brief tutorial about extending QML with Qt C++
 
-The QtQml C++ module provides a set of APIs for extending QML through
+The \l Qt QML} C++ module provides a set of APIs for extending QML through
 C++ extensions. You can write extensions to add your own QML types, extend existing
 Qt types, or call C/C++ functions that are not accessible from ordinary QML code.
 
index 48f430c..41645e2 100644 (file)
@@ -29,7 +29,7 @@
 \title Integrating QML and C++
 \brief Description of how to integrate QML and C++ code
 
-QML is designed to be easily extensible through C++ code. The classes in the QtQml C++ module
+QML is designed to be easily extensible through C++ code. The classes in the \l {Qt QML} C++ module
 enables QML objects to be loaded and manipulated from C++, and the nature of QML engine's
 integration with Qt's \l{Meta Object System}{meta object system} enables C++ functionality to be
 invoked directly from QML. This allows the development of hybrid applications which are implemented
@@ -43,7 +43,7 @@ with QML and JavaScript within \l{qtqml-documents-topic.html}{QML documents}, an
 C++
 \li Use and invoke some C++ functionality from QML (for example, to invoke your application logic,
 use a data model implemented in C++, or call some functions in a third-party C++ library)
-\li Access functionality in the QtQml or QtQuick C++ API (for example, to dynamically generate
+\li Access functionality in the \l {Qt QML} or QtQuick C++ API (for example, to dynamically generate
 images using QQuickImageProvider)
 \li Implement your own \l{qtqml-typesystem-objecttypes.html}{QML object types} from C++
 \unicode{0x2014} whether for use within your own specific application, or for distribution to others
@@ -71,7 +71,7 @@ methods and signals to be accessed from QML
 
 These are the most common methods of accessing C++ functionality from QML code; for more options and
 details, see the main documentation pages that are described in the sections further below.
-Additionally, aside from the ability to access C++ functionality from QML, the Qt QML module also
+Additionally, aside from the ability to access C++ functionality from QML, the \l {Qt QML} module also
 provides ways to do the reverse and manipulate QML objects from C++ code. See
 \l{qtqml-cppintegration-interactqmlfromcpp.html}{Interacting with QML Objects from C++} for more
 details.
@@ -104,7 +104,7 @@ registered for other purposes: for example, it could be registered as a \e {Sing
 single class instance to be imported by QML code, or it could be registered to enable the
 enumeration values of a non-instantiable class to be accessible from QML.
 
-Additionally, the QtQml module provides mechanisms to define QML types that integrate with QML
+Additionally, the \l {Qt QML} module provides mechanisms to define QML types that integrate with QML
 concepts like attached properties and default properties.
 
 For more information on registering and creating custom QML types from C++, see the \l
@@ -115,7 +115,7 @@ For more information on registering and creating custom QML types from C++, see
 
 C++ objects and values can be embedded directly into the context (or \e scope) of loaded QML objects
 using \e {context properties} and \e {context objects}. This is achieved through the QQmlContext
-class provided by the QtQml module, which exposes data to the context of a QML component, allowing
+class provided by the \l {Qt QML} module, which exposes data to the context of a QML component, allowing
 data to be injected from C++ into QML.
 
 See \l{qtqml-cppintegration-contextproperties.html}{Embedding C++ Objects into QML with Context
index d7a1db9..b73b643 100644 (file)
@@ -35,7 +35,7 @@ The \l{Qt QML} module is new in Qt 5.0. It provides the QML engine and
 implements the QML language supporting infrastructure.
 
 (Prior to Qt 5, this functionality was provided by the QtDeclarative module, which
-has now been replaced by the new QtQml and QtQuick C++ modules. See the
+has now been replaced by the new \l {Qt QML} and QtQuick C++ modules. See the
 \l {Porting QML Applications to Qt 5} for more information.)
 
 \section2 QML Engine
index 9ba1cbc..9cb444b 100644 (file)
@@ -295,7 +295,7 @@ static inline QString buildTypeNameForDebug(const QMetaObject *metaObject)
     }
     \endqml
 
-    \sa QtQml
+    \sa {Qt QML}
 */
 
 /*!
index fcb3079..4c4e541 100644 (file)
@@ -139,7 +139,7 @@ public:
     If the binding target or binding property is changed, the bound value is
     immediately pushed onto the new target.
 
-    \sa QtQml
+    \sa {Qt QML}
 */
 QQmlBind::QQmlBind(QObject *parent)
     : QObject(*(new QQmlBindPrivate), parent)
index 286933e..93df084 100644 (file)
@@ -126,7 +126,7 @@ public:
     }
     \endqml
 
-    \sa QtQml
+    \sa {Qt QML}
 */
 QQmlConnections::QQmlConnections(QObject *parent) :
     QObject(*(new QQmlConnectionsPrivate), parent)
index dcb726d..5b8cb43 100644 (file)
@@ -1523,7 +1523,7 @@ QQmlListModelParser::ListInstruction *QQmlListModelParser::ListModelData::instru
     handler. You must call sync() or else the changes made to the list from the external
     thread will not be reflected in the list model in the main thread.
 
-    \sa {qml-data-models}{Data Models}, {declarative/threading/threadedlistmodel}{Threaded ListModel example}, QtQml
+    \sa {qml-data-models}{Data Models}, {declarative/threading/threadedlistmodel}{Threaded ListModel example}, {Qt QML}
 */
 
 QQmlListModel::QQmlListModel(QObject *parent)
index e885524..bdb8a4b 100644 (file)
@@ -73,7 +73,8 @@ QT_BEGIN_NAMESPACE
 
     \snippet quick/views/package/view.qml 0
 
-    \sa {quick/views/package}{Package example}, {quick/demos/photoviewer}{Photo Viewer example}, QtQml
+    \sa {quick/views/package}{Package example}, {quick/demos/photoviewer}{Photo
+    Viewer example}, {Qt QML}
 */
 
 /*!
index 907f740..750a0e1 100644 (file)
@@ -139,16 +139,16 @@ ShaderEffectItem type has been renamed to \l ShaderEffect.
 In Qt 5, all QML applications are rendered with an OpenGL scenegraph architecture rather than the
 Graphics View framework used in Qt 4. Due to the scale of this architectural change, the C++ API has
 been extensively restructured and the \c QtDeclarative module has been deprecated in favour of two
-new modules: \l QtQml, which implements the QML engine and language infrastructure, and \l QtQuick,
+new modules: \l {Qt QML}, which implements the QML engine and language infrastructure, and \l QtQuick,
 which implements the visual canvas and scenegraph backend.
 
-All classes that were previously in the \c QtDeclarative module have been moved into the \l QtQml
+All classes that were previously in the \c QtDeclarative module have been moved into the \l {Qt QML}
 and \l QtQuick modules, and their class names have been changed to reflect their new module
 locations. The class name changes are as follows:
 
 \table
 \header
-    \li QtQml
+    \li Qt QML
     \li QtQuick
 \row
     \li
@@ -176,8 +176,8 @@ locations. The class name changes are as follows:
         \endlist
 \endtable
 
-To use the new \c QtQml* and \c QtQuick* classes in Qt 5, link against the approprate module from
-your qmake \c .pro file. For example the following will link against both the QtQml and QtQuick
+To use the new \c QQml* and \c QtQuick* classes in Qt 5, link against the approprate module from
+your qmake \c .pro file. For example the following will link against both the \l {Qt QML} and QtQuick
 modules:
 
 \code
@@ -237,7 +237,7 @@ an overview of creating QML plugins in Qt 5.
 For the purposes of porting older applications, the \c QtDeclarative module is still available in Qt
 5 but has been renamed to \c QtQuick1. Applications that required QtQuick 1 specific API (e.g.
 QDeclarativeView or QDeclarativeItem and the Graphics View integration) can use this module. Note
-that new applications should use the new \l QtQml and \l QtQuick modules instead.
+that new applications should use the new \l {Qt QML} and \l QtQuick modules instead.
 
 To use the \c QtQuick1 module, add “quick1” module to your qmake \c .pro file:
 
index f74ad20..2f9ca74 100644 (file)
@@ -1025,7 +1025,7 @@ QAbstractAnimationJob* QQuickScriptAction::transition(QQuickStateActions &action
     PropertyAction object) so that the rotation animation begins with the
     correct transform origin.
 
-    \sa {Animation and Transitions in Qt Quick}, QtQml
+    \sa {Animation and Transitions in Qt Quick}, {Qt QML}
 */
 QQuickPropertyAction::QQuickPropertyAction(QObject *parent)
 : QQuickAbstractAnimation(*(new QQuickPropertyActionPrivate), parent)
index e332f37..1e77084 100644 (file)
@@ -98,7 +98,7 @@ public:
     state change. For general advice on using Behaviors to animate state changes, see
     \l{Using Qt Quick Behaviors with States}.
 
-    \sa {Animation and Transitions in Qt Quick}, {declarative/animation/behaviors}{Behavior example}, QtQml
+    \sa {Animation and Transitions in Qt Quick}, {declarative/animation/behaviors}{Behavior example}, {Qt QML}
 */
 
 
index 0193d3d..1c01463 100644 (file)
@@ -129,7 +129,7 @@ QT_BEGIN_NAMESPACE
 
     See the PropertyAction documentation for more details.
 
-    \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, QtQml
+    \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, {Qt QML}
 */
 
 /*!
index 4911466..c89cea6 100644 (file)
@@ -151,7 +151,7 @@ QQuickStateOperation::QQuickStateOperation(QObjectPrivate &dd, QObject *parent)
     not allowed.
 
     \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States},
-    {Animation and Transitions in Qt Quick}{Transitions}, QtQml
+    {Animation and Transitions in Qt Quick}{Transitions}, {Qt QML}
 */
 QQuickState::QQuickState(QObject *parent)
 : QObject(*(new QQuickStatePrivate), parent)
index b4c8f21..a72a45e 100644 (file)
@@ -119,7 +119,7 @@ public:
    }
    \endqml
 
-   \sa {Qt Quick States}{Qt Quick States}, {Animation and Transitions in Qt Quick}{Transitions}, {QtQml}
+   \sa {Qt Quick States}{Qt Quick States}, {Animation and Transitions in Qt Quick}{Transitions}, {Qt QML}
 */
 
 QQuickStateGroup::QQuickStateGroup(QObject *parent)
index 025c7d7..ead28fe 100644 (file)
@@ -94,7 +94,7 @@ QT_BEGIN_NAMESPACE
     \l Behavior, the Transition animation overrides the \l Behavior for that
     state change.
 
-    \sa {Animation and Transitions in Qt Quick}, {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, {QtQml}
+    \sa {Animation and Transitions in Qt Quick}, {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, {Qt QML}
 */
 
 //ParallelAnimationWrapper allows us to do a "callback" when the animation finishes, rather than connecting
index 65549ef..c9ef8b2 100644 (file)
@@ -168,7 +168,7 @@ bool tst_qmlmin::isInvalidFile(const QFileInfo &fileName) const
 }
 
 /*
-This test runs all the examples in the QtQml UI source tree and ensures
+This test runs all the examples in the Qt QML UI source tree and ensures
 that they start and exit cleanly.
 
 Examples are any .qml files under the examples/ directory that start