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_CONTROL_BLUETOOTHINPUTDEVICE_H
00023 #define SOLID_CONTROL_BLUETOOTHINPUTDEVICE_H
00024
00025 #include <QtCore/QObject>
00026
00027 #include "solid_control_export.h"
00028
00029 namespace Solid
00030 {
00031 namespace Control
00032 {
00033 class BluetoothInputDevicePrivate;
00034
00038 class SOLIDCONTROL_EXPORT BluetoothInputDevice : public QObject
00039 {
00040 Q_OBJECT
00041
00042 public:
00048 BluetoothInputDevice(QObject *backendObject = 0);
00049
00055 BluetoothInputDevice(const BluetoothInputDevice &device);
00056
00060 ~BluetoothInputDevice();
00061
00068 BluetoothInputDevice &operator=(const BluetoothInputDevice &device);
00069
00076 QString ubi() const;
00077
00083 bool isConnected() const;
00084
00090 QString address() const;
00091
00097 QString name() const;
00098
00104 QString productID() const;
00105
00111 QString vendorID() const;
00112
00113
00114 public Q_SLOTS:
00118 void slotConnect();
00119
00123 void slotDisconnect();
00124
00125
00126 Q_SIGNALS:
00130 void connected();
00131
00135 void disconnected();
00136
00137 private:
00138 Q_PRIVATE_SLOT(d, void _k_destroyed(QObject *))
00139
00140 BluetoothInputDevicePrivate * const d;
00141 };
00142
00143 }
00144
00145 }
00146
00147
00148
00149 #endif