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

libsolidcontrol

Solid::Control::WirelessNetworkInterface

Solid::Control::WirelessNetworkInterface Class Reference

This interface represents a wireless network interface. More...

#include <wirelessnetworkinterface.h>

Inheritance diagram for Solid::Control::WirelessNetworkInterface:

Inheritance graph
[legend]

List of all members.


Public Types

enum  Capability {
  NoCapability = 0x0, Wep40 = 0x2, Wep104, Tkip = 0x4,
  Ccmp = 0x8, Wpa = 0x10, Rsn
}
enum  OperationMode {
  Unassociated, Adhoc, Managed, Master,
  Repeater
}

Signals

void accessPointAppeared (const QString &)
void accessPointDisappeared (const QString &)
void activeAccessPointChanged (const QString &)
void bitRateChanged (int)
void modeChanged (Solid::Control::WirelessNetworkInterface::OperationMode)

Public Member Functions

AccessPointList accessPoints () const
QString activeAccessPoint () const
int bitRate () const
AccessPoint * findAccessPoint (const QString &uni) const
QString hardwareAddress () const
Solid::Control::WirelessNetworkInterface::OperationMode mode () const
virtual NetworkInterface::Type type () const
Solid::Control::WirelessNetworkInterface::Capabilities wirelessCapabilities () const
 WirelessNetworkInterface (const WirelessNetworkInterface &network)
 WirelessNetworkInterface (QObject *backendObject=0)
virtual ~WirelessNetworkInterface ()

Protected Member Functions

QPair< AccessPoint
*, Ifaces::AccessPoint * > 
findRegisteredAccessPoint (const QString &uni) const
void makeConnections (QObject *source)
 WirelessNetworkInterface (WirelessNetworkInterfacePrivate &dd, const WirelessNetworkInterface &network)
 WirelessNetworkInterface (WirelessNetworkInterfacePrivate &dd, QObject *backendObject)

Detailed Description

This interface represents a wireless network interface.

Definition at line 43 of file wirelessnetworkinterface.h.


Member Enumeration Documentation

enum Solid::Control::WirelessNetworkInterface::Capability

Possible Device capabilities

  • IsManageable: denotes that the device can be controlled by this API
  • SupportsCarrierDetect: the device informs us when it is plugged in to the medium
  • SupportsWirelessScan: the device can scan for wireless networks.

Enumerator:
NoCapability 
Wep40 
Wep104 
Tkip 
Ccmp 
Wpa 
Rsn 

Reimplemented from Solid::Control::NetworkInterface.

Definition at line 53 of file wirelessnetworkinterface.h.

enum Solid::Control::WirelessNetworkInterface::OperationMode

Enumerator:
Unassociated 
Adhoc 
Managed 
Master 
Repeater 

Definition at line 51 of file wirelessnetworkinterface.h.


Constructor & Destructor Documentation

Solid::Control::WirelessNetworkInterface::WirelessNetworkInterface ( QObject *  backendObject = 0  ) 

Creates a new WirelessNetworkInterface object.

Parameters:
backendObject the network object provided by the backend

Definition at line 29 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::WirelessNetworkInterface ( const WirelessNetworkInterface &  network  ) 

Constructs a copy of a network.

Parameters:
network the network to copy

Definition at line 38 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::~WirelessNetworkInterface (  )  [virtual]

Destroys a WirelessNetworkInterface object.

Definition at line 63 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::WirelessNetworkInterface ( WirelessNetworkInterfacePrivate &  dd,
QObject *  backendObject 
) [protected]

For internal use only.

Definition at line 47 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::WirelessNetworkInterface ( WirelessNetworkInterfacePrivate &  dd,
const WirelessNetworkInterface &  network 
) [protected]

For internal use only.

Definition at line 55 of file wirelessnetworkinterface.cpp.


Member Function Documentation

void Solid::Control::WirelessNetworkInterface::accessPointAppeared ( const QString &   )  [signal]

A new wireless access point appeared.

void Solid::Control::WirelessNetworkInterface::accessPointDisappeared ( const QString &   )  [signal]

A wireless access point disappeared.

Solid::Control::AccessPointList Solid::Control::WirelessNetworkInterface::accessPoints (  )  const

List of wireless networks currently visible to the hardware.

Definition at line 131 of file wirelessnetworkinterface.cpp.

QString Solid::Control::WirelessNetworkInterface::activeAccessPoint (  )  const

Identifier of the network this interface is currently associated with.

Definition at line 93 of file wirelessnetworkinterface.cpp.

void Solid::Control::WirelessNetworkInterface::activeAccessPointChanged ( const QString &   )  [signal]

The active network changed.

int Solid::Control::WirelessNetworkInterface::bitRate (  )  const

Retrieves the effective bit rate currently attainable by this device.

Returns:
the bitrate in bit/s

Definition at line 99 of file wirelessnetworkinterface.cpp.

void Solid::Control::WirelessNetworkInterface::bitRateChanged ( int   )  [signal]

This signal is emitted when the bitrate of this network has changed.

Parameters:
bitrate the new bitrate value for this network

Solid::Control::AccessPoint * Solid::Control::WirelessNetworkInterface::findAccessPoint ( const QString &  uni  )  const

Finds access point object given its Unique Network Identifier.

Parameters:
uni the identifier of the AP to find from this network interface
Returns:
a valid AccessPoint object if a network having the given UNI for this device is known to the system, 0 otherwise

Definition at line 117 of file wirelessnetworkinterface.cpp.

Solid::Control::AccessPointPair Solid::Control::WirelessNetworkInterface::findRegisteredAccessPoint ( const QString &  uni  )  const [protected]

Definition at line 184 of file wirelessnetworkinterface.cpp.

QString Solid::Control::WirelessNetworkInterface::hardwareAddress (  )  const

The hardware address assigned to the network interface.

Definition at line 87 of file wirelessnetworkinterface.cpp.

void Solid::Control::WirelessNetworkInterface::makeConnections ( QObject *  source  )  [protected]

Definition at line 73 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::OperationMode Solid::Control::WirelessNetworkInterface::mode (  )  const

Retrieves the operation mode of this network.

Returns:
the current mode
See also:
Solid::Control::WirelessNetworkInterface::OperationMode

Definition at line 105 of file wirelessnetworkinterface.cpp.

void Solid::Control::WirelessNetworkInterface::modeChanged ( Solid::Control::WirelessNetworkInterface::OperationMode   )  [signal]

The device switched operating mode.

Solid::Control::NetworkInterface::Type Solid::Control::WirelessNetworkInterface::type (  )  const [virtual]

The NetworkInterface type.

Returns:
the NetworkInterface::Type. This always returns NetworkInterface::Ieee80211

Reimplemented from Solid::Control::NetworkInterface.

Definition at line 68 of file wirelessnetworkinterface.cpp.

Solid::Control::WirelessNetworkInterface::Capabilities Solid::Control::WirelessNetworkInterface::wirelessCapabilities (  )  const

Retrieves the capabilities of this wifi network.

Returns:
the flag set describing the capabilities
See also:
Solid::Control::WirelessNetworkInterface::DeviceInterface

Definition at line 111 of file wirelessnetworkinterface.cpp.


The documentation for this class was generated from the following files:
  • wirelessnetworkinterface.h
  • wirelessnetworkinterface.cpp

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
  •   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