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
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
12
13class QNetworkReply;
15class QPlaceResult;
16
18{
20
21public:
25
27
28private slots:
30 void replyFinished();
31 void networkError(QNetworkReply::NetworkError error);
32
33private:
34 QPlaceResult parsePlaceResult(const QJsonObject &item) const;
35};
36
37QT_END_NAMESPACE
38
39#endif // QPLACESEARCHREPLYOSM_H
QStringList childCategoryIds(const QString &categoryId) const override
Returns the child category identifiers of the category corresponding to categoryId.
QPlaceReply * initializeCategories() override
Initializes the categories of the manager engine.
QList< QPlaceCategory > childCategories(const QString &parentId) const override
Returns a list of categories that are children of the category corresponding to parentId.
QList< QLocale > locales() const override
Returns a list of preferred locales.
QPlaceCategory category(const QString &categoryId) const override
Returns the category corresponding to the given categoryId.
QPlaceSearchReply * search(const QPlaceSearchRequest &request) override
Searches for places according to the parameters specified in request.
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.
Combined button and popup list for selecting options.