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
00023 #ifndef SOLID_CONTROL_BLUETOOTHINPUTDEVICE_H
00024 #define SOLID_CONTROL_BLUETOOTHINPUTDEVICE_H
00025
00026 #include <QtCore/QObject>
00027 #include <QtCore/QMap>
00028 #include <QtCore/QVariant>
00029
00030 #include "solid_control_export.h"
00031
00032 namespace Solid
00033 {
00034 namespace Control
00035 {
00036 class BluetoothInputDevicePrivate;
00037
00041 class SOLIDCONTROL_EXPORT BluetoothInputDevice : public QObject
00042 {
00043 Q_OBJECT
00044
00045 public:
00051 BluetoothInputDevice(QObject *backendObject = 0);
00052
00058 BluetoothInputDevice(const BluetoothInputDevice &device);
00059
00063 ~BluetoothInputDevice();
00064
00071 BluetoothInputDevice &operator=(const BluetoothInputDevice &device);
00072
00079 QString ubi() const;
00085 QMap<QString,QVariant> getProperties() const;
00086
00087
00088
00089 public Q_SLOTS:
00093 void connect();
00094
00098 void disconnect();
00099
00100
00101 Q_SIGNALS:
00108 void propertyChanged(const QString &name, const QVariant &value);
00109
00110
00111 private:
00112 Q_PRIVATE_SLOT(d, void _k_destroyed(QObject *))
00113
00114 BluetoothInputDevicePrivate * const d;
00115 };
00116
00117 }
00118
00119 }
00120
00121
00122
00123 #endif