diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-07-11 14:09:48 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-08-29 09:54:41 +0000 |
commit | 2baea9d0c3dcaff258b48dec7633105d6294a75e (patch) | |
tree | dc3c5bbcae336974fea2e03a7794872369cbf9f8 /src/imports | |
parent | 194b0c303245f3422a9c3651ce82909d79c913b4 (diff) |
Doc: Fix capitalization in section titles
...and fix some section titles to be less confusing.
Change-Id: If83c3faffead9e2e9be7fc0fb360f1c5b8b1bb51
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/localstorage/plugin.cpp | 2 | ||||
-rw-r--r-- | src/imports/testlib/TestCase.qml | 6 | ||||
-rw-r--r-- | src/imports/xmllistmodel/qqmlxmllistmodel.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp index a7d95cc295..02cf125e48 100644 --- a/src/imports/localstorage/plugin.cpp +++ b/src/imports/localstorage/plugin.cpp @@ -563,7 +563,7 @@ The API conforms to the Synchronous API of the HTML5 Web Database API, The \l{Qt Quick Examples - Local Storage}{SQL Local Storage example} demonstrates the basics of using the Offline Storage API. -\section3 Open or create a databaseData +\section3 Open or Create a Database \code import QtQuick.LocalStorage 2.0 as Sql diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml index 82211b5192..3fc3c0860a 100644 --- a/src/imports/testlib/TestCase.qml +++ b/src/imports/testlib/TestCase.qml @@ -49,7 +49,7 @@ import Qt.test.qtestroot 1.0 \since 4.8 \ingroup qtquicktest - \section1 Introduction to QML test cases + \section1 Introduction to QML Test Cases Test cases are written as JavaScript functions within a TestCase type: @@ -98,7 +98,7 @@ import Qt.test.qtestroot 1.0 once they have all completed. If a test case doesn't need to run (because a precondition has failed), then \l optional can be set to true. - \section1 Data-driven tests + \section1 Data-driven Tests Table data can be provided to a test using a function name that ends with "_data". Alternatively, the \c init_data() function can be used @@ -172,7 +172,7 @@ import Qt.test.qtestroot 1.0 To get the effect of the \c{QBENCHMARK_ONCE} macro, prefix the test function name with "benchmark_once_". - \section1 Simulating keyboard and mouse events + \section1 Simulating Keyboard and Mouse Events The keyPress(), keyRelease(), and keyClick() methods can be used to simulate keyboard events within unit tests. The events are diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp index 61c8665a14..fc9f73a881 100644 --- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp +++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp @@ -693,7 +693,7 @@ void QQuickXmlListModelPrivate::clear_role(QQmlListProperty<QQuickXmlListModelRo populated until the model is loaded. - \section2 Using key XML roles + \section2 Using Key XML Roles You can define certain roles as "keys" so that when reload() is called, the model will only add and refresh data that contains new values for |