author | mickeyl <mickeyl> | 2003-11-03 22:29:08 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-03 22:29:08 (UTC) |
commit | 28812a7f2c5bd370a55824a73f6a0010f8ea9f7e (patch) (side-by-side diff) | |
tree | 0f90e62371740645a631f06c01750b9c2bd7b381 /noncore/settings/sysinfo/memory.h | |
parent | fd87de118d519108b99125f190f3aa6bd2a0b4cb (diff) | |
download | opie-28812a7f2c5bd370a55824a73f6a0010f8ea9f7e.zip opie-28812a7f2c5bd370a55824a73f6a0010f8ea9f7e.tar.gz opie-28812a7f2c5bd370a55824a73f6a0010f8ea9f7e.tar.bz2 |
show swap memory on Memory tab
Diffstat (limited to 'noncore/settings/sysinfo/memory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/memory.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/memory.h b/noncore/settings/sysinfo/memory.h index 696f97c..c2af948 100644 --- a/noncore/settings/sysinfo/memory.h +++ b/noncore/settings/sysinfo/memory.h @@ -34,15 +34,31 @@ class MemoryInfo : public QWidget public: MemoryInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); ~MemoryInfo(); + unsigned long total; + unsigned long used; + unsigned long memfree; + unsigned long shared; + unsigned long buffers; + unsigned long cached; + unsigned long realUsed; + unsigned long swaptotal; + unsigned long swapused; + unsigned long swapfree; + private slots: void updateData(); private: QLabel *totalMem; GraphData *data; Graph *graph; GraphLegend *legend; + + QLabel* swapMem; + GraphData *swapdata; + Graph *swapgraph; + GraphLegend *swaplegend; }; #endif |