#include <sysinfo.h>
Inheritance diagram for NetworkInfo:
Public Types | |
RXBytes | |
RXPackets | |
TXBytes | |
TXPackets | |
enum | NetworkType { RXBytes, RXPackets, TXBytes, TXPackets } |
Public Member Functions | |
NetworkInfo () | |
bool | init () |
void | timer () |
void | setDevice (const QStringList &device) |
void | setType (NetworkType type) |
QStringList | device () |
NetworkType | type () |
Properties | |
QStringList | device [] |
NetworkType | type [] |
Private Attributes | |
QStringList | m_deviceNames |
QString | m_devName |
NetworkType | m_type |
NetworkInfo::NetworkInfo | ( | ) | [inline] |
QStringList NetworkInfo::device | ( | ) | [inline] |
bool NetworkInfo::init | ( | ) | [virtual] |
Reimplemented from AbstractSysInfo.
void NetworkInfo::setDevice | ( | const QStringList & | device | ) | [inline] |
void NetworkInfo::setType | ( | NetworkType | type | ) | [inline] |
void NetworkInfo::timer | ( | ) | [virtual] |
Reimplemented from PluginInterface.
NetworkType NetworkInfo::type | ( | ) | [inline] |
QStringList NetworkInfo::m_deviceNames [private] |
QString NetworkInfo::m_devName [private] |
NetworkType NetworkInfo::m_type [private] |
Reimplemented from GraphicText.
QStringList NetworkInfo::device [read, write] |
NetworkType NetworkInfo::type [read, write] |