author | drw <drw> | 2002-12-16 01:55:56 (UTC) |
---|---|---|
committer | drw <drw> | 2002-12-16 01:55:56 (UTC) |
commit | 64bc40080abc56e6bd804dadb44d2510f25f2efa (patch) (unidiff) | |
tree | 20d1840b63dc76608aee6f80bf011811d392fbac /noncore/settings/sysinfo/storage.h | |
parent | e4057ee7fe74c83e2dc44f8b9870f65da60fc4fa (diff) | |
download | opie-64bc40080abc56e6bd804dadb44d2510f25f2efa.zip opie-64bc40080abc56e6bd804dadb44d2510f25f2efa.tar.gz opie-64bc40080abc56e6bd804dadb44d2510f25f2efa.tar.bz2 |
1. Added RAM disk to storage tab (could someone verify works on Z?) 2. QScrollView for storage tab 3. Removed module detail dialog since it did not provide any useful information 4. Fix compiler warnings 5. Removed unneeded qDebugs
Diffstat (limited to 'noncore/settings/sysinfo/storage.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/storage.h b/noncore/settings/sysinfo/storage.h index 3fa5b79..7e8b4e0 100644 --- a/noncore/settings/sysinfo/storage.h +++ b/noncore/settings/sysinfo/storage.h | |||
@@ -20,40 +20,42 @@ | |||
20 | #include <qwidget.h> | 20 | #include <qwidget.h> |
21 | #include <qframe.h> | 21 | #include <qframe.h> |
22 | #include <qlist.h> | 22 | #include <qlist.h> |
23 | #include <qdict.h> | 23 | #include <qdict.h> |
24 | 24 | ||
25 | class QLabel; | 25 | class QLabel; |
26 | class GraphData; | 26 | class GraphData; |
27 | class Graph; | 27 | class Graph; |
28 | class GraphLegend; | 28 | class GraphLegend; |
29 | class FileSystem; | 29 | class FileSystem; |
30 | class MountInfo; | 30 | class MountInfo; |
31 | class QVBoxLayout; | 31 | class QVBoxLayout; |
32 | class QWidget; | ||
32 | 33 | ||
33 | 34 | ||
34 | class StorageInfo : public QWidget | 35 | class StorageInfo : public QWidget |
35 | { | 36 | { |
36 | Q_OBJECT | 37 | Q_OBJECT |
37 | public: | 38 | public: |
38 | StorageInfo( QWidget *parent=0, const char *name=0 ); | 39 | StorageInfo( QWidget *parent=0, const char *name=0 ); |
39 | 40 | ||
40 | protected: | 41 | protected: |
41 | void timerEvent(QTimerEvent*); | 42 | void timerEvent(QTimerEvent*); |
42 | 43 | ||
43 | private: | 44 | private: |
44 | void updateMounts(); | 45 | void updateMounts(); |
45 | QDict<MountInfo> disks; | 46 | QDict<MountInfo> disks; |
46 | QList<QFrame> lines; | 47 | QList<QFrame> lines; |
47 | QVBoxLayout *vb; | 48 | QVBoxLayout *vb; |
49 | QWidget *container; | ||
48 | }; | 50 | }; |
49 | 51 | ||
50 | class MountInfo : public QWidget | 52 | class MountInfo : public QWidget |
51 | { | 53 | { |
52 | Q_OBJECT | 54 | Q_OBJECT |
53 | public: | 55 | public: |
54 | MountInfo( const QString &path, const QString &ttl, QWidget *parent=0, const char *name=0 ); | 56 | MountInfo( const QString &path, const QString &ttl, QWidget *parent=0, const char *name=0 ); |
55 | ~MountInfo(); | 57 | ~MountInfo(); |
56 | 58 | ||
57 | void updateData(); | 59 | void updateData(); |
58 | 60 | ||
59 | private: | 61 | private: |