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
qplaceidreply.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 QPLACEIDREPLY_H
6#define QPLACEIDREPLY_H
7
8#include <QtLocation/QPlaceReply>
9
10QT_BEGIN_NAMESPACE
11
12class QPlaceIdReplyPrivate;
13class Q_LOCATION_EXPORT QPlaceIdReply : public QPlaceReply
14{
15 Q_OBJECT
16public:
17 enum OperationType
18 {
19 SavePlace,
20 SaveCategory,
21 RemovePlace,
22 RemoveCategory
23 };
24
25 explicit QPlaceIdReply(OperationType operationType, QObject *parent = nullptr);
26 virtual ~QPlaceIdReply();
27
28 QPlaceReply::Type type() const override;
29 OperationType operationType() const;
30
31 QString id() const;
32
33protected:
34 void setId(const QString &identifier);
35private:
36 Q_DISABLE_COPY(QPlaceIdReply)
37 Q_DECLARE_PRIVATE(QPlaceIdReply)
38};
39
40QT_END_NAMESPACE
41
42#endif
QPlaceIdReplyPrivate(QPlaceIdReply::OperationType operationType)
\inmodule QtLocation
Combined button and popup list for selecting options.