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
qplacesearchsuggestionreply.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// Qt-Security score:significant reason:default
4
5#ifndef QPLACESEARCHSUGGESTIONREPLY_H
6#define QPLACESEARCHSUGGESTIONREPLY_H
7
8#include <QtLocation/QPlaceReply>
9
10#include <QtCore/QStringList>
11
12QT_BEGIN_NAMESPACE
13
14class QPlaceSearchSuggestionReplyPrivate;
15
16class Q_LOCATION_EXPORT QPlaceSearchSuggestionReply : public QPlaceReply
17{
18 Q_OBJECT
19public:
20 explicit QPlaceSearchSuggestionReply(QObject *parent = nullptr);
21 ~QPlaceSearchSuggestionReply();
22
23 QStringList suggestions() const;
24 Type type() const override;
25
26protected:
27 void setSuggestions(const QStringList &suggestions);
28
29private:
30 Q_DISABLE_COPY(QPlaceSearchSuggestionReply)
31 Q_DECLARE_PRIVATE(QPlaceSearchSuggestionReply)
32};
33
34QT_END_NAMESPACE
35
36#endif
\inmodule QtLocation
\inmodule QtLocation
Combined button and popup list for selecting options.