The QBluetoothHostInfo class encapsulates the details of a local QBluetooth 設備。 更多...
| 頭: | #include <QBluetoothHostInfo> |
| qmake: | QT += bluetooth |
| Since: | Qt 5.2 |
| QBluetoothHostInfo () | |
| QBluetoothHostInfo (const QBluetoothHostInfo & other ) | |
| ~QBluetoothHostInfo () | |
| QBluetoothAddress | address () const |
| QString | name () const |
| void | setAddress (const QBluetoothAddress & address ) |
| void | setName (const QString & name ) |
| bool | operator!= (const QBluetoothHostInfo & other ) const |
| QBluetoothHostInfo & | operator= (const QBluetoothHostInfo & other ) |
| bool | operator== (const QBluetoothHostInfo & other ) const |
The QBluetoothHostInfo class encapsulates the details of a local QBluetooth 設備。
This class holds the name and address of a local Bluetooth device.
Constructs a null QBluetoothHostInfo 對象。
構造新的 QBluetoothHostInfo which is a copy of other .
銷毀 QBluetoothHostInfo .
Returns the Bluetooth address as a QBluetoothAddress .
另請參閱 setAddress ().
Returns the user visible name of the host info object.
另請參閱 setName ().
Sets the Bluetooth address for this Bluetooth host info object.
另請參閱 address ().
設置 name of the host info object.
另請參閱 name ().
返迴 true 若 other 不等於此 QBluetoothHostInfo ,否則 false。
該函數在 Qt 5.5 引入。
賦值 other 到此 QBluetoothHostInfo 實例。
返迴 true 若 other is equal to this QBluetoothHostInfo ,否則 false。
該函數在 Qt 5.5 引入。