From d61b94bcf8b12cbe397bae849196ce37d6fddf97 Mon Sep 17 00:00:00 2001 From: Venu Date: Tue, 22 Oct 2013 13:47:20 +0200 Subject: Doc: Added a QML module page for Qt Quick Test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Topi Reiniƶ Reviewed-by: Jerome Pasion --- src/imports/testlib/signalspy.qdoc | 1 + src/imports/testlib/testcase.qdoc | 1 + src/quick/doc/src/qmltypereference.qdoc | 16 +++++++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) 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}. +*/ -- cgit v1.2.3