QBluetoothHostInfo Class▲
-
Header: QBluetoothHostInfo
-
Since: Qt 5.2
-
qmake: QT += bluetooth
Detailed Description▲
This class holds the name and address of a local Bluetooth device.
Member Function Documentation▲
QBluetoothHostInfo::QBluetoothHostInfo()▲
Constructs a null QBluetoothHostInfo object.
QBluetoothHostInfo::QBluetoothHostInfo(const QBluetoothHostInfo &other)▲
Constructs a new QBluetoothHostInfo which is a copy of other.
QBluetoothHostInfo::~QBluetoothHostInfo()▲
Destroys the QBluetoothHostInfo.
QBluetoothAddress QBluetoothHostInfo::address() const▲
QString QBluetoothHostInfo::name() const▲
void QBluetoothHostInfo::setAddress(const QBluetoothAddress &address)▲
void QBluetoothHostInfo::setName(const QString &name)▲
[since 5.5] bool QBluetoothHostInfo::operator!=(const QBluetoothHostInfo &other) const▲
Returns true if other is not equal to this QBluetoothHostInfo, otherwise false.
This function was introduced in Qt 5.5.
QBluetoothHostInfo &QBluetoothHostInfo::operator=(const QBluetoothHostInfo &other)▲
Assigns other to this QBluetoothHostInfo instance.
[since 5.5] bool QBluetoothHostInfo::operator==(const QBluetoothHostInfo &other) const▲
Returns true if other is equal to this QBluetoothHostInfo, otherwise false.
This function was introduced in Qt 5.5.