QNearFieldTarget::RequestId Class
class QNearFieldTarget::RequestId请求 ID 句柄。更多
公共函数
RequestId() | |
RequestId(const QNearFieldTarget::RequestId &other) | |
~RequestId() | |
bool | isValid() const |
int | refCount() const |
QNearFieldTarget::RequestId & | operator=(const QNearFieldTarget::RequestId &other) |
成员函数文档
RequestId::RequestId()
构造一个新的无效请求 ID 句柄。
RequestId::RequestId(const QNearFieldTarget::RequestId &other)
构造一个新的请求 ID 句柄,它是other 的副本。
[noexcept]
RequestId::~RequestId()
销毁请求 ID 句柄。
bool RequestId::isValid() const
如果这是一个有效的请求 ID,则返回true
;否则返回false
。
int RequestId::refCount() const
返回请求 ID 的当前引用计数。
QNearFieldTarget::RequestId &RequestId::operator=(const QNearFieldTarget::RequestId &other)
将other 的副本分配给此请求 ID,并返回此请求 ID 的引用。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.