author | mickeyl <mickeyl> | 2005-05-03 22:32:11 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-03 22:32:11 (UTC) |
commit | 1f412e211a7d5759d2ca51aa4e14c6292984f124 (patch) (unidiff) | |
tree | 6a6634d76f633cd5e8f3c6fcdf82f0604cdbad64 /noncore/settings/sysinfo/devicesinfo.h | |
parent | 1daea169fcc0007727f0752251ca4546817999b7 (diff) | |
download | opie-1f412e211a7d5759d2ca51aa4e14c6292984f124.zip opie-1f412e211a7d5759d2ca51aa4e14c6292984f124.tar.gz opie-1f412e211a7d5759d2ca51aa4e14c6292984f124.tar.bz2 |
use OAutoBoxLayout for devices info
Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/devicesinfo.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.h b/noncore/settings/sysinfo/devicesinfo.h index 60ec999..262af31 100644 --- a/noncore/settings/sysinfo/devicesinfo.h +++ b/noncore/settings/sysinfo/devicesinfo.h | |||
@@ -30,10 +30,12 @@ _;:, .> :=|. This program is free software; you can | |||
30 | #define DEVICESINFO_H | 30 | #define DEVICESINFO_H |
31 | 31 | ||
32 | #include <qwidget.h> | 32 | /* OPIE */ |
33 | #include <opie2/olistview.h> | 33 | #include <opie2/olistview.h> |
34 | using namespace Opie::Ui; | 34 | |
35 | /* QT */ | ||
36 | #include <qwidget.h> | ||
35 | 37 | ||
36 | //================================================================================================= | 38 | //================================================================================================= |
37 | class DevicesView : public OListView | 39 | class DevicesView : public Opie::Ui::OListView |
38 | { | 40 | { |
39 | Q_OBJECT | 41 | Q_OBJECT |
@@ -41,4 +43,6 @@ public: | |||
41 | DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); | 43 | DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); |
42 | ~DevicesView(); | 44 | ~DevicesView(); |
45 | public slots: | ||
46 | void selectionChanged( QListViewItem* item ); | ||
43 | }; | 47 | }; |
44 | 48 | ||
@@ -52,5 +56,5 @@ public: | |||
52 | 56 | ||
53 | private: | 57 | private: |
54 | OListView* view; | 58 | Opie::Ui::OListView* view; |
55 | 59 | ||
56 | private slots: | 60 | private slots: |
@@ -58,5 +62,5 @@ private slots: | |||
58 | 62 | ||
59 | //================================================================================================= | 63 | //================================================================================================= |
60 | class Category : public OListViewItem | 64 | class Category : public Opie::Ui::OListViewItem |
61 | { | 65 | { |
62 | public: | 66 | public: |
@@ -68,5 +72,5 @@ public: | |||
68 | 72 | ||
69 | //================================================================================================= | 73 | //================================================================================================= |
70 | class Device : public OListViewItem | 74 | class Device : public Opie::Ui::OListViewItem |
71 | { | 75 | { |
72 | public: | 76 | public: |