libsolidcontrol
bluetoothremotedevice.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_BLUETOOTHREMOTEDEVICE
00023 #define SOLID_IFACES_BLUETOOTHREMOTEDEVICE
00024
00025 #include <QtCore/QObject>
00026 #include <QtCore/QStringList>
00027 #include "../solid_control_export.h"
00028
00029 class KJob;
00030
00031 namespace Solid
00032 {
00033 namespace Control
00034 {
00035 namespace Ifaces
00036 {
00040 class SOLIDCONTROLIFACES_EXPORT BluetoothRemoteDevice : public QObject
00041 {
00042 Q_OBJECT
00043 public:
00049 BluetoothRemoteDevice(QObject *parent = 0);
00050
00054 virtual ~BluetoothRemoteDevice();
00060 virtual QMap<QString,QVariant> getProperties() const = 0;
00067 virtual void discoverServices(const QString &pattern) const = 0;
00073 virtual QStringList listNodes() const = 0;
00077 virtual QString ubi() const = 0;
00078
00079
00080 public Q_SLOTS:
00087 virtual void setProperty(const QString &name, const QVariant &value) = 0;
00091 virtual void cancelDiscovery() = 0;
00095 virtual void disconnect() = 0;
00096
00097
00098
00099 Q_SIGNALS:
00106 virtual void serviceDiscoverAvailable(const QString &status, const QMap<uint,QString> &services) = 0;
00113 virtual void propertyChanged(const QString &name, const QVariant &value) = 0;
00117 virtual void disconnectRequested() = 0;
00118
00119
00120
00121 };
00122
00123 }
00124
00125 }
00126
00127 }
00128
00129 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothRemoteDevice, "org.kde.Solid.Control.Ifaces.BluetoothRemoteDevice/0.1")
00130
00131 #endif