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
qgeocodingmanagerengine.h
Go to the documentation of this file.
1
// Copyright (C) 2015 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
QGEOCODINGMANAGERENGINE_H
6
#
define
QGEOCODINGMANAGERENGINE_H
7
8
#
include
<
QtLocation
/
qlocationglobal
.
h
>
9
#
include
<
QtCore
/
QObject
>
10
#
include
<
QtLocation
/
QGeoCodeReply
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QGeoAddress;
15
class
QGeoCoordinate;
16
class
QGeoShape;
17
class
QGeoCodingManagerEnginePrivate
;
18
19
class
Q_LOCATION_EXPORT
QGeoCodingManagerEngine
:
public
QObject
20
{
21
Q_OBJECT
22
public
:
23
explicit
QGeoCodingManagerEngine(
const
QVariantMap ¶meters, QObject *parent =
nullptr
);
24
virtual
~QGeoCodingManagerEngine();
25
26
QString managerName()
const
;
27
int
managerVersion()
const
;
28
29
virtual
QGeoCodeReply *geocode(
const
QGeoAddress &address,
const
QGeoShape &bounds);
30
virtual
QGeoCodeReply *geocode(
const
QString &address,
31
int
limit,
32
int
offset,
33
const
QGeoShape &bounds);
34
virtual
QGeoCodeReply *reverseGeocode(
const
QGeoCoordinate &coordinate,
35
const
QGeoShape &bounds);
36
37
38
void
setLocale(
const
QLocale &locale);
39
QLocale locale()
const
;
40
41
Q_SIGNALS:
42
void
finished(QGeoCodeReply *reply);
43
void
errorOccurred(QGeoCodeReply *reply, QGeoCodeReply::Error error,
44
const
QString &errorString = QString());
45
46
private
:
47
void
setManagerName(
const
QString &managerName);
48
void
setManagerVersion(
int
managerVersion);
49
50
QGeoCodingManagerEnginePrivate *d_ptr;
51
Q_DISABLE_COPY(QGeoCodingManagerEngine)
52
53
friend
class
QGeoServiceProvider;
54
friend
class
QGeoServiceProviderPrivate;
55
};
56
57
QT_END_NAMESPACE
58
59
#
endif
QGeoCodingManagerEnginePrivate
Definition
qgeocodingmanagerengine_p.h:26
QGeoCodingManagerEngine
\inmodule QtLocation
Definition
qgeocodingmanagerengine.h:20
QGeoCodingManagerPrivate
Definition
qgeocodingmanager_p.h:28
QGeoCodingManagerPrivate::QGeoCodingManagerPrivate
QGeoCodingManagerPrivate()=default
QGeoCodingManagerPrivate::engine
std::unique_ptr< QGeoCodingManagerEngine > engine
Definition
qgeocodingmanager_p.h:32
QGeoCodingManager
\inmodule QtLocation
Definition
qgeocodingmanager.h:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
maps
qgeocodingmanagerengine.h
Generated on
for Qt by
1.18.0