Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplacesearchsuggestionreply.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 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
5#include "qplacereply_p.h"
6
8
14
16
18
43
50
55{
57 return d->suggestions;
58}
59
67
72{
74 d->suggestions = suggestions;
75}
\inmodule QtCore
Definition qobject.h:103
\inmodule QtLocation
Definition qplacereply.h:15
Type
Describes the reply's type.
Definition qplacereply.h:31
@ SearchSuggestionReply
Definition qplacereply.h:35
Type type() const override
Returns type of reply.
void setSuggestions(const QStringList &suggestions)
Sets the search term suggestions.
QPlaceSearchSuggestionReply(QObject *parent=nullptr)
Constructs a search suggestion reply with a given parent.
QStringList suggestions() const
Returns the search term suggestions.
\inmodule QtCore
Combined button and popup list for selecting options.