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

Solid

Solid::NetworkInterface

Solid::NetworkInterface Class Reference

This device interface is available on network interfaces. More...

#include <networkinterface.h>

Inheritance diagram for Solid::NetworkInterface:

Inheritance graph
[legend]

List of all members.


Public Member Functions

QString hwAddress () const
QString ifaceName () const
bool isWireless () const
qulonglong macAddress () const
virtual ~NetworkInterface ()

Static Public Member Functions

static Type deviceInterfaceType ()

Properties

QString hwAddress
QString ifaceName
qulonglong macAddress
bool wireless

Detailed Description

This device interface is available on network interfaces.

Definition at line 35 of file networkinterface.h.


Constructor & Destructor Documentation

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

Destroys a NetworkInterface object.

Definition at line 31 of file networkinterface.cpp.


Member Function Documentation

static Type Solid::NetworkInterface::deviceInterfaceType (  )  [inline, static]

Get the Solid::DeviceInterface::Type of the NetworkInterface device interface.

Returns:
the NetworkInterface device interface type
See also:
Solid::Ifaces::Enums::DeviceInterface::Type

Definition at line 69 of file networkinterface.h.

QString Solid::NetworkInterface::hwAddress (  )  const

Retrieves the hardware address of the interface.

Returns:
the hardware address as a string

QString Solid::NetworkInterface::ifaceName (  )  const

Retrieves the name of the interface in the system.

This name is system dependent, it allows to identify the interface in the system. For example it can be of the form "eth0" under Linux.

Returns:
the interface name

bool Solid::NetworkInterface::isWireless (  )  const

Indicates if this interface is wireless.

Returns:
true if the interface is wireless, false otherwise

Definition at line 42 of file networkinterface.cpp.

qulonglong Solid::NetworkInterface::macAddress (  )  const

Retrieves the MAC address of the interface.

Returns:
the MAC address


Property Documentation

QString Solid::NetworkInterface::hwAddress [read]

Definition at line 40 of file networkinterface.h.

QString Solid::NetworkInterface::ifaceName [read]

Definition at line 38 of file networkinterface.h.

qulonglong Solid::NetworkInterface::macAddress [read]

Definition at line 41 of file networkinterface.h.

bool Solid::NetworkInterface::wireless [read]

Definition at line 39 of file networkinterface.h.


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

Solid

Skip menu "Solid"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs 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