Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/devicesinfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.h b/noncore/settings/sysinfo/devicesinfo.h index c601a96..c4e3637 100644 --- a/noncore/settings/sysinfo/devicesinfo.h +++ b/noncore/settings/sysinfo/devicesinfo.h | |||
@@ -34,12 +34,14 @@ _;:, .> :=|. This program is free software; you can | |||
34 | #include <opie2/olayout.h> | 34 | #include <opie2/olayout.h> |
35 | 35 | ||
36 | /* QT */ | 36 | /* QT */ |
37 | #include <qwidget.h> | 37 | #include <qwidget.h> |
38 | #include <qwidgetstack.h> | 38 | #include <qwidgetstack.h> |
39 | 39 | ||
40 | namespace Opie { namespace Core { class OPcmciaSocket; class OInputDevice; }; }; | ||
41 | |||
40 | //================================================================================================= | 42 | //================================================================================================= |
41 | class DevicesView : public Opie::Ui::OListView | 43 | class DevicesView : public Opie::Ui::OListView |
42 | { | 44 | { |
43 | Q_OBJECT | 45 | Q_OBJECT |
44 | public: | 46 | public: |
45 | DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); | 47 | DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); |
@@ -99,13 +101,12 @@ public: | |||
99 | //================================================================================================= | 101 | //================================================================================================= |
100 | class CardsCategory : public Category | 102 | class CardsCategory : public Category |
101 | { | 103 | { |
102 | public: | 104 | public: |
103 | CardsCategory( DevicesView* parent ); | 105 | CardsCategory( DevicesView* parent ); |
104 | virtual ~CardsCategory(); | 106 | virtual ~CardsCategory(); |
105 | |||
106 | virtual void populate(); | 107 | virtual void populate(); |
107 | }; | 108 | }; |
108 | 109 | ||
109 | //================================================================================================= | 110 | //================================================================================================= |
110 | class UsbCategory : public Category | 111 | class UsbCategory : public Category |
111 | { | 112 | { |
@@ -146,21 +147,24 @@ public: | |||
146 | class InputDevice : public Device | 147 | class InputDevice : public Device |
147 | { | 148 | { |
148 | public: | 149 | public: |
149 | InputDevice( Category* parent, const QString& name ); | 150 | InputDevice( Category* parent, const QString& name ); |
150 | ~InputDevice(); | 151 | ~InputDevice(); |
151 | 152 | ||
153 | void setInfo( const Opie::Core::OInputDevice* dev ); | ||
154 | |||
152 | // virtual QWidget* detailsWidget(); | 155 | // virtual QWidget* detailsWidget(); |
153 | }; | 156 | }; |
154 | 157 | ||
155 | //================================================================================================= | 158 | //================================================================================================= |
156 | class CardDevice : public Device | 159 | class CardDevice : public Device |
157 | { | 160 | { |
158 | public: | 161 | public: |
159 | CardDevice( Category* parent, const QString& name ); | 162 | CardDevice( Category* parent, const QString& name ); |
160 | ~CardDevice(); | 163 | ~CardDevice(); |
164 | void setInfo( const Opie::Core::OPcmciaSocket* card ); | ||
161 | 165 | ||
162 | // virtual QWidget* detailsWidget(); | 166 | // virtual QWidget* detailsWidget(); |
163 | }; | 167 | }; |
164 | 168 | ||
165 | //================================================================================================= | 169 | //================================================================================================= |
166 | class UsbDevice : public Device | 170 | class UsbDevice : public Device |