Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
11
12class QNetworkReply;
14class QPlaceResult;
15
17{
19
20public:
23
24public slots:
26
27private slots:
28 void onReplyFinished();
29 void onNetworkError(QNetworkReply::NetworkError error);
30};
31
32QT_END_NAMESPACE
33
34#endif // QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
QPlaceReply * initializeCategories() override
Initializes the categories of the manager engine.
QStringList childCategoryIds(const QString &categoryId) const override
Returns the child category identifiers of the category corresponding to categoryId.
QList< QLocale > locales() const override
Returns a list of preferred locales.
QPlaceSearchReply * search(const QPlaceSearchRequest &) override
Searches for places according to the parameters specified in request.
QList< QPlaceCategory > childCategories(const QString &parentId) const override
Returns a list of categories that are children of the category corresponding to parentId.
QString parentCategoryId(const QString &categoryId) const override
Returns the parent category identifier of the category corresponding to categoryId.
void setLocales(const QList< QLocale > &locales) override
Set the list of preferred locales.
QPlaceCategory category(const QString &categoryId) const override
Returns the category corresponding to the given categoryId.
QPlaceSearchSuggestionReply * searchSuggestions(const QPlaceSearchRequest &) override
Requests a set of search term suggestions according to the parameters specified in request.