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
qplacesearchsuggestionreplymapbox.h
Go to the documentation of this file.
1
// Copyright (C) 2017 Mapbox, Inc.
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
QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
5
#
define
QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
6
7
#
include
<
QtLocation
/
QPlaceSearchSuggestionReply
>
8
#
include
<
QNetworkReply
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QNetworkReply;
13
class
QPlaceManagerEngineMapbox
;
14
class
QPlaceResult;
15
16
class
QPlaceSearchSuggestionReplyMapbox
:
public
QPlaceSearchSuggestionReply
17
{
18
Q_OBJECT
19
20
public
:
21
QPlaceSearchSuggestionReplyMapbox
(
QNetworkReply
*
reply
,
QPlaceManagerEngineMapbox
*
parent
);
22
~
QPlaceSearchSuggestionReplyMapbox
();
23
24
public
slots
:
25
void
setError
(
QPlaceReply
::
Error
errorCode
,
const
QString
&
errorString
);
26
27
private
slots
:
28
void
onReplyFinished
();
29
void
onNetworkError(QNetworkReply::NetworkError error);
30
};
31
32
QT_END_NAMESPACE
33
34
#
endif
// QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
QPlaceManagerEngineMapbox
Definition
qplacemanagerenginemapbox.h:15
QPlaceManagerEngineMapbox::initializeCategories
QPlaceReply * initializeCategories() override
Initializes the categories of the manager engine.
Definition
qplacemanagerenginemapbox.cpp:210
QPlaceManagerEngineMapbox::childCategoryIds
QStringList childCategoryIds(const QString &categoryId) const override
Returns the child category identifiers of the category corresponding to categoryId.
Definition
qplacemanagerenginemapbox.cpp:242
QPlaceManagerEngineMapbox::locales
QList< QLocale > locales() const override
Returns a list of preferred locales.
Definition
qplacemanagerenginemapbox.cpp:265
QPlaceManagerEngineMapbox::~QPlaceManagerEngineMapbox
~QPlaceManagerEngineMapbox()
Definition
qplacemanagerenginemapbox.cpp:75
QPlaceManagerEngineMapbox::search
QPlaceSearchReply * search(const QPlaceSearchRequest &) override
Searches for places according to the parameters specified in request.
Definition
qplacemanagerenginemapbox.cpp:79
QPlaceManagerEngineMapbox::childCategories
QList< QPlaceCategory > childCategories(const QString &parentId) const override
Returns a list of categories that are children of the category corresponding to parentId.
Definition
qplacemanagerenginemapbox.cpp:256
QPlaceManagerEngineMapbox::parentCategoryId
QString parentCategoryId(const QString &categoryId) const override
Returns the parent category identifier of the category corresponding to categoryId.
Definition
qplacemanagerenginemapbox.cpp:234
QPlaceManagerEngineMapbox::setLocales
void setLocales(const QList< QLocale > &locales) override
Set the list of preferred locales.
Definition
qplacemanagerenginemapbox.cpp:270
QPlaceManagerEngineMapbox::category
QPlaceCategory category(const QString &categoryId) const override
Returns the category corresponding to the given categoryId.
Definition
qplacemanagerenginemapbox.cpp:251
QPlaceManagerEngineMapbox::searchSuggestions
QPlaceSearchSuggestionReply * searchSuggestions(const QPlaceSearchRequest &) override
Requests a set of search term suggestions according to the parameters specified in request.
Definition
qplacemanagerenginemapbox.cpp:84
QPlaceSearchReplyMapbox
Definition
qplacesearchreplymapbox.h:17
QPlaceSearchReplyMapbox::~QPlaceSearchReplyMapbox
~QPlaceSearchReplyMapbox()
Definition
qplacesearchreplymapbox.cpp:118
QPlaceSearchSuggestionReplyMapbox
Definition
qplacesearchsuggestionreplymapbox.h:17
QPlaceSearchSuggestionReplyMapbox::~QPlaceSearchSuggestionReplyMapbox
~QPlaceSearchSuggestionReplyMapbox()
Definition
qplacesearchsuggestionreplymapbox.cpp:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
plugins
geoservices
mapbox
qplacesearchsuggestionreplymapbox.h
Generated on
for Qt by
1.18.0