The QBluetoothAddress class provides a Bluetooth address. More...
#include <QBluetoothAddress>
This class was introduced in Qt Mobility 1.2.
QBluetoothAddress () | |
QBluetoothAddress ( quint64 address ) | |
QBluetoothAddress ( const QString & address ) | |
QBluetoothAddress ( const QBluetoothAddress & other ) | |
~QBluetoothAddress () | |
void | clear () |
bool | isNull () const |
QString | toString () const |
quint64 | toUInt64 () const |
bool | operator!= ( const QBluetoothAddress & other ) const |
bool | operator< ( const QBluetoothAddress & other ) const |
QBluetoothAddress & | operator= ( const QBluetoothAddress & other ) |
bool | operator== ( const QBluetoothAddress & other ) const |
The QBluetoothAddress class provides a Bluetooth address.
This class holds a Bluetooth address in a platform- and protocol- independent manner.
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.
Sets the Bluetooth address to 00:00:00:00:00:00.
Returns true if the Bluetooth address is valid, otherwise returns false.
Returns the Bluetooth address as a string of the form XX:XX:XX:XX:XX:XX.
Returns this Bluetooth address as a quint64.
Compares this Bluetooth address with other.
Returns true if the Bluetooth addresses are not equal, otherwise returns false.
Returns true if the Bluetooth address is less than other; otherwise returns false.
Assigns other to this Bluetooth address.
Compares this Bluetooth address to other.
Returns true if the Bluetooth address are equal, otherwise returns false.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.