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

libsolidcontrol

FakeWiredNetworkInterface Class Reference

#include <fakewirednetworkinterface.h>

Inheritance diagram for FakeWiredNetworkInterface:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 35 of file fakewirednetworkinterface.h.


Signals

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

Public Member Functions

int bitRate () const
bool carrier () const
 FakeWiredNetworkInterface (const QMap< QString, QVariant > &propertyMap, QObject *parent=0)
QString hardwareAddress () const
 ~FakeWiredNetworkInterface ()

Constructor & Destructor Documentation

FakeWiredNetworkInterface::FakeWiredNetworkInterface ( const QMap< QString, QVariant > &  propertyMap,
QObject *  parent = 0 
)

Definition at line 25 of file fakewirednetworkinterface.cpp.

FakeWiredNetworkInterface::~FakeWiredNetworkInterface (  ) 

Definition at line 30 of file fakewirednetworkinterface.cpp.


Member Function Documentation

int FakeWiredNetworkInterface::bitRate (  )  const [virtual]

Retrieves the effective bit rate currently attainable by this device.

Returns:
the bitrate in bit/s

Implements Solid::Control::Ifaces::WiredNetworkInterface.

Definition at line 45 of file fakewirednetworkinterface.cpp.

void FakeWiredNetworkInterface::bitRateChanged ( int  bitRate  )  [virtual, signal]

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

Parameters:
bitrate the new bitrate value for this network

Implements Solid::Control::Ifaces::WiredNetworkInterface.

bool FakeWiredNetworkInterface::carrier (  )  const [virtual]

Indicates if the network interfaces sees a carrier.

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

Implements Solid::Control::Ifaces::WiredNetworkInterface.

Definition at line 40 of file fakewirednetworkinterface.cpp.

void FakeWiredNetworkInterface::carrierChanged ( bool  plugged  )  [virtual, signal]

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

Implements Solid::Control::Ifaces::WiredNetworkInterface.

QString FakeWiredNetworkInterface::hardwareAddress (  )  const [virtual]

The hardware address assigned to the network interface.

Implements Solid::Control::Ifaces::WiredNetworkInterface.

Definition at line 34 of file fakewirednetworkinterface.cpp.


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