#include <sysinfo.h>
Inheritance diagram for MemoryInfo:
Public Types | |
TotalMemory | |
FreeMemory | |
UsedMemory | |
TotalSwap | |
FreeSwap | |
UsedSwap | |
enum | MemoryType { TotalMemory, FreeMemory, UsedMemory, TotalSwap, FreeSwap, UsedSwap } |
Public Member Functions | |
MemoryInfo () | |
bool | init () |
void | timer () |
void | setType (MemoryType type) |
MemoryType | type () |
Properties | |
MemoryType | type [] |
Private Attributes | |
QMap< QString, double > | m_memInfo |
MemoryType | m_type |
MemoryInfo::MemoryInfo | ( | ) | [inline] |
bool MemoryInfo::init | ( | ) | [virtual] |
Reimplemented from AbstractSysInfo.
void MemoryInfo::setType | ( | MemoryType | type | ) | [inline] |
void MemoryInfo::timer | ( | ) | [virtual] |
Reimplemented from PluginInterface.
MemoryType MemoryInfo::type | ( | ) | [inline] |
QMap<QString, double> MemoryInfo::m_memInfo [private] |
MemoryType MemoryInfo::m_type [private] |
Reimplemented from GraphicText.
MemoryType MemoryInfo::type [read, write] |