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

SolidModules

NetworkManager-wirelessnetwork.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2007 Will Stephenson <wstephenson@kde.org>
00003     Copyright (C) 2008 Pino Toscano <pino@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License version 2 as published by the Free Software Foundation.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Library General Public License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to
00016     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017     Boston, MA 02110-1301, USA.
00018 
00019 */
00020 
00021 #ifndef NETWORKMANAGER_WIRELESSNETWORK_H
00022 #define NETWORKMANAGER_WIRELESSNETWORK_H
00023 
00024 #include <solid/control/ifaces/wirelessnetworkinterface.h>
00025 #include <solid/control/wirelessnetworkinterface.h>
00026 
00027 #include "NetworkManager-networkinterface.h"
00028 
00029 class NMWirelessNetworkPrivate;
00030 
00031 class NMWirelessNetwork : public NMNetworkInterface, virtual public Solid::Control::Ifaces::WirelessNetworkInterface
00032 {
00033 Q_OBJECT
00034 Q_INTERFACES(Solid::Control::Ifaces::WirelessNetworkInterface)
00035 public:
00036     NMWirelessNetwork(const QString  & networkPath);
00037     virtual ~NMWirelessNetwork();
00038     int bitRate() const;
00039     Solid::Control::WirelessNetworkInterface::Capabilities wirelessCapabilities() const;
00040     Solid::Control::WirelessNetworkInterface::OperationMode mode() const;
00041     void setSignalStrength(const QDBusObjectPath & netPath, int strength);
00042     void setBitrate(int rate);
00043     MacAddressList accessPoints() const;
00044     QString activeAccessPoint() const;
00045     QString hardwareAddress() const;
00046     QObject * createAccessPoint(const QString & uni);
00047     /* reimp */ bool activateConnection(const QString & connectionUni, const QVariantMap & connectionParameters);
00048     /* reimp */ bool deactivateConnection();
00049 Q_SIGNALS:
00050     void bitRateChanged(int bitrate);
00051     void activeAccessPointChanged(const QString &);
00052     void modeChanged(Solid::Control::WirelessNetworkInterface::OperationMode);
00053     void accessPointAppeared(const QString &);
00054     void accessPointDisappeared(const QString &);
00055 private:
00056     Q_DECLARE_PRIVATE(NMWirelessNetwork)
00057     Q_DISABLE_COPY(NMWirelessNetwork)
00058 };
00059 
00060 #endif

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