libsolidcontrol
FakeBluetoothManager Class Reference
#include <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 () |
Detailed Description
Definition at line 36 of file fakebluetoothmanager.h.
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 |
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 | ) |
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 | ) | [slot] |
Definition at line 215 of file fakebluetoothmanager.cpp.
Solid::Control::Ifaces::BluetoothSecurity * FakeBluetoothManager::security | ( | const QString & | interface | ) |
Definition at line 210 of file fakebluetoothmanager.cpp.
KJob * FakeBluetoothManager::setupInputDevice | ( | const QString & | ubi | ) |
Definition at line 205 of file fakebluetoothmanager.cpp.
The documentation for this class was generated from the following files: