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

libsolidcontrol

Solid::Control::WiredNetworkInterface

Solid::Control::WiredNetworkInterface Class Reference

This interface represents a wired Ethernet network interface. More...

#include <wirednetworkinterface.h>

Inheritance diagram for Solid::Control::WiredNetworkInterface:

Inheritance graph
[legend]

List of all members.


Signals

void bitRateChanged (int bitRate)
void carrierChanged (bool plugged)

Public Member Functions

int bitRate () const
bool carrier () const
QString hardwareAddress () const
virtual NetworkInterface::Type type () const
 WiredNetworkInterface (const WiredNetworkInterface &network)
 WiredNetworkInterface (QObject *backendObject=0)
virtual ~WiredNetworkInterface ()

Protected Member Functions

 WiredNetworkInterface (WiredNetworkInterfacePrivate &dd, const WiredNetworkInterface &network)
 WiredNetworkInterface (WiredNetworkInterfacePrivate &dd, QObject *backendObject)

Detailed Description

This interface represents a wired Ethernet network interface.

Definition at line 37 of file wirednetworkinterface.h.


Constructor & Destructor Documentation

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

Creates a new WiredNetworkInterface object.

Parameters:
backendObject the network object provided by the backend

Definition at line 27 of file wirednetworkinterface.cpp.

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

Constructs a copy of a network.

Parameters:
network the network to copy

Definition at line 34 of file wirednetworkinterface.cpp.

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

Destroys a WiredNetworkInterface object.

Definition at line 51 of file wirednetworkinterface.cpp.

Solid::Control::WiredNetworkInterface::WiredNetworkInterface ( WiredNetworkInterfacePrivate &  dd,
QObject *  backendObject 
) [protected]

For internal use only.

Definition at line 41 of file wirednetworkinterface.cpp.

Solid::Control::WiredNetworkInterface::WiredNetworkInterface ( WiredNetworkInterfacePrivate &  dd,
const WiredNetworkInterface &  network 
) [protected]

For internal use only.

Definition at line 46 of file wirednetworkinterface.cpp.


Member Function Documentation

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

Retrieves the effective bit rate currently attainable by this device.

Returns:
the bitrate in bit/s

Definition at line 67 of file wirednetworkinterface.cpp.

void Solid::Control::WiredNetworkInterface::bitRateChanged ( int  bitRate  )  [signal]

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

Parameters:
bitrate the new bitrate value for this network

bool Solid::Control::WiredNetworkInterface::carrier (  )  const

Indicates if the network interfaces sees a carrier.

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

Definition at line 73 of file wirednetworkinterface.cpp.

void Solid::Control::WiredNetworkInterface::carrierChanged ( bool  plugged  )  [signal]

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

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

The hardware address assigned to the network interface.

Definition at line 61 of file wirednetworkinterface.cpp.

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

The NetworkInterface type.

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

Reimplemented from Solid::Control::NetworkInterface.

Definition at line 56 of file wirednetworkinterface.cpp.


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