diff options
author | Venu <[email protected]> | 2013-10-22 13:47:20 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-23 16:09:11 +0200 |
commit | d61b94bcf8b12cbe397bae849196ce37d6fddf97 (patch) | |
tree | 5e02e1d221dc4a7b8c0b7cfc6efcdeb03dac44b9 /src | |
parent | 8169b297dacc20181fecac9eaeab4d8b3b805a4a (diff) |
Doc: Added a QML module page for Qt Quick Test
This should avoid the TestCase and SignalSpy
types being listed in the All Classes page, which
is meant for the C++ classes.
Task-number: QTBUG-33316
Change-Id: I0f2f9e557df89f46f656a8820602fe5712c64073
Reviewed-by: Caroline Chao <[email protected]>
Reviewed-by: Topi Reiniƶ <[email protected]>
Reviewed-by: Jerome Pasion <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/testlib/signalspy.qdoc | 1 | ||||
-rw-r--r-- | src/imports/testlib/testcase.qdoc | 1 | ||||
-rw-r--r-- | src/quick/doc/src/qmltypereference.qdoc | 16 |
3 files changed, 17 insertions, 1 deletions
diff --git a/src/imports/testlib/signalspy.qdoc b/src/imports/testlib/signalspy.qdoc index 0bb1569190..d6f8621c23 100644 --- a/src/imports/testlib/signalspy.qdoc +++ b/src/imports/testlib/signalspy.qdoc @@ -42,6 +42,7 @@ /*! \qmltype SignalSpy \instantiates SignalSpy + \inqmlmodule QtTest \brief Enables introspection of signal emission \ingroup qtquick-utility \since 4.8 diff --git a/src/imports/testlib/testcase.qdoc b/src/imports/testlib/testcase.qdoc index dd1d9e5ad3..4506209f8e 100644 --- a/src/imports/testlib/testcase.qdoc +++ b/src/imports/testlib/testcase.qdoc @@ -42,6 +42,7 @@ /*! \qmltype TestCase \instantiates TestCase + \inqmlmodule QtTest \brief Represents a unit test case \ingroup qtquick-utility \since 4.8 diff --git a/src/quick/doc/src/qmltypereference.qdoc b/src/quick/doc/src/qmltypereference.qdoc index e3b2f4640d..fce7c05e00 100644 --- a/src/quick/doc/src/qmltypereference.qdoc +++ b/src/quick/doc/src/qmltypereference.qdoc @@ -36,7 +36,7 @@ interfaces and applications with QML. This page lists every QML type provided by this module, organized according to category and purpose. -\section1 Importing \c QtQuick +\section1 Importing Qt Quick The types provided by the \l {Qt Quick} module are only available in a QML document if that document imports the \c QtQuick namespace. @@ -1058,3 +1058,17 @@ console.log(c + " " + d); // false true \sa {QML Basic Types} */ + +/*! +\qmlmodule QtTest 1.0 +\title Qt Quick Test +\brief This module provides QML types to unit test your QML application + +You can import this module using the following statement: +\code +import QtTest 1.0 +\endcode + +For more information about how to use these types, see +\l{Qt Quick Test Reference Documentation}. +*/ |