Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeoaddress_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 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 QLOCATION_GEOADDRESS_P_H
5
#define QLOCATION_GEOADDRESS_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 <QString>
19
#include <QSharedData>
20
#include <private/qglobal_p.h>
21
22
QT_BEGIN_NAMESPACE
23
24
// The fields for the class are based on the nominatim openstreetmap API:
25
// https://nominatim.org/release-docs/latest/api/Output/#addressdetails
26
// It might not reflect all the address levels, but can be used to provide a
27
// more or less well-formed address.
28
class
QGeoAddressPrivate
:
public
QSharedData
29
{
30
public
:
31
QGeoAddressPrivate
();
32
QGeoAddressPrivate
(
const
QGeoAddressPrivate
&
other
);
33
~QGeoAddressPrivate
();
34
35
QString
sCountry
;
36
QString
sCountryCode
;
37
QString
sState
;
38
QString
sCounty
;
39
QString
sCity
;
40
QString
sDistrict
;
41
QString
sStreet
;
42
QString
sStreetNumber
;
43
QString
sPostalCode
;
44
QString
sText
;
45
bool
m_autoGeneratedText
;
46
};
47
48
QT_END_NAMESPACE
49
50
#endif
QGeoAddressPrivate
Definition
qgeoaddress_p.h:29
QGeoAddressPrivate::~QGeoAddressPrivate
~QGeoAddressPrivate()
Definition
qgeoaddress.cpp:330
QGeoAddressPrivate::QGeoAddressPrivate
QGeoAddressPrivate()
Definition
qgeoaddress.cpp:308
QGeoAddressPrivate::sState
QString sState
state field
Definition
qgeoaddress_p.h:37
QGeoAddressPrivate::sText
QString sText
Definition
qgeoaddress_p.h:44
QGeoAddressPrivate::sStreetNumber
QString sStreetNumber
street number field
Definition
qgeoaddress_p.h:42
QGeoAddressPrivate::sPostalCode
QString sPostalCode
postal code field
Definition
qgeoaddress_p.h:43
QGeoAddressPrivate::sStreet
QString sStreet
street name field
Definition
qgeoaddress_p.h:41
QGeoAddressPrivate::sCountry
QString sCountry
country field
Definition
qgeoaddress_p.h:35
QGeoAddressPrivate::sCity
QString sCity
city field
Definition
qgeoaddress_p.h:39
QGeoAddressPrivate::sCountryCode
QString sCountryCode
country code field
Definition
qgeoaddress_p.h:36
QGeoAddressPrivate::sCounty
QString sCounty
county field
Definition
qgeoaddress_p.h:38
QGeoAddressPrivate::sDistrict
QString sDistrict
district field
Definition
qgeoaddress_p.h:40
QGeoAddressPrivate::m_autoGeneratedText
bool m_autoGeneratedText
Definition
qgeoaddress_p.h:45
QSharedData
\inmodule QtCore
Definition
qshareddata.h:19
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
other
QSharedPointer< T > other(t)
[5]
qtpositioning
src
positioning
qgeoaddress_p.h
Generated by
1.9.7