Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QBluetoothPasskeyRequest class encapsulates a Bluetooth PIN request. More...
#include <QBluetoothPasskeyRequest>
The QBluetoothPasskeyRequest class encapsulates a Bluetooth PIN request.
The QBluetoothPasskeyRequest class encapsulates a passkey request received from the bluetooth system. The request can be rejected, cancelled or accepted. If it is accepted, a valid passkey must be provided.
See also QBluetoothPasskeyAgent.
Constructs a QBluetoothPasskeyRequest. The localDevice parameter specifies the local bluetooth adapter the request came in on. This string should be in the form hciX, such that it can be passed to QBluetoothLocalDevice constructor. The remoteDevice parameter specifies the remote device being paired to.
By default, the request is set to be rejected.
Copy constructor. Constructs a QBluetoothPasskeyRequest from other.
Destroys the passkey request.
Returns true if the request has been rejected.
See also setRejected().
Returns the name of the local device adapter. The string returned is of the form hciX. This can be passed in to the QBluetoothLocalDevice constructor.
See also QBluetoothLocalDevice.
Returns the passkey for the request.
See also setPasskey().
Returns the address of the remote device associated with this request.
Accepts the pairing request, and sets the passkey to passkey.
See also setRejected() and passkey().
Sets the request to be rejected. This usually means that the user has explicitly rejected the request.
See also isRejected() and setPasskey().
Comparison operator. Compares the contents of other to the current passkey request. Returns true if the contents are not equal.
Assignment operator. Assigns the contents of other to the current passkey request.
Comparison operator. Compares the contents of other to the current passkey request. Returns true if the contents are equal.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |