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
00023 #ifndef BLUEZ_BLUETOOTH_MANAGER_H
00024 #define BLUEZ_BLUETOOTH_MANAGER_H
00025
00026 #include <QtDBus>
00027 #include <QObject>
00028 #include <qdbusextratypes.h>
00029 #include <QStringList>
00030
00031 #include <kdemacros.h>
00032
00033 #include <solid/control/ifaces/bluetoothmanager.h>
00034
00035
00036 class BluezBluetoothManagerPrivate;
00037 class KDE_EXPORT BluezBluetoothManager : public Solid::Control::Ifaces::BluetoothManager
00038 {
00039 Q_OBJECT
00040
00041 public:
00042 BluezBluetoothManager(QObject * parent, const QStringList & args);
00043 virtual ~BluezBluetoothManager();
00044 QStringList bluetoothInterfaces() const;
00045 QObject * createInterface(const QString &);
00046 void removeInterface(const QString& ubi);
00047
00048 QString defaultInterface() const;
00049 QString findInterface(const QString &) const;
00050
00051
00052
00053
00054 public Q_SLOTS:
00055
00056
00057 protected Q_SLOTS:
00058
00059 void slotDeviceAdded(const QDBusObjectPath &);
00060 void slotDeviceRemoved(const QDBusObjectPath &);
00061 void slotDefaultDeviceChanged(const QDBusObjectPath &);
00062
00063
00064
00065
00066 private:
00067 BluezBluetoothManagerPrivate * d;
00068
00069 };
00070
00071 #endif
00072