Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QLOCATION_GEOADDRESS_P_H
6
#
define
QLOCATION_GEOADDRESS_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QString
>
20
#
include
<
QSharedData
>
21
#
include
<
private
/
qglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
// The fields for the class are based on the nominatim openstreetmap API:
26
// https://nominatim.org/release-docs/latest/api/Output/#addressdetails
27
// It might not reflect all the address levels, but can be used to provide a
28
// more or less well-formed address.
29
class
QGeoAddressPrivate :
public
QSharedData
30
{
31
public
:
32
QGeoAddressPrivate();
33
QGeoAddressPrivate(
const
QGeoAddressPrivate &other);
34
~QGeoAddressPrivate();
35
36
QString sCountry;
//!< country field
37
QString sCountryCode;
//!< country code field
38
QString sState;
//!< state field
39
QString sCounty;
//!< county field
40
QString sCity;
//!< city field
41
QString sDistrict;
//!< district field
42
QString sStreet;
//!< street name field
43
QString sStreetNumber;
//!< street number field
44
QString sPostalCode;
//!< postal code field
45
QString sText;
46
bool
m_autoGeneratedText;
47
};
48
49
QT_END_NAMESPACE
50
51
#
endif
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
formattedAddress
static QString formattedAddress(const QGeoAddress &address, const QString &newLine=QLatin1String("<br/>"))
Definition
qgeoaddress.cpp:70
qHash
constexpr size_t qHash(const QSize &s, size_t seed=0) noexcept
Definition
qsize.h:192
qtpositioning
src
positioning
qgeoaddress_p.h
Generated on
for Qt by
1.18.0