Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QBluetoothAddress Class

The QBluetoothAddress class assigns an address to the Bluetooth device. More...

 #include <QBluetoothAddress>

Public Functions

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

Detailed Description

The QBluetoothAddress class assigns an address to the Bluetooth device.

This class holds a Bluetooth address in a platform- and protocol-independent manner.

Member Function Documentation

QBluetoothAddress::QBluetoothAddress()

Constructs an null Bluetooth address.

QBluetoothAddress::QBluetoothAddress(quint64 address)

Constructs a new Bluetooth address and assigns address to it.

QBluetoothAddress::QBluetoothAddress(const QString & address)

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.

QBluetoothAddress::QBluetoothAddress(const QBluetoothAddress & other)

Constructs a new Bluetooth address which is a copy of other.

QBluetoothAddress::~QBluetoothAddress()

Destroys the QBluetoothAddress.

void QBluetoothAddress::clear()

Sets the Bluetooth address to 00:00:00:00:00:00.

bool QBluetoothAddress::isNull() const

Returns true if the Bluetooth address is null, otherwise returns false.

QString QBluetoothAddress::toString() const

Returns the Bluetooth address as a string of the form, XX:XX:XX:XX:XX:XX.

quint64 QBluetoothAddress::toUInt64() const

Returns this Bluetooth address as a quint64.

bool QBluetoothAddress::operator!=(const QBluetoothAddress & other) const

Compares this Bluetooth address with other.

Returns true if the Bluetooth addresses are not equal, otherwise returns false.

bool QBluetoothAddress::operator<(const QBluetoothAddress & other) const

Returns true if the Bluetooth address is less than other, otherwise returns false.

QBluetoothAddress & QBluetoothAddress::operator=(const QBluetoothAddress & other)

Assigns other to this Bluetooth address.

bool QBluetoothAddress::operator==(const QBluetoothAddress & other) const

Compares this Bluetooth address to other.

Returns true if the two Bluetooth addresses are equal, otherwise returns false.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web