• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

SolidModules

accesspoint.h

Go to the documentation of this file.
00001 /*
00002 Copyright 2008 Will Stephenson <wstephenson@kde.org>
00003 
00004 This program is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU General Public License as
00006 published by the Free Software Foundation; either version 2 of
00007 the License or (at your option) version 3 or any later version
00008 accepted by the membership of KDE e.V. (or its successor approved
00009 by the membership of KDE e.V.), which shall act as a proxy 
00010 defined in Section 14 of version 3 of the license.
00011 
00012 This program is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with this program.  If not, see <http://www.gnu.org/licenses/>.
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 

SolidModules

Skip menu "SolidModules"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal