SolidModules
bluez-bluetoothmanager.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef BLUEZ_BLUETOOTH_MANAGER_H
00023 #define BLUEZ_BLUETOOTH_MANAGER_H
00024
00025 #include <QtDBus>
00026 #include <QObject>
00027 #include <qdbusextratypes.h>
00028 #include <QStringList>
00029
00030 #include <kdemacros.h>
00031
00032 #include <solid/control/ifaces/bluetoothmanager.h>
00033
00034 class BluezBluetoothSecurity;
00035 class BluezBluetoothManagerPrivate;
00036 class KDE_EXPORT BluezBluetoothManager : public Solid::Control::Ifaces::BluetoothManager
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 BluezBluetoothManager(QObject * parent, const QStringList & args);
00042 virtual ~BluezBluetoothManager();
00043 QStringList bluetoothInterfaces() const;
00044 QObject * createInterface(const QString &);
00045 QStringList bluetoothInputDevices() const;
00046 QString defaultInterface() const;
00047
00048 QObject * createBluetoothInputDevice(const QString &);
00049 KJob *setupInputDevice(const QString &);
00050 Solid::Control::Ifaces::BluetoothSecurity* security(const QString &interface);
00051 public Q_SLOTS:
00052 void removeInputDevice(const QString &);
00053
00054 protected Q_SLOTS:
00055
00056 void slotDeviceAdded(const QString &);
00057 void slotDeviceRemoved(const QString &);
00058 void slotDefaultDeviceChanged(const QString &);
00059
00060 void slotInputDeviceCreated(const QString &);
00061 void slotInputDeviceRemoved(const QString &);
00062
00063 private:
00064 BluezBluetoothManagerPrivate * d;
00065 QString m_inputManagerDest;
00066 };
00067
00068 #endif
00069