QBluetoothAddress
Since: 1.2
#include <QtConnectivity/QBluetoothAddress>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBluetoothAddress
The QBluetoothAddress class provides a Bluetooth address.
QtConnectivity
This class holds a Bluetooth address in a platform- and protocol- independent manner.
Overview
Public Functions Index
QBluetoothAddress () | |
QBluetoothAddress (quint64 address) | |
QBluetoothAddress (const QString &address) | |
QBluetoothAddress (const QBluetoothAddress &other) | |
~QBluetoothAddress () | |
void | clear () |
bool | isNull () const |
bool | operator!= (const QBluetoothAddress &other) const |
bool | operator< (const QBluetoothAddress &other) const |
QBluetoothAddress & | operator= (const QBluetoothAddress &other) |
bool | operator== (const QBluetoothAddress &other) const |
QString | toString () const |
quint64 | toUInt64 () const |
Public Functions
Constructs an null Bluetooth address.
Constructs a new Bluetooth address and assigns address to it.
Constructs a new Bluetooth address and assigns address to it.
The format of address can be either XX:XX:XX:XX:XX:XX or XXXXXXXXXXXX, where X is a hexadecimal digit. Case is not important.
Constructs a new Bluetooth address which is a copy of other.
Destructor.
void
Sets the Bluetooth address to 00:00:00:00:00:00.
bool
Returns true if the Bluetooth address is valid, otherwise returns false.
bool
Compares this Bluetooth address with other.
Returns true if the Bluetooth addresses are not equal, otherwise returns false.
bool
Returns true if the Bluetooth address is less than other; otherwise returns false.
QBluetoothAddress &
Assigns other to this Bluetooth address.
bool
Compares this Bluetooth address to other.
Returns true if the Bluetooth address are equal, otherwise returns false.
QString
Returns the Bluetooth address as a string of the form XX:XX:XX:XX:XX:XX.
quint64
Returns this Bluetooth address as a quint64.
© 2013 Digia Plc and/or its subsidiaries. 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.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy