QNdefNfcUriRecord Class
QNdefNfcUriRecord 类提供了一个 NFC RTDURI。更多
Header: | #include <QNdefNfcUriRecord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Nfc) target_link_libraries(mytarget PRIVATE Qt6::Nfc) |
qmake: | QT += nfc |
继承: | QNdefRecord |
公共函数
QNdefNfcUriRecord() | |
QNdefNfcUriRecord(const QNdefRecord &other) | |
void | setUri(const QUrl &uri) |
QUrl | uri() const |
成员函数文档
QNdefNfcUriRecord::QNdefNfcUriRecord()
创建一个空的 NFC uri 记录。
QNdefNfcUriRecord::QNdefNfcUriRecord(const QNdefRecord &other)
构建一个新的 NFC uri 记录,它是other 的副本。
void QNdefNfcUriRecord::setUri(const QUrl &uri)
将此 URI 记录的 URI 设置为uri 。
另请参阅 uri() 。
QUrl QNdefNfcUriRecord::uri() const
返回此 URI 记录的 URI。
另请参见 setUri()。
© 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.