Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeocoordinate_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOCOORDINATE_P_H
5#define QGEOCOORDINATE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QSharedData>
19#include "qgeocoordinate.h"
20#include "private/qglobal_p.h"
21
23
25{
26public:
29 // The destructor needs to be virtual because we have a derived class
30 // QGeoMercatorCoordinatePrivate, which is used by
31 // QQuickGeoCoordinateAnimation to create QGeoCoordinate.
32 virtual ~QGeoCoordinatePrivate();
33
34 double lat;
35 double lng;
36 double alt;
37
38 static void atDistanceAndAzimuth(const QGeoCoordinate &coord,
39 qreal distance, qreal azimuth,
40 double *lon, double *lat);
41 static const QGeoCoordinatePrivate *get(const QGeoCoordinate *c) {
42 return c->d.constData();
43 }
44};
45
56
57
59
60#endif // QGEOCOORDINATE_P_H
static void atDistanceAndAzimuth(const QGeoCoordinate &coord, qreal distance, qreal azimuth, double *lon, double *lat)
static const QGeoCoordinatePrivate * get(const QGeoCoordinate *c)
\inmodule QtPositioning
\inmodule QtCore
Definition qshareddata.h:19
Combined button and popup list for selecting options.
GLsizei GLsizei GLfloat distance
const GLubyte * c
GLuint coord
double qreal
Definition qtypes.h:187
QSharedPointer< T > other(t)
[5]