SolidModules
accesspoint.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 NM07_ACCESSPOINT_H
00022 #define NM07_ACCESSPOINT_H
00023 #include "solid/control/ifaces/wirelessaccesspoint.h"
00024
00025 #include "solid/control/wirelessaccesspoint.h"
00026 #include "solid/control/wirelessnetworkinterface.h"
00027 #include "dbus/generic-types.h"
00028
00029 #include <kdemacros.h>
00030
00031 class KDE_EXPORT NMAccessPoint : public Solid::Control::Ifaces::AccessPoint
00032 {
00033 Q_OBJECT
00034 Q_INTERFACES(Solid::Control::Ifaces::AccessPoint)
00035 public:
00036 NMAccessPoint( const QString & path, QObject * parent = 0 );
00037 virtual ~NMAccessPoint();
00038
00039 QString uni() const;
00040 Solid::Control::AccessPoint::Capabilities capabilities() const;
00041 Solid::Control::AccessPoint::WpaFlags wpaFlags() const;
00042 Solid::Control::AccessPoint::WpaFlags rsnFlags() const;
00043 QString ssid() const;
00044 uint frequency() const;
00045 QString hardwareAddress() const;
00046 uint maxBitRate() const;
00047 Solid::Control::WirelessNetworkInterface::OperationMode mode() const;
00048 int signalStrength() const;
00049 public Q_SLOTS:
00050 void propertiesChanged(const QVariantMap &properties);
00051 Q_SIGNALS:
00052 void signalStrengthChanged(int strength);
00053 void wpaFlagsChanged(Solid::Control::AccessPoint::WpaFlags flags);
00054 void rsnFlagsChanged(Solid::Control::AccessPoint::WpaFlags flags);
00055 void ssidChanged(const QString &ssid);
00056 void frequencyChanged(uint frequency);
00057 void bitRateChanged(int);
00058 private:
00059 static Solid::Control::AccessPoint::Capabilities convertCapabilities(int);
00060 static Solid::Control::AccessPoint::WpaFlags convertWpaFlags(uint);
00061 private:
00062 class Private;
00063 Private * d;
00064 };
00065 #endif
00066
00067