summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/devicesinfo.h
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/sysinfo/devicesinfo.h6
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
@@ -28,24 +28,26 @@ _;:,     .>    :=|. This program is free software; you can
28 28
29#ifndef DEVICESINFO_H 29#ifndef DEVICESINFO_H
30#define DEVICESINFO_H 30#define DEVICESINFO_H
31 31
32/* OPIE */ 32/* OPIE */
33#include <opie2/olistview.h> 33#include <opie2/olistview.h>
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
40namespace Opie { namespace Core { class OPcmciaSocket; class OInputDevice; }; };
41
40//================================================================================================= 42//=================================================================================================
41class DevicesView : public Opie::Ui::OListView 43class DevicesView : public Opie::Ui::OListView
42{ 44{
43 Q_OBJECT 45 Q_OBJECT
44public: 46public:
45 DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); 47 DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 );
46 ~DevicesView(); 48 ~DevicesView();
47public slots: 49public slots:
48 void selectionChanged( QListViewItem* item ); 50 void selectionChanged( QListViewItem* item );
49}; 51};
50 52
51//================================================================================================= 53//=================================================================================================
@@ -93,25 +95,24 @@ public:
93 InputCategory( DevicesView* parent ); 95 InputCategory( DevicesView* parent );
94 virtual ~InputCategory(); 96 virtual ~InputCategory();
95 97
96 virtual void populate(); 98 virtual void populate();
97}; 99};
98 100
99//================================================================================================= 101//=================================================================================================
100class CardsCategory : public Category 102class CardsCategory : public Category
101{ 103{
102public: 104public:
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//=================================================================================================
110class UsbCategory : public Category 111class UsbCategory : public Category
111{ 112{
112public: 113public:
113 UsbCategory( DevicesView* parent ); 114 UsbCategory( DevicesView* parent );
114 virtual ~UsbCategory(); 115 virtual ~UsbCategory();
115 116
116 virtual void populate(); 117 virtual void populate();
117}; 118};
@@ -140,33 +141,36 @@ public:
140 void addInfo( const QString& line ); 141 void addInfo( const QString& line );
141 142
142// virtual QWidget* detailsWidget(); 143// virtual QWidget* detailsWidget();
143}; 144};
144 145
145//================================================================================================= 146//=================================================================================================
146class InputDevice : public Device 147class InputDevice : public Device
147{ 148{
148public: 149public:
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//=================================================================================================
156class CardDevice : public Device 159class CardDevice : public Device
157{ 160{
158public: 161public:
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//=================================================================================================
166class UsbDevice : public Device 170class UsbDevice : public Device
167{ 171{
168public: 172public:
169 UsbDevice( Category* parent, const QString& name ); 173 UsbDevice( Category* parent, const QString& name );
170 UsbDevice( UsbDevice* parent, const QString& name ); 174 UsbDevice( UsbDevice* parent, const QString& name );
171 ~UsbDevice(); 175 ~UsbDevice();
172 176