libsolidcontrol
FakeBluetoothInterface Class Reference
#include <fakebluetoothinterface.h>

Detailed Description
Definition at line 37 of file fakebluetoothinterface.h.
Constructor & Destructor Documentation
FakeBluetoothInterface::FakeBluetoothInterface | ( | const QMap< QString, QVariant > & | propertyMap, | |
QObject * | parent = 0 | |||
) |
Definition at line 29 of file fakebluetoothinterface.cpp.
FakeBluetoothInterface::~FakeBluetoothInterface | ( | ) | [virtual] |
Definition at line 55 of file fakebluetoothinterface.cpp.
Member Function Documentation
QString FakeBluetoothInterface::address | ( | ) | const [inline] |
Definition at line 55 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::bluetoothRemoteDevices | ( | ) | const |
Definition at line 76 of file fakebluetoothinterface.cpp.
void FakeBluetoothInterface::bondingCreated | ( | const QString & | address | ) | [signal] |
void FakeBluetoothInterface::bondingRemoved | ( | const QString & | address | ) | [signal] |
void FakeBluetoothInterface::cancelDiscovery | ( | ) | [inline, slot] |
Definition at line 187 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::company | ( | ) | const [inline] |
Definition at line 71 of file fakebluetoothinterface.h.
Set mode of bluetooth interface/adapter.
Valid modes, see mode()
- Parameters:
-
mode the mode of the bluetooth interface/adapter Set discoverable timeout of bluetooth interface/adapter. timeout timeout in seconds Set minor class of bluetooth interface/adapter. minor set minor class. Valid mode see listAvaliableMinorClasses() Set name of bluetooth interface/adapter. name the name of bluetooth interface/adapter Start discovery of remote bluetooth devices with device name resolving. Start discovery of remote bluetooth devices without device name resolving. Cancel discovery of remote bluetooth devices. Start periodic discovery of remote bluetooth devices. See stopPeriodicDiscovery() Stop periodic discovery of remote bluetooth devices. Enable/Disable name resolving of remote bluetooth devices in periodic discovery. resolveName true to enable name resolving otherwise false Instantiates a new BluetoothRemoteDevice object from this backend given its address. ubi the identifier of the bluetooth remote device instantiated
- Returns:
- a new BluetoothRemoteDevice object if there's a device having the given UBI, 0 otherwise
Implements Solid::Control::Ifaces::BluetoothInterface.
Definition at line 65 of file fakebluetoothinterface.cpp.
int FakeBluetoothInterface::discoverableTimeout | ( | ) | const [inline] |
Definition at line 79 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::discoverableTimeoutChanged | ( | int | timeout | ) | [signal] |
void FakeBluetoothInterface::discoverDevices | ( | ) | [slot] |
Definition at line 82 of file fakebluetoothinterface.cpp.
void FakeBluetoothInterface::discoverDevicesWithoutNameResolving | ( | ) | [inline, slot] |
Definition at line 185 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::discoveryCompleted | ( | ) | [signal] |
void FakeBluetoothInterface::discoveryStarted | ( | ) | [signal] |
Definition at line 111 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::injectBluetooth | ( | const QString & | ubi, | |
FakeBluetoothRemoteDevice * | device | |||
) | [protected] |
void FakeBluetoothInterface::injectDevice | ( | const QString & | ubi, | |
FakeBluetoothRemoteDevice * | device | |||
) |
Definition at line 96 of file fakebluetoothinterface.cpp.
bool FakeBluetoothInterface::isDiscoverable | ( | ) | const [inline] |
Definition at line 83 of file fakebluetoothinterface.h.
bool FakeBluetoothInterface::isPeriodicDiscoveryActive | ( | ) | const [inline] |
Definition at line 119 of file fakebluetoothinterface.h.
bool FakeBluetoothInterface::isPeriodicDiscoveryNameResolvingActive | ( | ) | const [inline] |
Definition at line 123 of file fakebluetoothinterface.h.
bool FakeBluetoothInterface::isTrusted | ( | const QString & | mac | ) | [inline] |
Definition at line 135 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::listAvailableMinorClasses | ( | ) | const [inline] |
Definition at line 95 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::listBondings | ( | ) | const [inline] |
Definition at line 115 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::listConnections | ( | ) | const [inline] |
Definition at line 87 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::listRecentRemoteDevices | ( | const QDateTime & | ) | const [inline] |
Definition at line 131 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::listRemoteDevices | ( | ) | const [inline] |
Definition at line 127 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::majorClass | ( | ) | const [inline] |
Definition at line 91 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::manufacturer | ( | ) | const [inline] |
Definition at line 67 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::minorClass | ( | ) | const [inline] |
Definition at line 99 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::minorClassChanged | ( | const QString & | minor | ) | [signal] |
Solid::Control::BluetoothInterface::Mode FakeBluetoothInterface::mode | ( | ) | const [inline] |
Definition at line 75 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::modeChanged | ( | Solid::Control::BluetoothInterface::Mode | mode | ) | [signal] |
QString FakeBluetoothInterface::name | ( | ) | const [inline] |
Definition at line 107 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::nameChanged | ( | const QString & | name | ) | [signal] |
void FakeBluetoothInterface::remoteDeviceConnected | ( | const QString & | address | ) | [signal] |
void FakeBluetoothInterface::remoteDeviceDisappeared | ( | const QString & | ubi | ) | [signal] |
void FakeBluetoothInterface::remoteDeviceDisconnected | ( | const QString & | address | ) | [signal] |
void FakeBluetoothInterface::remoteDeviceFound | ( | const QString & | ubi, | |
int | deviceClass, | |||
int | rssi | |||
) | [signal] |
void FakeBluetoothInterface::remoteNameUpdated | ( | const QString & | address, | |
const QString & | name | |||
) | [signal] |
void FakeBluetoothInterface::removeTrust | ( | const QString & | mac | ) | [inline, slot] |
Definition at line 201 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::revision | ( | ) | const [inline] |
Definition at line 63 of file fakebluetoothinterface.h.
QStringList FakeBluetoothInterface::serviceClasses | ( | ) | const [inline] |
Definition at line 103 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setDiscoverableTimeout | ( | int | timeout | ) | [inline, slot] |
Definition at line 172 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setMinorClass | ( | const QString & | minorClass | ) | [inline, slot] |
Definition at line 176 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setMode | ( | const Solid::Control::BluetoothInterface::Mode | mode | ) | [inline, slot] |
Definition at line 168 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setName | ( | const QString & | name | ) | [inline, slot] |
Definition at line 180 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setPeriodicDiscoveryNameResolving | ( | bool | resolving | ) | [inline, slot] |
Definition at line 193 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::setTrusted | ( | const QString & | mac | ) | [inline, slot] |
Definition at line 197 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::startPeriodicDiscovery | ( | ) | [inline, slot] |
Definition at line 189 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::stopPeriodicDiscovery | ( | ) | [inline, slot] |
Definition at line 191 of file fakebluetoothinterface.h.
void FakeBluetoothInterface::trustAdded | ( | const QString & | address | ) | [signal] |
void FakeBluetoothInterface::trustRemoved | ( | const QString & | address | ) | [signal] |
QString FakeBluetoothInterface::ubi | ( | ) | const [inline, virtual] |
Retrieves the Universal Bluetooth Identifier (UBI) of the BluetoothInterface.
This identifier is unique for each bluetooth remote device and bluetooth interface in the system.
- Returns:
- the Universal Bluetooth Identifier of the current bluetooth interface
Implements Solid::Control::Ifaces::BluetoothInterface.
Definition at line 50 of file fakebluetoothinterface.h.
QString FakeBluetoothInterface::version | ( | ) | const [inline] |
Definition at line 59 of file fakebluetoothinterface.h.
Member Data Documentation
QMap<QString, FakeBluetoothRemoteDevice *> FakeBluetoothInterface::mBluetoothRemoteDevices [protected] |
Definition at line 227 of file fakebluetoothinterface.h.
QMap<QString, QVariant> FakeBluetoothInterface::mPropertyMap [protected] |
Definition at line 228 of file fakebluetoothinterface.h.
The documentation for this class was generated from the following files: