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
qplaceidreply.cpp
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
4#include "qplaceidreply.h"
5#include "qplacereply_p.h"
6
17
19
21
53 : QPlaceReply(new QPlaceIdReplyPrivate(operationType), parent) {}
54
61
69
76{
77 Q_D(const QPlaceIdReply);
78 return d->operationType;
79}
80
87{
88 Q_D(const QPlaceIdReply);
89 return d->id;
90}
91
95void QPlaceIdReply::setId(const QString &identifier)
96{
97 Q_D(QPlaceIdReply);
98 d->id = identifier;
99}
\inmodule QtCore
Definition qobject.h:103
QPlaceIdReply::OperationType operationType
QPlaceIdReplyPrivate(QPlaceIdReply::OperationType operationType)
\inmodule QtLocation
QPlaceReply::Type type() const override
Returns the type of reply.
OperationType
Defines the type of operation that was used to generate this reply.
virtual ~QPlaceIdReply()
Destroys the reply.
QPlaceIdReply(OperationType operationType, QObject *parent=nullptr)
Constructs a reply which contains the identifier of the object operated upon.
void setId(const QString &identifier)
Sets the identifier of the reply.
OperationType operationType() const
Returns the operation type of the reply.
QString id() const
Returns the relevant identifier for the operation.
\inmodule QtLocation
Definition qplacereply.h:15
Type
Describes the reply's type.
Definition qplacereply.h:31
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.