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_nokia.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
4
#
ifndef
QGEOCODINGMANAGER_NOKIA_H
5
#
define
QGEOCODINGMANAGER_NOKIA_H
6
7
#
include
"qgeoserviceproviderplugin_nokia.h"
8
9
#
include
<
qgeoserviceprovider
.
h
>
10
#
include
<
qgeocodingmanagerengine
.
h
>
11
12
#
include
<
QLocale
>
13
14
QT_BEGIN_NAMESPACE
15
16
class
QGeoNetworkAccessManager
;
17
class
QGeoUriProvider
;
18
19
class
QGeoCodingManagerEngineNokia
:
public
QGeoCodingManagerEngine
20
{
21
Q_OBJECT
22
public
:
23
QGeoCodingManagerEngineNokia
(
QGeoNetworkAccessManager
*
networkManager
,
24
const
QVariantMap
&
parameters
,
25
QGeoServiceProvider
::
Error
*
error
,
26
QString
*
errorString
);
27
~
QGeoCodingManagerEngineNokia
();
28
29
QGeoCodeReply
*
geocode
(
const
QGeoAddress &address,
30
const
QGeoShape &bounds)
override
;
31
QGeoCodeReply
*
reverseGeocode
(
const
QGeoCoordinate &coordinate,
32
const
QGeoShape &bounds)
override
;
33
34
QGeoCodeReply
*
geocode
(
const
QString &searchString,
35
int
limit,
36
int
offset,
37
const
QGeoShape &bounds)
override
;
38
39
private
Q_SLOTS
:
40
void
placesFinished
();
41
void
placesError(QGeoCodeReply::Error error,
const
QString &errorString);
42
43
private
:
44
static
QString trimDouble(
double
degree,
int
decimalDigits = 10);
45
QGeoCodeReply *geocode(QString requestString,
const
QGeoShape &bounds,
bool
manualBoundsRequired =
true
,
int
limit = -1,
int
offset = 0);
46
QString languageToMarc(QLocale::Language language);
47
QString getAuthenticationString()
const
;
48
49
QGeoNetworkAccessManager
*m_networkManager;
50
QGeoUriProvider
*m_uriProvider;
51
QGeoUriProvider
*m_reverseGeocodingUriProvider;
52
QString m_apiKey;
53
};
54
55
QT_END_NAMESPACE
56
57
#
endif
QGeoCodeReplyNokia
Definition
qgeocodereply_nokia.h:13
QGeoCodingManagerEngineNokia
Definition
qgeocodingmanagerengine_nokia.h:20
QGeoCodingManagerEngineNokia::geocode
QGeoCodeReply * geocode(const QString &searchString, int limit, int offset, const QGeoShape &bounds) override
Begins geocoding for a location matching address.
Definition
qgeocodingmanagerengine_nokia.cpp:146
QGeoCodingManagerEngineNokia::reverseGeocode
QGeoCodeReply * reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) override
Begins the reverse geocoding of coordinate.
Definition
qgeocodingmanagerengine_nokia.cpp:228
QGeoCodingManagerEngineNokia::~QGeoCodingManagerEngineNokia
~QGeoCodingManagerEngineNokia()
Definition
qgeocodingmanagerengine_nokia.cpp:46
QGeoCodingManagerEngineNokia::geocode
QGeoCodeReply * geocode(const QGeoAddress &address, const QGeoShape &bounds) override
Begins the geocoding of address.
Definition
qgeocodingmanagerengine_nokia.cpp:61
QGeoNetworkAccessManager
Definition
qgeonetworkaccessmanager.h:16
QGeoUriProvider
Definition
qgeouriprovider.h:14
marc_language_code_list
static QT_BEGIN_NAMESPACE const unsigned char marc_language_code_list[]
Definition
marclanguagecodes.h:13
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
plugins
geoservices
nokia
qgeocodingmanagerengine_nokia.h
Generated on
for Qt by
1.18.0