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

libsolidcontrol

Solid::Control::Ifaces::NetworkInterface

Solid::Control::Ifaces::NetworkInterface Class Reference

#include <networkinterface.h>

Inheritance diagram for Solid::Control::Ifaces::NetworkInterface:

Inheritance graph
[legend]

List of all members.


Detailed Description

Represents a generic network interface as seen by the networking subsystem.

For specialised interfaces

See also:
Solid::Control::Ifaces::WiredNetworkInterface and

Solid::Control::Ifaces::WirelessNetworkInterface

Definition at line 40 of file ifaces/networkinterface.h.


Public Member Functions

virtual
Solid::Control::NetworkInterface::Capabilities 
capabilities () const =0
virtual
Solid::Control::NetworkInterface::ConnectionState 
connectionState () const =0
virtual int designSpeed () const =0
virtual QString driver () const =0
virtual QString interfaceName () const =0
virtual Solid::Control::IPv4Config ipV4Config () const =0
virtual bool isActive () const =0
virtual QString uni () const =0
virtual ~NetworkInterface ()

Protected Member Functions

virtual void connectionStateChanged (int state)=0
virtual void ipDetailsChanged ()=0

Constructor & Destructor Documentation

Solid::Control::Ifaces::NetworkInterface::~NetworkInterface (  )  [virtual]

Destroys a NetworkInterface object.

Definition at line 22 of file ifaces/networkinterface.cpp.


Member Function Documentation

virtual Solid::Control::NetworkInterface::Capabilities Solid::Control::Ifaces::NetworkInterface::capabilities (  )  const [pure virtual]

Retrieves the capabilities supported by this device.

Returns:
the capabilities of the device
See also:
Solid::Control::NetworkInterface::Capabilities

Implemented in FakeNetworkInterface.

virtual Solid::Control::NetworkInterface::ConnectionState Solid::Control::Ifaces::NetworkInterface::connectionState (  )  const [pure virtual]

Retrieves the current state of the network connection held by this device.

It's a high level view of the connection. It's user oriented so technically it provides states coming from different layers.

Returns:
the current connection state
See also:
Solid::Control::NetworkInterface::ConnectionState

Implemented in FakeNetworkInterface.

virtual void Solid::Control::Ifaces::NetworkInterface::connectionStateChanged ( int  state  )  [protected, pure virtual]

This signal is emitted when the device's connection state changed.

For example, if the device was disconnected and started to activate

Parameters:
state the new state of the connection
See also:
Solid::Control::NetworkInterface::ConnectionState

Implemented in FakeNetworkInterface.

virtual int Solid::Control::Ifaces::NetworkInterface::designSpeed (  )  const [pure virtual]

Retrieves the maximum speed as reported by the device.

Note that it's a design related information and that the device might not reach this maximum.

Returns:
the device maximum speed

Implemented in FakeNetworkInterface.

virtual QString Solid::Control::Ifaces::NetworkInterface::driver (  )  const [pure virtual]

Handle for the system driver controlling this network interface.

Implemented in FakeNetworkInterface.

virtual QString Solid::Control::Ifaces::NetworkInterface::interfaceName (  )  const [pure virtual]

The system name for the network interface.

Implemented in FakeNetworkInterface.

virtual void Solid::Control::Ifaces::NetworkInterface::ipDetailsChanged (  )  [protected, pure virtual]

This signal is emitted when the settings of this network have changed.

Implemented in FakeNetworkInterface.

virtual Solid::Control::IPv4Config Solid::Control::Ifaces::NetworkInterface::ipV4Config (  )  const [pure virtual]

Access the network configuration for this object.

Implemented in FakeNetworkInterface.

virtual bool Solid::Control::Ifaces::NetworkInterface::isActive (  )  const [pure virtual]

Retrieves the activation status of this network interface.

Returns:
true if this network interface is active, false otherwise

Implemented in FakeNetworkInterface.

virtual QString Solid::Control::Ifaces::NetworkInterface::uni (  )  const [pure virtual]

Retrieves the Unique Network Identifier (UNI) of the Network.

This identifier is unique for each network and network interface in the system.

Returns:
the Unique Network Identifier of the current network

Implemented in FakeNetworkInterface.


The documentation for this class was generated from the following files:
  • ifaces/networkinterface.h
  • ifaces/networkinterface.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
  •   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