QBluetoothHostInfo Class
QBluetoothHostInfo 클래스는 로컬 QBluetooth 장치의 세부 정보를 캡슐화합니다. 더 보기...
| 헤더: | #include <QBluetoothHostInfo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Bluetooth) target_link_libraries(mytarget PRIVATE Qt6::Bluetooth) |
| qmake: | QT += bluetooth |
공개 함수
| QBluetoothHostInfo() | |
| QBluetoothHostInfo(const QBluetoothHostInfo &other) | |
| ~QBluetoothHostInfo() | |
| QBluetoothAddress | address() const |
| QString | name() const |
| void | setAddress(const QBluetoothAddress &address) |
| void | setName(const QString &name) |
| QBluetoothHostInfo & | operator=(const QBluetoothHostInfo &other) |
관련 비멤버
| bool | operator!=(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b) |
| bool | operator==(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b) |
멤버 함수 설명
QBluetoothHostInfo::QBluetoothHostInfo()
null 값을 가진 QBluetoothHostInfo 객체를 생성합니다.
QBluetoothHostInfo::QBluetoothHostInfo(const QBluetoothHostInfo &other)
other 의 복사본인 새로운 QBluetoothHostInfo 객체를 생성합니다.
[noexcept] QBluetoothHostInfo::~QBluetoothHostInfo()
QBluetoothHostInfo 를 삭제합니다.
QBluetoothAddress QBluetoothHostInfo::address() const
블루투스 주소를 ` QBluetoothAddress` 형식으로 반환합니다.
setAddress()도 참조하십시오 .
QString QBluetoothHostInfo::name() const
호스트 정보 객체의 사용자에게 표시되는 이름을 반환합니다.
setName()도 참조하십시오 .
void QBluetoothHostInfo::setAddress(const QBluetoothAddress &address)
이 블루투스 호스트 정보 객체에 대한 블루투스 address 을 설정합니다.
address()도 참조하십시오 .
void QBluetoothHostInfo::setName(const QString &name)
호스트 정보 객체의 name 를 설정합니다.
name()도 참조하십시오 .
QBluetoothHostInfo &QBluetoothHostInfo::operator=(const QBluetoothHostInfo &other)
이 QBluetoothHostInfo 인스턴스에 other 를 할당합니다.
관련 비회원
bool operator!=(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b)
a 와 b 가 같지 않으면 true 를 반환하고, 그렇지 않으면 false 를 반환합니다.
bool operator==(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b)
a 와 b 가 같으면 true 를 반환하고, 그렇지 않으면 false 를 반환합니다.
© 2026 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.