Solid
Solid::NetworkInterface Class Reference
#include <networkinterface.h>

Detailed Description
This device interface is available on network interfaces.Definition at line 35 of file networkinterface.h.
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 |
Constructor & Destructor Documentation
Solid::NetworkInterface::~NetworkInterface | ( | ) | [virtual] |
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: