libsolidcontrol
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 SOLID_IFACES_BLUETOOTHMANAGER
00023 #define SOLID_IFACES_BLUETOOTHMANAGER
00024
00025 #include <QtCore/QObject>
00026 #include "../solid_control_export.h"
00027
00028 class KJob;
00029
00030 namespace Solid
00031 {
00032 namespace Control
00033 {
00034 namespace Ifaces
00035 {
00036 class BluetoothSecurity;
00044 class SOLIDCONTROLIFACES_EXPORT BluetoothManager : public QObject
00045 {
00046 Q_OBJECT
00047 public:
00053 BluetoothManager(QObject * parent = 0);
00057 virtual ~BluetoothManager();
00058
00065 virtual QStringList bluetoothInterfaces() const = 0;
00066
00073 virtual QString defaultInterface() const = 0;
00074
00081 virtual QString findInterface(const QString &name) const = 0;
00082
00089 virtual QObject *createInterface(const QString &ubi) = 0;
00090
00096 virtual void removeInterface(const QString &ubi) = 0;
00097
00104
00105
00112
00113
00120
00121
00125
00126
00127 public Q_SLOTS:
00133
00134
00135 Q_SIGNALS:
00141 void interfaceAdded(const QString & ubi);
00142
00148 void interfaceRemoved(const QString & ubi);
00149
00155 void defaultInterfaceChanged(const QString & ubi);
00156
00162
00163
00169
00170
00171 };
00172
00173 }
00174
00175 }
00176
00177 }
00178
00179 #endif