Diffstat (limited to 'noncore/applets/memoryapplet/memorystatus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/memoryapplet/memorystatus.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/applets/memoryapplet/memorystatus.cpp b/noncore/applets/memoryapplet/memorystatus.cpp index c01ba28..95ae06b 100644 --- a/noncore/applets/memoryapplet/memorystatus.cpp +++ b/noncore/applets/memoryapplet/memorystatus.cpp | |||
@@ -19,24 +19,25 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "memorystatus.h" | 20 | #include "memorystatus.h" |
21 | #include "../../settings/sysinfo/memory.h" | 21 | #include "../../settings/sysinfo/memory.h" |
22 | #include "swapfile.h" | 22 | #include "swapfile.h" |
23 | 23 | ||
24 | #include <qpainter.h> | 24 | #include <qpainter.h> |
25 | #include <qpushbutton.h> | 25 | #include <qpushbutton.h> |
26 | #include <qdrawutil.h> | 26 | #include <qdrawutil.h> |
27 | #include <qlabel.h> | 27 | #include <qlabel.h> |
28 | 28 | ||
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | 30 | ||
31 | using namespace Opie::Ui; | ||
31 | MemoryStatus::MemoryStatus(QWidget *parent, WFlags f ) | 32 | MemoryStatus::MemoryStatus(QWidget *parent, WFlags f ) |
32 | : QFrame(parent, 0, f), mi(0), sf(0) | 33 | : QFrame(parent, 0, f), mi(0), sf(0) |
33 | { | 34 | { |
34 | setCaption( tr("Memory Status") ); | 35 | setCaption( tr("Memory Status") ); |
35 | //resize( 220, 180 ); | 36 | //resize( 220, 180 ); |
36 | 37 | ||
37 | QVBoxLayout *lay = new QVBoxLayout( this ); | 38 | QVBoxLayout *lay = new QVBoxLayout( this ); |
38 | tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); | 39 | tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); |
39 | lay->addWidget( tab ); | 40 | lay->addWidget( tab ); |
40 | tab->addTab( mi = new MemoryInfo( tab ), "memory/memorytabicon", tr("Memory") ); | 41 | tab->addTab( mi = new MemoryInfo( tab ), "memory/memorytabicon", tr("Memory") ); |
41 | tab->addTab( sf = new Swapfile( tab ), "memory/storagetabicon", tr("Swapfile") ); | 42 | tab->addTab( sf = new Swapfile( tab ), "memory/storagetabicon", tr("Swapfile") ); |
42 | 43 | ||