libsolidcontrol
bluetoothinputdevice.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 SOLID_IFACES_BLUETOOTHINPUTDEVICE
00023 #define SOLID_IFACES_BLUETOOTHINPUTDEVICE
00024
00025 #include <QtCore/QObject>
00026 #include <QtCore/QMap>
00027 #include <QtCore/QVariant>
00028
00029 #include "../solid_control_export.h"
00030
00031 namespace Solid
00032 {
00033 namespace Control
00034 {
00035 namespace Ifaces
00036 {
00040 class SOLIDCONTROLIFACES_EXPORT BluetoothInputDevice : public QObject
00041 {
00042 Q_OBJECT
00043 public:
00049 BluetoothInputDevice(QObject * parent = 0);
00050
00054 virtual ~BluetoothInputDevice();
00055
00061 virtual QString ubi() const = 0;
00067 virtual QMap<QString,QVariant> getProperties() const = 0;
00068
00069
00070 public Q_SLOTS:
00074 virtual void connect() = 0;
00075
00079 virtual void disconnect() = 0;
00080
00081 Q_SIGNALS:
00088 virtual void propertyChanged(const QString &name, const QVariant &value) = 0;
00089
00090 };
00091
00092 }
00093
00094 }
00095
00096 }
00097
00098 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothInputDevice, "org.kde.Solid.Control.Ifaces.BluetoothInputDevice/0.1")
00099
00100 #endif