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

SolidModules

wirelessnetworkinterface.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_WIRELESSNETWORKINTERFACE_H
00022 #define NM07_WIRELESSNETWORKINTERFACE_H
00023 
00024 #include "networkinterface.h"
00025 
00026 #include "solid/control/ifaces/wirelessnetworkinterface.h"
00027 
00028 #include <QDBusObjectPath>
00029 #include <kdemacros.h>
00030 #include "dbus/generic-types.h"
00031 
00032 class NMNetworkManager;
00033 class NMWirelessNetworkInterfacePrivate;
00034 
00035 class KDE_EXPORT NMWirelessNetworkInterface : public NMNetworkInterface, virtual public Solid::Control::Ifaces::WirelessNetworkInterface
00036 {
00037 Q_OBJECT
00038 Q_DECLARE_PRIVATE(NMWirelessNetworkInterface)
00039 Q_INTERFACES(Solid::Control::Ifaces::WirelessNetworkInterface)
00040 
00041 public:
00042     NMWirelessNetworkInterface(const QString & path, NMNetworkManager * manager, QObject * parent);
00043     ~NMWirelessNetworkInterface();
00044     MacAddressList accessPoints() const;
00045     QString activeAccessPoint() const;
00046     QString hardwareAddress() const;
00047     Solid::Control::WirelessNetworkInterface::OperationMode mode() const;
00048     int bitRate() const;
00049     Solid::Control::WirelessNetworkInterface::Capabilities wirelessCapabilities() const;
00050     QObject * createAccessPoint(const QString & uni);
00051 
00052     static Solid::Control::WirelessNetworkInterface::OperationMode convertOperationMode(uint);
00053     static Solid::Control::WirelessNetworkInterface::Capabilities convertCapabilities(uint);
00054 protected Q_SLOTS:
00055     void wirelessPropertiesChanged(const QVariantMap &);
00056     void accessPointAdded(const QDBusObjectPath &);
00057     void accessPointRemoved(const QDBusObjectPath &);
00058 Q_SIGNALS:
00059     void bitRateChanged(int bitrate);
00060     void activeAccessPointChanged(const QString &);
00061     void modeChanged(Solid::Control::WirelessNetworkInterface::OperationMode);
00062     void accessPointAppeared(const QString &);
00063     void accessPointDisappeared(const QString &);
00064 };
00065 
00066 #endif //NM07_WIRELESSNETWORKINTERFACE_H
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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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