blob: 2a48ce8ee96634a1e5af920364dd94077c77f57a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QPLACEIDREPLY_H
#define QPLACEIDREPLY_H
#include <QtLocation/QPlaceReply>
QT_BEGIN_NAMESPACE
class QPlaceIdReplyPrivate;
class Q_LOCATION_EXPORT QPlaceIdReply : public QPlaceReply
{
Q_OBJECT
public:
enum OperationType
{
SavePlace,
SaveCategory,
RemovePlace,
RemoveCategory
};
explicit QPlaceIdReply(OperationType operationType, QObject *parent = nullptr);
virtual ~QPlaceIdReply();
QPlaceReply::Type type() const override;
OperationType operationType() const;
QString id() const;
protected:
void setId(const QString &identifier);
private:
Q_DISABLE_COPY(QPlaceIdReply)
Q_DECLARE_PRIVATE(QPlaceIdReply)
};
QT_END_NAMESPACE
#endif
|