From 40ddb6d836db04077b36558e19c405fa5aa4f466 Mon Sep 17 00:00:00 2001
From: Jerome Pasion <jerome.pasion@digia.com>
Date: Mon, 21 Jul 2014 13:28:27 +0200
Subject: [PATCH] Doc: Changed section numbers in QML basic type pages.

changed section2 to section1
changed section3 to section2
...it looks better to have a section1 because the CSS makes them
look more prominent.

Change-Id: I2e8e336dd38199adcffee1f91a16bc2fae885cfe
Task-number: QTBUG-40335
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
---
 .../positioning/qdeclarativecoordinate.cpp    | 22 +++++++++----------
 .../positioning/qdeclarativegeocircle.cpp     | 10 ++++-----
 .../positioning/qdeclarativegeorectangle.cpp  | 22 +++++++++----------
 .../positioning/qdeclarativegeoshape.cpp      | 14 ++++++------
 4 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/src/imports/positioning/qdeclarativecoordinate.cpp b/src/imports/positioning/qdeclarativecoordinate.cpp
index 5d876a43d..78591fcd1 100644
--- a/src/imports/positioning/qdeclarativecoordinate.cpp
+++ b/src/imports/positioning/qdeclarativecoordinate.cpp
@@ -70,7 +70,7 @@ QT_BEGIN_NAMESPACE
     They also feature a number of important utility methods that make otherwise complex
     calculations simple to use, such as \l atDistanceAndAzimuth().
 
-    \section2 Accuracy
+    \section1 Accuracy
 
     The latitude, longitude and altitude attributes stored in the coordinate type are represented
     as doubles, giving them approximately 16 decimal digits of precision -- enough to specify
@@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE
     \l distanceTo() also use doubles for all intermediate values, but the inherent inaccuracies in
     their spherical Earth model dominate the amount of error in their output.
 
-    \section2 Example Usage
+    \section1 Example Usage
 
     Use properties of type \l variant to store a \c {coordinate}.  To create a \c coordinate use
     one of the methods described below.  In all cases, specifying the \l altitude attribute is
@@ -107,9 +107,9 @@ QT_BEGIN_NAMESPACE
     When integrating with C++, note that any QGeoCoordinate value passed into QML from C++ is
     automatically converted into a \c coordinate value, and vice-versa.
 
-    \section2 Properties
+    \section1 Properties
 
-    \section3 latitude
+    \section2 latitude
 
     \code
     real latitude
@@ -120,7 +120,7 @@ QT_BEGIN_NAMESPACE
     and a negative latitude indicates the Southern Hemisphere.
     If the property has not been set, its default value is NaN.
 
-    \section3 longitude
+    \section2 longitude
 
     \code
     real longitude
@@ -131,7 +131,7 @@ QT_BEGIN_NAMESPACE
     and a negative longitude indicates the Western Hemisphere
     If the property has not been set, its default value is NaN.
 
-    \section3 altitude
+    \section2 altitude
 
     \code
     real altitude
@@ -140,7 +140,7 @@ QT_BEGIN_NAMESPACE
     This property holds the value of altitude (meters above sea level).
     If the property has not been set, its default value is NaN.
 
-    \section3 isValid
+    \section2 isValid
 
     \code
     bool isValid
@@ -156,9 +156,9 @@ QT_BEGIN_NAMESPACE
 
     This is a read-only property.
 
-    \section2 Methods
+    \section1 Methods
 
-    \section3 distanceTo()
+    \section2 distanceTo()
 
     \code
     real distanceTo(coordinate other)
@@ -170,7 +170,7 @@ QT_BEGIN_NAMESPACE
     This calculation returns the great-circle distance between the two coordinates, with an
     assumption that the Earth is spherical for the purpose of this calculation.
 
-    \section3 azimuthTo()
+    \section2 azimuthTo()
 
     \code
     real azimuth(coordinate other)
@@ -181,7 +181,7 @@ QT_BEGIN_NAMESPACE
 
     There is an assumption that the Earth is spherical for the purpose of this calculation.
 
-    \section3 atDistanceAndAzimuth()
+    \section2 atDistanceAndAzimuth()
 
     \code
     coordinate atDistanceAndAzimuth(real distance, real azimuth)
diff --git a/src/imports/positioning/qdeclarativegeocircle.cpp b/src/imports/positioning/qdeclarativegeocircle.cpp
index 65448d574..fb56d792a 100644
--- a/src/imports/positioning/qdeclarativegeocircle.cpp
+++ b/src/imports/positioning/qdeclarativegeocircle.cpp
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
 ** Contact: http://www.qt-project.org/legal
 **
 ** This file is part of the QtPositioning module of the Qt Toolkit.
@@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE
     The circle is considered invalid if the \l center coordinate is invalid or if the \l radius is less
     than zero.
 
-    \section2 Example Usage
+    \section1 Example Usage
 
     Use properties of type \l variant to store a \c {geocircle}.  To create a \c geocircle value,
     use the \l {QtPositioning::circle}{QtPositioning.circle()} function:
@@ -80,9 +80,9 @@ QT_BEGIN_NAMESPACE
     When integrating with C++, note that any QGeoCircle value passed into QML from C++ is
     automatically converted into a \c geocircle value, and vise-versa.
 
-    \section2 Properties
+    \section1 Properties
 
-    \section3 center
+    \section2 center
 
     \code
     coordinate radius
@@ -90,7 +90,7 @@ QT_BEGIN_NAMESPACE
 
     This property holds the coordinate of the center of the geocircle.
 
-    \section3 radius
+    \section2 radius
 
     \code
     real radius
diff --git a/src/imports/positioning/qdeclarativegeorectangle.cpp b/src/imports/positioning/qdeclarativegeorectangle.cpp
index cf860fe0c..53a7d46c5 100644
--- a/src/imports/positioning/qdeclarativegeorectangle.cpp
+++ b/src/imports/positioning/qdeclarativegeorectangle.cpp
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
 ** Contact: http://www.qt-project.org/legal
 **
 ** This file is part of the QtPositioning module of the Qt Toolkit.
@@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE
     degrees.  Setting one of these attributes will cause the other attributes to be adjusted
     accordingly.
 
-    \section2 Limitations
+    \section1 Limitations
 
     A \c georectangle can never cross the poles.
 
@@ -80,7 +80,7 @@ QT_BEGIN_NAMESPACE
     poles the height is modified such that the \c georectangle touches but does not cross the pole
     and that the center coordinate is still in the center of the \c georectangle.
 
-    \section2 Example Usage
+    \section1 Example Usage
 
     Use properties of type \l variant to store a \c {georectangle}.  To create a \c georectangle
     value, use the \l {QtPositioning::rectangle}{QtPositioning.rectangle()} function:
@@ -96,9 +96,9 @@ QT_BEGIN_NAMESPACE
     When integrating with C++, note that any QGeoRectangle value passed into QML from C++ is
     automatically converted into a \c georectangle value, and vice-versa.
 
-    \section2 Properties
+    \section1 Properties
 
-    \section3 bottomLeft
+    \section2 bottomLeft
 
     \code
     coordinate bottomLeft
@@ -106,7 +106,7 @@ QT_BEGIN_NAMESPACE
 
     This property holds the bottom left coordinate of this georectangle.
 
-    \section3 bottomRight
+    \section2 bottomRight
 
     \code
     coordinate bottomRight
@@ -114,7 +114,7 @@ QT_BEGIN_NAMESPACE
 
     This property holds the bottom right coordinate of this georectangle.
 
-    \section3 center
+    \section2 center
 
     \code
     coordinate center
@@ -123,7 +123,7 @@ QT_BEGIN_NAMESPACE
     This property holds the center coordinate of this georectangle. For more details
     see \l {QGeoRectangle::setCenter()}.
 
-    \section3 height
+    \section2 height
 
     \code
     double height
@@ -132,7 +132,7 @@ QT_BEGIN_NAMESPACE
     This property holds the height of this georectangle (in degrees). For more details
     see \l {QGeoRectangle::setHeight()}.
 
-    \section3 topLeft
+    \section2 topLeft
 
     \code
     coordinate topLeft
@@ -140,7 +140,7 @@ QT_BEGIN_NAMESPACE
 
     This property holds the top left coordinate of this georectangle.
 
-    \section3 topRight
+    \section2 topRight
 
     \code
     coordinate topRight
@@ -148,7 +148,7 @@ QT_BEGIN_NAMESPACE
 
     This property holds the top right coordinate of this georectangle.
 
-    \section3 width
+    \section2 width
 
     \code
     double width
diff --git a/src/imports/positioning/qdeclarativegeoshape.cpp b/src/imports/positioning/qdeclarativegeoshape.cpp
index dbde1c09c..79b026565 100644
--- a/src/imports/positioning/qdeclarativegeoshape.cpp
+++ b/src/imports/positioning/qdeclarativegeoshape.cpp
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
 ** Contact: http://www.qt-project.org/legal
 **
 ** This file is part of the QtPositioning module of the Qt Toolkit.
@@ -67,7 +67,7 @@ QT_BEGIN_NAMESPACE
     The \l {contains}{contains()} method can be used to test if a \l {coordinate} is
     within the geoshape.
 
-    \section2 Example Usage
+    \section1 Example Usage
 
     Use properties of type \l variant to store a \c {geoshape}.  To create a \c geoshape use one
     of the methods described below.
@@ -95,9 +95,9 @@ QT_BEGIN_NAMESPACE
     When integrating with C++, note that any QGeoShape value passed into QML from C++ is
     automatically converted into a \c geoshape value, and vice-versa.
 
-    \section2 Properties
+    \section1 Properties
 
-    \section3 isEmpty
+    \section2 isEmpty
 
     \code
     bool isEmpty
@@ -106,7 +106,7 @@ QT_BEGIN_NAMESPACE
     Returns whether this geo shape is empty. An empty geo shape is a region which has
     a geometrical area of 0.
 
-    \section3 isValid
+    \section2 isValid
 
     \code
     bool isValid
@@ -119,9 +119,9 @@ QT_BEGIN_NAMESPACE
     unsuitable value.
 
 
-    \section2 Methods
+    \section1 Methods
 
-    \section3 contains()
+    \section2 contains()
 
     \code
     bool contains(coordinate coord)
-- 
GitLab