Qt 6.x
The Qt SDK
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
9{
10public:
16};
17
19
21
53 : QPlaceReply(new QPlaceIdReplyPrivate(operationType), parent) {}
54
59{
60}
61
66{
68}
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:90
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:127
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent