Diffstat (limited to 'noncore/applets/memoryapplet/memorystatus.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/memoryapplet/memorystatus.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/applets/memoryapplet/memorystatus.h b/noncore/applets/memoryapplet/memorystatus.h index 5c73833..c3926db 100644 --- a/noncore/applets/memoryapplet/memorystatus.h +++ b/noncore/applets/memoryapplet/memorystatus.h | |||
@@ -19,29 +19,31 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef MEMORY_STATUS_H | 20 | #ifndef MEMORY_STATUS_H |
21 | #define MEMORY_STATUS_H | 21 | #define MEMORY_STATUS_H |
22 | 22 | ||
23 | #include <qframe.h> | 23 | #include <qframe.h> |
24 | 24 | ||
25 | #include <opie2/otabwidget.h> | ||
26 | |||
25 | class MemoryInfo; | 27 | class MemoryInfo; |
26 | class Swapfile; | 28 | class Swapfile; |
27 | class OTabWidget; | 29 | using Opie::OTabWidget; |
28 | 30 | ||
29 | class MemoryStatus : public QFrame | 31 | class MemoryStatus : public QFrame |
30 | { | 32 | { |
31 | Q_OBJECT | 33 | Q_OBJECT |
32 | public: | 34 | public: |
33 | MemoryStatus(QWidget *parent = 0, WFlags f = 0); | 35 | MemoryStatus(QWidget *parent = 0, WFlags f = 0); |
34 | ~MemoryStatus(); | 36 | ~MemoryStatus(); |
35 | 37 | ||
36 | QSize sizeHint() const; | 38 | QSize sizeHint() const; |
37 | MemoryInfo* mi; | 39 | MemoryInfo* mi; |
38 | Swapfile* sf; | 40 | Swapfile* sf; |
39 | 41 | ||
40 | int percent(); | 42 | int percent(); |
41 | 43 | ||
42 | private: | 44 | private: |
43 | OTabWidget *tab; | 45 | OTabWidget *tab; |
44 | }; | 46 | }; |
45 | 47 | ||
46 | #endif | 48 | #endif |
47 | 49 | ||