QBluetoothHostInfo Class

QBluetoothHostInfo 클래스는 로컬 QBluetooth 장치의 세부 정보를 캡슐화합니다. 더 보기...

Header: #include <QBluetoothHostInfo>
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()

널 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)

otherQBluetoothHostInfo 인스턴스에 할당합니다.

관련 비회원

bool operator!=(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b)

ab 이 같지 않으면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

bool operator==(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b)

ab 이 같으면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

© 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.