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

libsolidcontrol

wirelessnetworkinterface.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006,2007,2008 Will Stephenson <wstephenson@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Library General Public
00006     License version 2 as published by the Free Software Foundation.
00007 
00008     This library is distributed in the hope that it will be useful,
00009     but WITHOUT ANY WARRANTY; without even the implied warranty of
00010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011     Library General Public License for more details.
00012 
00013     You should have received a copy of the GNU Library General Public License
00014     along with this library; see the file COPYING.LIB.  If not, write to
00015     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016     Boston, MA 02110-1301, USA.
00017 
00018 */
00019 
00020 #ifndef SOLID_IFACES_WIRELESSNETWORKINTERFACE_H
00021 #define SOLID_IFACES_WIRELESSNETWORKINTERFACE_H
00022 
00023 #include "../solid_control_export.h"
00024 
00025 #include <QtCore/QStringList>
00026 
00027 #include "../wirelessnetworkinterface.h"
00028 #include "networkinterface.h"
00029 
00030 
00031 typedef QString MacAddress;
00032 typedef QStringList MacAddressList;
00033 
00034 namespace Solid
00035 {
00036 namespace Control
00037 {
00038 namespace Ifaces
00039 {
00043     class SOLIDCONTROLIFACES_EXPORT WirelessNetworkInterface : virtual public NetworkInterface
00044     {
00045     public:
00049         virtual ~WirelessNetworkInterface();
00053         virtual MacAddressList accessPoints() const = 0;
00057         virtual QString activeAccessPoint() const = 0;
00061         virtual QString hardwareAddress() const = 0;
00068         virtual Solid::Control::WirelessNetworkInterface::OperationMode mode() const = 0;
00069 
00075         virtual int bitRate() const = 0;
00076 
00083         virtual Solid::Control::WirelessNetworkInterface::Capabilities wirelessCapabilities() const = 0;
00090          virtual QObject * createAccessPoint(const QString & uni) = 0;
00091     protected:
00092     //Q_SIGNALS:
00098         virtual void bitRateChanged(int bitrate) = 0;
00102         virtual void activeAccessPointChanged(const QString &) = 0;
00106         virtual void modeChanged(Solid::Control::WirelessNetworkInterface::OperationMode) = 0;
00110         virtual void accessPointAppeared(const QString &) = 0;
00114         virtual void accessPointDisappeared(const QString &) = 0;
00115     };
00116 } //Ifaces
00117 } //Control
00118 } //Solid
00119 
00120 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::WirelessNetworkInterface, "org.kde.Solid.Control.Ifaces.WirelessNetworkInterface/0.1")
00121 
00122 #endif //SOLID_IFACES_WIRELESSNETWORKINTERFACE_H
00123 

libsolidcontrol

Skip menu "libsolidcontrol"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

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