The QBluetoothHostInfo class encapsulates the details of a local QBluetooth device. More...
| 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) |
This class holds the name and address of a local Bluetooth device.
Constructs a null QBluetoothHostInfo object.
Constructs a new QBluetoothHostInfo which is a copy of other.
[noexcept] QBluetoothHostInfo::~QBluetoothHostInfo()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().
Assigns other to this QBluetoothHostInfo instance.
Returns true if a and b are not equal, otherwise false.
Returns true if a and b are equal, otherwise false.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: