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
qplacesearchreplyosm.h
Go to the documentation of this file.
1
// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
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
QPLACESEARCHREPLYOSM_H
6
#
define
QPLACESEARCHREPLYOSM_H
7
8
#
include
<
QtLocation
/
QPlaceSearchReply
>
9
#
include
<
QNetworkReply
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QNetworkReply;
14
class
QPlaceManagerEngineOsm
;
15
class
QPlaceResult;
16
17
class
QPlaceSearchReplyOsm
:
public
QPlaceSearchReply
18
{
19
Q_OBJECT
20
21
public
:
22
QPlaceSearchReplyOsm
(
const
QPlaceSearchRequest
&
request
,
QNetworkReply
*
reply
,
23
QPlaceManagerEngineOsm
*
parent
);
24
~
QPlaceSearchReplyOsm
();
25
26
QString
requestUrl
;
27
28
private
slots
:
29
void
setError
(
QPlaceReply
::
Error
errorCode
,
const
QString
&
errorString
);
30
void
replyFinished();
31
void
networkError(QNetworkReply::NetworkError error);
32
33
private
:
34
QPlaceResult parsePlaceResult(
const
QJsonObject &item)
const
;
35
};
36
37
QT_END_NAMESPACE
38
39
#
endif
// QPLACESEARCHREPLYOSM_H
QPlaceManagerEngineOsm
Definition
qplacemanagerengineosm.h:18
QPlaceManagerEngineOsm::childCategoryIds
QStringList childCategoryIds(const QString &categoryId) const override
Returns the child category identifiers of the category corresponding to categoryId.
Definition
qplacemanagerengineosm.cpp:199
QPlaceManagerEngineOsm::initializeCategories
QPlaceReply * initializeCategories() override
Initializes the categories of the manager engine.
Definition
qplacemanagerengineosm.cpp:168
QPlaceManagerEngineOsm::childCategories
QList< QPlaceCategory > childCategories(const QString &parentId) const override
Returns a list of categories that are children of the category corresponding to parentId.
Definition
qplacemanagerengineosm.cpp:209
QPlaceManagerEngineOsm::locales
QList< QLocale > locales() const override
Returns a list of preferred locales.
Definition
qplacemanagerengineosm.cpp:218
QPlaceManagerEngineOsm::category
QPlaceCategory category(const QString &categoryId) const override
Returns the category corresponding to the given categoryId.
Definition
qplacemanagerengineosm.cpp:204
QPlaceManagerEngineOsm::search
QPlaceSearchReply * search(const QPlaceSearchRequest &request) override
Searches for places according to the parameters specified in request.
Definition
qplacemanagerengineosm.cpp:97
QPlaceManagerEngineOsm::parentCategoryId
QString parentCategoryId(const QString &categoryId) const override
Returns the parent category identifier of the category corresponding to categoryId.
Definition
qplacemanagerengineosm.cpp:191
QPlaceManagerEngineOsm::setLocales
void setLocales(const QList< QLocale > &locales) override
Set the list of preferred locales.
Definition
qplacemanagerengineosm.cpp:223
QPlaceManagerEngineOsm::~QPlaceManagerEngineOsm
~QPlaceManagerEngineOsm()
Definition
qplacemanagerengineosm.cpp:93
QPlaceSearchReplyOsm
Definition
qplacesearchreplyosm.h:18
QPlaceSearchReplyOsm::~QPlaceSearchReplyOsm
~QPlaceSearchReplyOsm()
Definition
qplacesearchreplyosm.cpp:45
QPlaceSearchReplyOsm::requestUrl
QString requestUrl
Definition
qplacesearchreplyosm.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
plugins
geoservices
osm
qplacesearchreplyosm.h
Generated on
for Qt by
1.18.0