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
qgeocodingmanager.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
QGEOCODINGMANAGER_H
6
#
define
QGEOCODINGMANAGER_H
7
8
#
include
<
QtLocation
/
QGeoCodeReply
>
9
#
include
<
QtPositioning
/
QGeoShape
>
10
11
#
include
<
QtCore
/
QObject
>
12
13
QT_BEGIN_NAMESPACE
14
15
class
QLocale;
16
17
class
QGeoAddress;
18
class
QGeoCodingManagerEngine;
19
class
QGeoCodingManagerPrivate
;
20
21
class
Q_LOCATION_EXPORT
QGeoCodingManager
:
public
QObject
22
{
23
Q_OBJECT
24
public
:
25
~QGeoCodingManager();
26
27
QString managerName()
const
;
28
int
managerVersion()
const
;
29
30
QGeoCodeReply *geocode(
const
QGeoAddress &address,
31
const
QGeoShape &bounds = QGeoShape());
32
QGeoCodeReply *geocode(
const
QString &searchString,
33
int
limit = -1,
34
int
offset = 0,
35
const
QGeoShape &bounds = QGeoShape());
36
37
QGeoCodeReply *reverseGeocode(
const
QGeoCoordinate &coordinate,
38
const
QGeoShape &bounds = QGeoShape());
39
40
void
setLocale(
const
QLocale &locale);
41
QLocale locale()
const
;
42
43
Q_SIGNALS:
44
void
finished(QGeoCodeReply *reply);
45
void
errorOccurred(QGeoCodeReply *reply, QGeoCodeReply::Error error,
46
const
QString &errorString = QString());
47
48
private
:
49
explicit
QGeoCodingManager(QGeoCodingManagerEngine *engine, QObject *parent =
nullptr
);
50
51
QGeoCodingManagerPrivate *d_ptr;
52
Q_DISABLE_COPY(QGeoCodingManager)
53
54
friend
class
QGeoServiceProvider;
55
friend
class
QGeoServiceProviderPrivate;
56
};
57
58
QT_END_NAMESPACE
59
60
#
endif
QGeoCodingManagerPrivate
Definition
qgeocodingmanager_p.h:28
QGeoCodingManager
\inmodule QtLocation
Definition
qgeocodingmanager.h:22
qtlocation
src
location
maps
qgeocodingmanager.h
Generated on
for Qt by
1.18.0