|
libbluedevil v1.8
|
Classes | |
| class | Adapter |
| class | Device |
| class | Manager |
Typedefs | |
| typedef QMap< quint32, QString > | QUInt32StringMap |
Enumerations | |
| enum | BluetoothType { BLUETOOTH_TYPE_ANY = 1 << 0, BLUETOOTH_TYPE_PHONE = 1 << 1, BLUETOOTH_TYPE_MODEM = 1 << 2, BLUETOOTH_TYPE_COMPUTER = 1 << 3, BLUETOOTH_TYPE_NETWORK = 1 << 4, BLUETOOTH_TYPE_HEADSET = 1 << 5, BLUETOOTH_TYPE_HEADPHONES = 1 << 6, BLUETOOTH_TYPE_OTHER_AUDIO = 1 << 7, BLUETOOTH_TYPE_KEYBOARD = 1 << 8, BLUETOOTH_TYPE_MOUSE = 1 << 9, BLUETOOTH_TYPE_CAMERA = 1 << 10, BLUETOOTH_TYPE_PRINTER = 1 << 11, BLUETOOTH_TYPE_JOYPAD = 1 << 12, BLUETOOTH_TYPE_TABLET = 1 << 13 } |
Functions | |
| void | asyncCall (Device *device, const char *slot) |
| build buildd libbluedevil bluedevil bluedevilutils cpp quint32 | stringToType (const QString &stringType) |
| quint32 | classToType (quint32 classNum) |
Variables | |
| build buildd libbluedevil bluedevil bluedevilmanager cpp build buildd libbluedevil bluedevil bluedevilmanager static cpp Manager * | instance = 0 |
| typedef QMap<quint32, QString> BlueDevil::QUInt32StringMap |
| void BLUEDEVIL_EXPORT BlueDevil::asyncCall | ( | Device * | device, |
| const char * | slot | ||
| ) |
Generates an asynchronous call on any method of the Device class. Only some methods allow the option of returning the result in form of signal, so not all methods can return information in an asynchronous way.
A typical usage follows:
connect(device, SIGNAL(registerDeviceResult(Device*,bool)), this, SLOT(deviceRegistered(Device*,bool))); BlueDevil::asyncCall(device, SLOT(registerDevice()));
We will later receive on our deviceRegistered slot the information when the fetching of information has finished.
| quint32 BLUEDEVIL_EXPORT BlueDevil::classToType | ( | quint32 | classNum | ) |
| quint32 BLUEDEVIL_EXPORT BlueDevil::stringToType | ( | const QString & | stringType | ) |
build buildd libbluedevil bluedevil bluedevilmanager cpp build buildd libbluedevil bluedevil bluedevilmanager static cpp Manager* BlueDevil::instance = 0 [static] |
1.7.3