diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2014-09-12 11:01:33 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2014-09-24 12:16:44 +0200 |
commit | cce0e1f9c27683292741310a730e21e36f123ae0 (patch) | |
tree | eab1adf83381f1b9cc9fd4d59fde4eec2c5f28cd | |
parent | d0138bbd479019e0ac402c87144995554950970c (diff) |
Doc: apply title case to all section1 titles
Task-number: QTBUG-41250
Change-Id: I303d989992c9685f73baae50c64accf71b43549f
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | examples/qml/doc/src/qml-extending.qdoc | 14 | ||||
-rw-r--r-- | examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc | 2 | ||||
-rw-r--r-- | examples/quick/canvas/doc/src/canvas.qdoc | 8 | ||||
-rw-r--r-- | examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc | 2 | ||||
-rw-r--r-- | examples/quick/text/doc/src/text.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/cppintegration/definetypes.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/cppintegration/exposecppattributes.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc | 2 | ||||
-rw-r--r-- | src/qml/qml/qqmlextensionplugin.cpp | 2 | ||||
-rw-r--r-- | src/qml/types/qqmlbind.cpp | 2 | ||||
-rw-r--r-- | src/quick/doc/src/concepts/input/focus.qdoc | 2 | ||||
-rw-r--r-- | src/quick/doc/src/concepts/positioning/righttoleft.qdoc | 8 | ||||
-rw-r--r-- | src/quick/items/context2d/qquickcanvasitem.cpp | 2 | ||||
-rw-r--r-- | src/quick/items/qquickgridview.cpp | 2 | ||||
-rw-r--r-- | src/quick/items/qquicklistview.cpp | 2 |
15 files changed, 27 insertions, 27 deletions
diff --git a/examples/qml/doc/src/qml-extending.qdoc b/examples/qml/doc/src/qml-extending.qdoc index 7dbd147cc1..8f44e4f506 100644 --- a/examples/qml/doc/src/qml-extending.qdoc +++ b/examples/qml/doc/src/qml-extending.qdoc @@ -36,7 +36,7 @@ The \c Person type can be used from QML like this: \snippet referenceexamples/adding/example.qml 0 -\section1 Declare the Person class +\section1 Declare the Person Class All QML types map to C++ types. Here we declare a basic C++ Person class with the two properties we want accessible on the QML type - name and shoeSize. @@ -45,7 +45,7 @@ type, the C++ class can be named differently, or appear in a namespace. \snippet referenceexamples/adding/person.h 0 -\section1 Define the Person class +\section1 Define the Person Class \snippet referenceexamples/adding/person.cpp 0 @@ -56,7 +56,7 @@ The \c main.cpp file also calls the \c qmlRegisterType() function to register the \c Person type with QML as a type in the People library version 1.0, and defines the mapping between the C++ and QML class names. -\section1 Running the example +\section1 Running the Example The main.cpp file in the example includes a simple shell application that loads and runs the QML snippet shown at the beginning of this page. @@ -106,7 +106,7 @@ The implementation of BirthdayParty property accessors is straight forward. \snippet referenceexamples/properties/birthdayparty.cpp 0 -\section1 Running the example +\section1 Running the Example The main.cpp file in the example includes a simple shell application that loads and runs the QML snippet shown at the beginning of this page. @@ -162,7 +162,7 @@ The implementation of Boy and Girl are trivial. All that is necessary is to implement the constructor, and to register the types and their QML name with the QML engine. -\section1 Running the example +\section1 Running the Example The BirthdayParty type has not changed since the previous example. The celebrant and guests property still use the People type. @@ -196,7 +196,7 @@ specification of a BirthdayParty through the use of a default property. \snippet referenceexamples/default/example.qml 0 -\section1 Declaring the BirthdayParty class +\section1 Declaring the BirthdayParty Class The only difference between this example and the last, is the addition of the \c DefaultProperty class info annotation. @@ -209,7 +209,7 @@ property. It is purely a syntactic simplification, the behavior is identical to specifying the property by name, but it can add a more natural feel in many situations. The default property must be either an object or list property. -\section1 Running the example +\section1 Running the Example The main.cpp file in the example includes a simple shell application that loads and runs the QML snippet shown at the beginning of this page. diff --git a/examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc b/examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc index 579cc5f80f..8619c528a9 100644 --- a/examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc +++ b/examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc @@ -36,7 +36,7 @@ \include examples-run.qdocinc - \section1 Get data + \section1 Get Data \e{Get data} uses the XMLHttpRequest API to fetch an XML document from a server. It displays the header of the HTTP response and the body of the XML diff --git a/examples/quick/canvas/doc/src/canvas.qdoc b/examples/quick/canvas/doc/src/canvas.qdoc index 2c4bd1f752..e5138e3f35 100644 --- a/examples/quick/canvas/doc/src/canvas.qdoc +++ b/examples/quick/canvas/doc/src/canvas.qdoc @@ -38,12 +38,12 @@ \include examples-run.qdocinc - \section1 Red heart + \section1 Red Heart \e{Red heart} uses the bezier curve API to stroke and fill a red heart. \snippet canvas/bezierCurve/bezierCurve.qml 0 - \section1 Talk bubble + \section1 Talk Bubble \e{Talk bubble} uses the quadraticCurveTo() API to stroke and fill a customized talk bubble: @@ -57,12 +57,12 @@ \e Squircle uses a collection of simple moveTo() and lineTo() path APIs to draw a smooth squircle. - \section1 Rounded rectangle + \section1 Rounded Rectangle \e{Rounded rectangle} uses a collection of lineTo() and arcTo() path APIs to draw a rounded rectangle. - \section1 Smile face + \section1 Smile Face \e{Smile face} uses several paths to draw and fill a smiling face. diff --git a/examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc b/examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc index cdf4cadf82..d823074b37 100644 --- a/examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc +++ b/examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc @@ -83,7 +83,7 @@ returned by the \l {QQuickPaintedItem::}{contentsBoundingRect()} function is the size of the item as defined in the QML file. - \section1 textballoons.qml file + \section1 Textballoons.qml File The Interface consists of two main parts. The scrollable area with the textballoons and the controls button to add new balloons. diff --git a/examples/quick/text/doc/src/text.qdoc b/examples/quick/text/doc/src/text.qdoc index 8ef79ab9d9..e882ba3535 100644 --- a/examples/quick/text/doc/src/text.qdoc +++ b/examples/quick/text/doc/src/text.qdoc @@ -73,7 +73,7 @@ \e Banner is a simple example showing how to create a banner using a row of text types and a \l NumberAnimation. - \section1 Img tag + \section1 Img Tag \e{Img tag} shows different ways of displaying images in text objects using the \c{<img>} tag. diff --git a/src/qml/doc/src/cppintegration/definetypes.qdoc b/src/qml/doc/src/cppintegration/definetypes.qdoc index 6aed2f1339..03607df2e5 100644 --- a/src/qml/doc/src/cppintegration/definetypes.qdoc +++ b/src/qml/doc/src/cppintegration/definetypes.qdoc @@ -47,7 +47,7 @@ features such as \e{attached properties} and \e{default properties} in C++. demonstrated in the \l{Writing QML Extensions with C++} tutorial.) -\section1 Registering C++ types with the QML type system +\section1 Registering C++ Types with the QML Type System A QObject-derived class can be registered with the QML type system to enable the type to be used as a data type from within QML code. diff --git a/src/qml/doc/src/cppintegration/exposecppattributes.qdoc b/src/qml/doc/src/cppintegration/exposecppattributes.qdoc index 8f6836558a..9527229204 100644 --- a/src/qml/doc/src/cppintegration/exposecppattributes.qdoc +++ b/src/qml/doc/src/cppintegration/exposecppattributes.qdoc @@ -359,7 +359,7 @@ implementation, whereas an object-type property can be freely created and destroyed through QML code. -\section1 Exposing Methods (including Qt Slots) +\section1 Exposing Methods (Including Qt Slots) Any method of a QObject-derived type is accessible from QML code if it is: diff --git a/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc b/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc index 16e36f6f6d..1a154e5d5a 100644 --- a/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc +++ b/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc @@ -646,7 +646,7 @@ property is only invoked when the property is reassigned to a different object v This basic type is provided by the QML language. Some enumeration values are provided by the QtQuick import. - \section1 Using the enumeration type in QML + \section1 Using the enumeration Type in QML The \c enumeration type is a representation of a C++ \c enum type. It is not possible to refer to the \c enumeration type in QML itself; instead, the diff --git a/src/qml/qml/qqmlextensionplugin.cpp b/src/qml/qml/qqmlextensionplugin.cpp index d84a7804f4..e48224333c 100644 --- a/src/qml/qml/qqmlextensionplugin.cpp +++ b/src/qml/qml/qqmlextensionplugin.cpp @@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE or other issues in the library user's code. - \section1 An example + \section1 An Example Suppose there is a new \c TimeModel C++ class that should be made available as a new QML element. It provides the current time through \c hour and \c minute diff --git a/src/qml/types/qqmlbind.cpp b/src/qml/types/qqmlbind.cpp index 602e5cf14e..9ba610b9ba 100644 --- a/src/qml/types/qqmlbind.cpp +++ b/src/qml/types/qqmlbind.cpp @@ -72,7 +72,7 @@ public: \ingroup qtquick-interceptors \brief Enables the arbitrary creation of property bindings - \section1 Binding to an inaccessible property + \section1 Binding to an Inaccessible Property Sometimes it is necessary to bind to a property of an object that wasn't directly instantiated by QML - generally a property of a class exported diff --git a/src/quick/doc/src/concepts/input/focus.qdoc b/src/quick/doc/src/concepts/input/focus.qdoc index 065651c826..748c8eb53c 100644 --- a/src/quick/doc/src/concepts/input/focus.qdoc +++ b/src/quick/doc/src/concepts/input/focus.qdoc @@ -172,7 +172,7 @@ See \l{Qt Quick Examples - Key Interaction} for a demonstration of moving keyboard focus between multiple areas using FocusScope types. -\section1 Advanced uses of Focus Scopes +\section1 Advanced Uses of Focus Scopes Focus scopes allow focus to allocation to be easily partitioned. Several QML items use it to this effect. diff --git a/src/quick/doc/src/concepts/positioning/righttoleft.qdoc b/src/quick/doc/src/concepts/positioning/righttoleft.qdoc index 8f55cc8dd7..d6b1753ee3 100644 --- a/src/quick/doc/src/concepts/positioning/righttoleft.qdoc +++ b/src/quick/doc/src/concepts/positioning/righttoleft.qdoc @@ -69,7 +69,7 @@ the effective alignment of the text element that takes the mirroring into accoun \snippet qml/righttoleft.qml 0 -\section1 Layout direction of positioners and views +\section1 Layout Direction of Positioners and Views (This applies to the \l Row, \l Grid, \l Flow, \l ListView and \l GridView types.) @@ -85,7 +85,7 @@ views that takes the mirroring into account can be read from the \c effectiveLay \snippet qml/righttoleft.qml 1 -\section1 Layout mirroring +\section1 Layout Mirroring The attached property \l LayoutMirroring is provided as a convenience for easily implementing right-to-left support for existing left-to-right Qt Quick applications. It mirrors the behavior of \l {anchor-layout} @@ -127,7 +127,7 @@ the animations and transitions continue to work as expected. If you do not have right-to-left support for your application, it may be better to just keep the application layouts left aligned and just make sure that text is translated and aligned properly. -\section1 Mirroring icons +\section1 Mirroring Icons (This applies to \l Image, \l BorderImage and \l AnimatedImage types.) @@ -136,7 +136,7 @@ The painting of these icons can be mirrored with a dedicated \c mirror property \snippet qml/righttoleft.qml 5 -\section1 Default layout direction +\section1 Default Layout Direction The \l {QtQml::Qt::application}{Qt.application.layoutDirection} property can be used to query the active layout direction of the application. It is based on QGuiApplication::layoutDirection(), which most commonly determines the layout diff --git a/src/quick/items/context2d/qquickcanvasitem.cpp b/src/quick/items/context2d/qquickcanvasitem.cpp index 587ba6591d..77a405907e 100644 --- a/src/quick/items/context2d/qquickcanvasitem.cpp +++ b/src/quick/items/context2d/qquickcanvasitem.cpp @@ -275,7 +275,7 @@ QQuickCanvasItemPrivate::~QQuickCanvasItemPrivate() \l{http://en.wikipedia.org/wiki/Screen_tearing}{screen tearing}) which will further impact pixel operations with \c Canvas.FrambufferObject render target. - \section1 Tips for Porting Existing HTML5 Canvas applications + \section1 Tips for Porting Existing HTML5 Canvas Applications Although the Canvas item is provides a HTML5 like API, HTML5 canvas applications need to be modified to run in the Canvas item: diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp index 502c3edfe2..72edce4339 100644 --- a/src/quick/items/qquickgridview.cpp +++ b/src/quick/items/qquickgridview.cpp @@ -1173,7 +1173,7 @@ bool QQuickGridViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte fully outside the view. - \section1 GridView layouts + \section1 GridView Layouts The layout of the items in a GridView can be controlled by these properties: diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 9a56d47221..d381fe2030 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -1742,7 +1742,7 @@ bool QQuickListViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte nicely. - \section1 ListView layouts + \section1 ListView Layouts The layout of the items in a ListView can be controlled by these properties: |