libsolidcontrol
FakeBluetoothManager Class Reference
#include <fakebluetoothmanager.h>

Detailed Description
Definition at line 36 of file fakebluetoothmanager.h.
Public Slots | |
void | removeInputDevice (const QString &ubi) |
Public Member Functions | |
QStringList | bluetoothInputDevices () const |
QStringList | bluetoothInterfaces () const |
FakeBluetoothInputDevice * | createBluetoothInputDevice (const QString &ubi) |
FakeBluetoothInterface * | createBluetoothInterface (const QString &) |
QObject * | createInterface (const QString &) |
QString | defaultInterface () const |
FakeBluetoothManager (QObject *parent, const QStringList &args, const QString &xmlFile) | |
FakeBluetoothManager (QObject *parent, const QStringList &args) | |
Solid::Control::Ifaces::BluetoothSecurity * | security (const QString &interface) |
KJob * | setupInputDevice (const QString &ubi) |
~FakeBluetoothManager () |
Constructor & Destructor Documentation
FakeBluetoothManager::FakeBluetoothManager | ( | QObject * | parent, | |
const QStringList & | args | |||
) |
Definition at line 29 of file fakebluetoothmanager.cpp.
FakeBluetoothManager::FakeBluetoothManager | ( | QObject * | parent, | |
const QStringList & | args, | |||
const QString & | xmlFile | |||
) |
Definition at line 40 of file fakebluetoothmanager.cpp.
FakeBluetoothManager::~FakeBluetoothManager | ( | ) |
Definition at line 51 of file fakebluetoothmanager.cpp.
Member Function Documentation
QStringList FakeBluetoothManager::bluetoothInputDevices | ( | ) | const [virtual] |
Retrieves the list of Universal Bluetooth Identifiers (UBIs) of bluetooth input devices which are configured in the system.
Configured means also not connected devices.
- Returns:
- the list of bluetooth input devices configured in this system
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 192 of file fakebluetoothmanager.cpp.
QStringList FakeBluetoothManager::bluetoothInterfaces | ( | ) | const [virtual] |
Retrieves the list of all the bluetooth interfaces Universal Bluetooth Identifiers (UBIs) in the system.
- Returns:
- the list of bluetooth interfaces available in this system
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 60 of file fakebluetoothmanager.cpp.
FakeBluetoothInputDevice * FakeBluetoothManager::createBluetoothInputDevice | ( | const QString & | ubi | ) | [virtual] |
Instantiates a new BluetoothInputDevice object from this backend given its UBI.
- Parameters:
-
ubi the identifier of the bluetooth input device instantiated
- Returns:
- a new BluetoothInputDevice object if there's a device having the given UBI, 0 otherwise
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 197 of file fakebluetoothmanager.cpp.
FakeBluetoothInterface * FakeBluetoothManager::createBluetoothInterface | ( | const QString & | ubi | ) |
Definition at line 184 of file fakebluetoothmanager.cpp.
Instantiates a new BluetoothInterface object from this backend given its UBI.
- Parameters:
-
ubi the identifier of the bluetooth interface instantiated
- Returns:
- a new BluetoothInterface object if there's a device having the given UBI, 0 otherwise
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 65 of file fakebluetoothmanager.cpp.
QString FakeBluetoothManager::defaultInterface | ( | ) | const [virtual] |
Retrieves the default bluetooth interface Universal Bluetooth Identifiers (UBIs) of the system.
- Returns:
- the UBI of the default bluetooth interface
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 73 of file fakebluetoothmanager.cpp.
void FakeBluetoothManager::removeInputDevice | ( | const QString & | ubi | ) | [virtual, slot] |
Remove the configuraiton of a bluetooth input device.
- Parameters:
-
ubi the bluetooth input device identifier
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 215 of file fakebluetoothmanager.cpp.
Solid::Control::Ifaces::BluetoothSecurity * FakeBluetoothManager::security | ( | const QString & | interface | ) | [virtual] |
Gets an instance of BluetoothSecurity to handle pairing/authorization requests.
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 210 of file fakebluetoothmanager.cpp.
KJob * FakeBluetoothManager::setupInputDevice | ( | const QString & | ubi | ) | [virtual] |
Setup a new bluetooth input device.
- Parameters:
-
ubi the ubi of the bluetooth input device
- Returns:
- job handling of the operation.
Implements Solid::Control::Ifaces::BluetoothManager.
Definition at line 205 of file fakebluetoothmanager.cpp.
The documentation for this class was generated from the following files: