The QBluetoothHostInfo class encapsulates the details of a local QBluetooth device. More...
Header: | #include <QBluetoothHostInfo> |
qmake: | QT += bluetooth |
Since: | Qt 5.2 |
QBluetoothHostInfo(const QBluetoothHostInfo &other) | |
QBluetoothHostInfo() | |
QBluetoothHostInfo & | operator=(const QBluetoothHostInfo &other) |
~QBluetoothHostInfo() | |
QBluetoothAddress | address() const |
QString | name() const |
void | setAddress(const QBluetoothAddress &address) |
void | setName(const QString &name) |
bool | operator!=(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b) |
bool | operator==(const QBluetoothHostInfo &a, const QBluetoothHostInfo &b) |
This class holds the name and address of a local Bluetooth device.
Constructs a new QBluetoothHostInfo which is a copy of other.
Constructs a null QBluetoothHostInfo object.
Assigns other to this QBluetoothHostInfo instance.
Destroys the QBluetoothHostInfo.
Returns the Bluetooth address as a QBluetoothAddress.
See also setAddress().
Returns the user visible name of the host info object.
See also setName().
Sets the Bluetooth address for this Bluetooth host info object.
See also address().
Sets the name of the host info object.
See also name().
Returns true
if a and b are not equal, otherwise false
.
Returns true
if a and b are equal, otherwise false
.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qbluetoothhostinfo.html