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

libsolidcontrol

Solid::Control::Ifaces::WiredNetworkInterface

Solid::Control::Ifaces::WiredNetworkInterface Class Reference

#include <wirednetworkinterface.h>

Inheritance diagram for Solid::Control::Ifaces::WiredNetworkInterface:

Inheritance graph
[legend]

List of all members.


Detailed Description

Represents a wired network interface.

Definition at line 39 of file ifaces/wirednetworkinterface.h.


Public Member Functions

virtual int bitRate () const =0
virtual bool carrier () const =0
virtual QString hardwareAddress () const =0
virtual ~WiredNetworkInterface ()

Protected Member Functions

virtual void bitRateChanged (int bitRate)=0
virtual void carrierChanged (bool plugged)=0

Constructor & Destructor Documentation

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

Destroys a WiredNetworkInterface object.

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


Member Function Documentation

virtual int Solid::Control::Ifaces::WiredNetworkInterface::bitRate (  )  const [pure virtual]

Retrieves the effective bit rate currently attainable by this device.

Returns:
the bitrate in bit/s

Implemented in FakeWiredNetworkInterface.

virtual void Solid::Control::Ifaces::WiredNetworkInterface::bitRateChanged ( int  bitRate  )  [protected, pure virtual]

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

Parameters:
bitrate the new bitrate value for this network

Implemented in FakeWiredNetworkInterface.

virtual bool Solid::Control::Ifaces::WiredNetworkInterface::carrier (  )  const [pure virtual]

Indicates if the network interfaces sees a carrier.

Returns:
true if there's a carrier, false otherwise

Implemented in FakeWiredNetworkInterface.

virtual void Solid::Control::Ifaces::WiredNetworkInterface::carrierChanged ( bool  plugged  )  [protected, pure virtual]

This signal indicates if the physical carrier changed state (eg if the network cable was plugged or unplugged).

Implemented in FakeWiredNetworkInterface.

virtual QString Solid::Control::Ifaces::WiredNetworkInterface::hardwareAddress (  )  const [pure virtual]

The hardware address assigned to the network interface.

Implemented in FakeWiredNetworkInterface.


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