libsolidcontrol
Solid::Control::BluetoothSecurity Class Reference
Represents a bluetooth security interface which handles passkey request by the backend. More...
#include <bluetoothsecurity.h>

Public Slots | |
void | setAuthorizationAgent (Solid::Control::BluetoothAuthorizationAgent *agent) |
void | setPasskeyAgent (Solid::Control::BluetoothPasskeyAgent *agent) |
Public Member Functions | |
BluetoothSecurity (QObject *backendObject) | |
BluetoothSecurity () | |
BluetoothSecurity & | operator= (const BluetoothSecurity &object) |
~BluetoothSecurity () |
Detailed Description
Represents a bluetooth security interface which handles passkey request by the backend.To get an instance of this class use Solid::Control::BluetoothManager::security().
Definition at line 137 of file bluetoothsecurity.h.
Constructor & Destructor Documentation
Solid::Control::BluetoothSecurity::BluetoothSecurity | ( | ) |
Constructs an invalid bluetooth security object.
Definition at line 52 of file bluetoothsecurity.cpp.
Solid::Control::BluetoothSecurity::BluetoothSecurity | ( | QObject * | backendObject | ) | [explicit] |
Constructs a new bluetooth security object taking its data from a backend.
- Parameters:
-
backendObject the object given by the backend
Definition at line 57 of file bluetoothsecurity.cpp.
Solid::Control::BluetoothSecurity::~BluetoothSecurity | ( | ) |
Member Function Documentation
Solid::Control::BluetoothSecurity & Solid::Control::BluetoothSecurity::operator= | ( | const BluetoothSecurity & | object | ) |
Assigns a bluetooth security object to this bluetooth security object and returns a reference to it.
- Parameters:
-
device the bluetooth security object to assign
- Returns:
- a reference to the bluetooth security object
Definition at line 67 of file bluetoothsecurity.cpp.
void Solid::Control::BluetoothSecurity::setAuthorizationAgent | ( | Solid::Control::BluetoothAuthorizationAgent * | agent | ) | [slot] |
Sets the authorizationagent that will handle service usage authorization requests in this process.
- Parameters:
-
agent The AuthorizationAgent for this process.If there is a previously registered agent it WON'T be deleted, track/parent your objects.
Definition at line 81 of file bluetoothsecurity.cpp.
void Solid::Control::BluetoothSecurity::setPasskeyAgent | ( | Solid::Control::BluetoothPasskeyAgent * | agent | ) | [slot] |
Sets the passkeyagent that will handle authentication (for pairing) requests in this process.
- Parameters:
-
agent The PasskeyAgent for this process. If there is a previously registered agent it WON'T be deleted, track/parent your objects.
Definition at line 76 of file bluetoothsecurity.cpp.
The documentation for this class was generated from the following files: