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: |