summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/doc/qtpositioning.qdocconf2
-rw-r--r--src/positioning/doc/src/examples/declarative-flickr.qdoc10
-rw-r--r--src/positioning/doc/src/examples/qtpositioning-examples.qdoc5
-rw-r--r--src/positioning/doc/src/examples/satelliteinfo.qdoc4
-rw-r--r--src/positioning/doc/src/examples/weatherinfo.qdoc6
-rw-r--r--src/positioning/qdoublevector2d_p.h2
-rw-r--r--src/positioning/qdoublevector3d_p.h2
-rw-r--r--src/positioning/qgeoprojection_p.h2
-rw-r--r--src/positioning/qpositioningglobal.h5
9 files changed, 21 insertions, 17 deletions
diff --git a/src/positioning/doc/qtpositioning.qdocconf b/src/positioning/doc/qtpositioning.qdocconf
index 10e7b19f..e2c0cc4b 100644
--- a/src/positioning/doc/qtpositioning.qdocconf
+++ b/src/positioning/doc/qtpositioning.qdocconf
@@ -55,3 +55,5 @@ imagedirs += images
navigation.landingpage = "Qt Positioning"
navigation.cppclassespage = "Qt Positioning C++ Classes"
navigation.qmltypespage = "Qt Positioning QML Types"
+
+manifestmeta.thumbnail.names += "QtPositioning/Log File*"
diff --git a/src/positioning/doc/src/examples/declarative-flickr.qdoc b/src/positioning/doc/src/examples/declarative-flickr.qdoc
index af8f4680..a1d0bb58 100644
--- a/src/positioning/doc/src/examples/declarative-flickr.qdoc
+++ b/src/positioning/doc/src/examples/declarative-flickr.qdoc
@@ -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 documentation of the Qt Toolkit.
@@ -34,7 +34,7 @@
fetch local content from a web service.
This is a small example, illustrating one of the very core parts of the
- Qt Positioning API: the ability to retrieve and use the user's current
+ \l{Qt Positioning} API: the ability to retrieve and use the user's current
geographic position.
Key QML types shown in this example:
@@ -45,7 +45,9 @@
\image qml-flickr-1.jpg
- \section2 Retrieving the Current Position
+ \include examples-run.qdocinc
+
+ \section1 Retrieving the Current Position
Retrieving the user's current position is achieved using the PositionSource
type. In this example, we instantiate the PositionSource as part of the
@@ -67,7 +69,7 @@
\snippet flickr/flickrmobile/GeoTab.qml props
- \section2 Using the Current Position
+ \section1 Using the Current Position
The longitude and latitude values retrieved here are eventually set on
in properties on the RestModel component. The RestModel is an XmlListModel,
diff --git a/src/positioning/doc/src/examples/qtpositioning-examples.qdoc b/src/positioning/doc/src/examples/qtpositioning-examples.qdoc
index ac1d79ec..331c5536 100644
--- a/src/positioning/doc/src/examples/qtpositioning-examples.qdoc
+++ b/src/positioning/doc/src/examples/qtpositioning-examples.qdoc
@@ -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 documentation of the Qt Toolkit.
@@ -32,7 +32,6 @@
\ingroup all-examples
\ingroup qtpositioning
- These are the Qt Positioning examples.
+ These are the \l{Qt Positioning} examples.
*/
-
diff --git a/src/positioning/doc/src/examples/satelliteinfo.qdoc b/src/positioning/doc/src/examples/satelliteinfo.qdoc
index 1edb8f6c..6a3ee8cb 100644
--- a/src/positioning/doc/src/examples/satelliteinfo.qdoc
+++ b/src/positioning/doc/src/examples/satelliteinfo.qdoc
@@ -35,7 +35,7 @@
\ingroup qtpositioning-examples
- Key Qt Positioning classes used in this example:
+ Key \l{Qt Positioning} classes used in this example:
\list
\li \l{QGeoSatelliteInfo}
@@ -70,4 +70,6 @@
If the platform does not provide satellite information the application automatically
switches into a demo mode whereby it continuously switches between predefined
sets of satellite data.
+
+ \include examples-run.qdocinc
*/
diff --git a/src/positioning/doc/src/examples/weatherinfo.qdoc b/src/positioning/doc/src/examples/weatherinfo.qdoc
index 0c98cc04..a836d028 100644
--- a/src/positioning/doc/src/examples/weatherinfo.qdoc
+++ b/src/positioning/doc/src/examples/weatherinfo.qdoc
@@ -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 documentation of the Qt Toolkit.
@@ -34,7 +34,7 @@
\ingroup qtpositioning-examples
- Key Qt Positioning classes used in this example:
+ Key \l{Qt Positioning} classes used in this example:
\list
\li \l{QGeoPositionInfo}
@@ -43,6 +43,8 @@
\image ../images/example-weatherinfo.png
+ \include examples-run.qdocinc
+
The key part of this example is the application's data model, contained
in the WeatherData and AppModel classes. WeatherData represents the weather
information taken from the HTTP service. It is a simple data class, but we
diff --git a/src/positioning/qdoublevector2d_p.h b/src/positioning/qdoublevector2d_p.h
index b99e392c..3225a28e 100644
--- a/src/positioning/qdoublevector2d_p.h
+++ b/src/positioning/qdoublevector2d_p.h
@@ -65,7 +65,7 @@ QT_BEGIN_NAMESPACE
class QDoubleVector3D;
-class Q_POSITIONING_EXPORT_PRIVATE QDoubleVector2D
+class Q_POSITIONING_EXPORT QDoubleVector2D
{
public:
Q_DECL_CONSTEXPR inline QDoubleVector2D();
diff --git a/src/positioning/qdoublevector3d_p.h b/src/positioning/qdoublevector3d_p.h
index d3f40193..82ecefbf 100644
--- a/src/positioning/qdoublevector3d_p.h
+++ b/src/positioning/qdoublevector3d_p.h
@@ -63,7 +63,7 @@
QT_BEGIN_NAMESPACE
-class Q_POSITIONING_EXPORT_PRIVATE QDoubleVector3D
+class Q_POSITIONING_EXPORT QDoubleVector3D
{
public:
Q_DECL_CONSTEXPR inline QDoubleVector3D();
diff --git a/src/positioning/qgeoprojection_p.h b/src/positioning/qgeoprojection_p.h
index d0280030..c31daa86 100644
--- a/src/positioning/qgeoprojection_p.h
+++ b/src/positioning/qgeoprojection_p.h
@@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE
class QGeoCoordinate;
class QDoubleVector2D;
-class Q_POSITIONING_EXPORT_PRIVATE QGeoProjection
+class Q_POSITIONING_EXPORT QGeoProjection
{
public:
static QDoubleVector2D coordToMercator(const QGeoCoordinate &coord);
diff --git a/src/positioning/qpositioningglobal.h b/src/positioning/qpositioningglobal.h
index 5d1c3dea..4a919ee6 100644
--- a/src/positioning/qpositioningglobal.h
+++ b/src/positioning/qpositioningglobal.h
@@ -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.
@@ -48,14 +48,11 @@ QT_BEGIN_NAMESPACE
#ifndef QT_STATIC
# if defined(QT_BUILD_POSITIONING_LIB)
# define Q_POSITIONING_EXPORT Q_DECL_EXPORT
-# define Q_POSITIONING_EXPORT_PRIVATE Q_DECL_EXPORT
# else
# define Q_POSITIONING_EXPORT Q_DECL_IMPORT
-# define Q_POSITIONING_EXPORT_PRIVATE Q_DECL_IMPORT
# endif
#else
# define Q_POSITIONING_EXPORT
-# define Q_POSITIONING_EXPORT_PRIVATE
#endif