libsolidcontrol
wirelessaccesspoint.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 #ifndef SOLIDCONTROL_IFACES_WIRELESSAP_H
00022 #define SOLIDCONTROL_IFACES_WIRELESSAP_H
00023
00024 #include "../solid_control_export.h"
00025 #include "../wirelessaccesspoint.h"
00026 #include "../wirelessnetworkinterface.h"
00027
00028 namespace Solid
00029 {
00030 namespace Control
00031 {
00032 namespace Ifaces
00033 {
00037 class SOLIDCONTROLIFACES_EXPORT AccessPoint : public QObject
00038 {
00039 Q_OBJECT
00040 public:
00041 AccessPoint(QObject *);
00045 virtual ~AccessPoint();
00046
00050 virtual QString uni() const = 0;
00051
00055 virtual Solid::Control::AccessPoint::Capabilities capabilities() const = 0;
00056
00060 virtual Solid::Control::AccessPoint::WpaFlags wpaFlags() const = 0;
00061
00066 virtual Solid::Control::AccessPoint::WpaFlags rsnFlags() const = 0;
00067
00071 virtual QString ssid() const = 0;
00072
00078 virtual uint frequency() const = 0;
00079
00084 virtual QString hardwareAddress() const = 0;
00085
00091 virtual uint maxBitRate() const = 0;
00092
00099 virtual Solid::Control::WirelessNetworkInterface::OperationMode mode() const = 0;
00100
00106 virtual int signalStrength() const = 0;
00107
00108 Q_SIGNALS:
00114 void signalStrengthChanged(int strength);
00115
00121 void bitRateChanged(int bitrate);
00122
00128 void wpaFlagsChanged(Solid::Control::AccessPoint::WpaFlags flags);
00129
00135 void rsnFlagsChanged(Solid::Control::AccessPoint::WpaFlags flags);
00141 void ssidChanged(const QString &ssid);
00142
00148 void frequencyChanged(uint frequency);
00149 };
00150 }
00151 }
00152 }
00153
00154 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::AccessPoint, "org.kde.Solid.Control.Ifaces.AccessPoint/0.1")
00155
00156 #endif // SOLIDCONTROL_IFACES_WIRELESSAP_H
00157