Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (ignore 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 @@ -28,24 +28,26 @@ _;:, .> :=|. This program is free software; you can #ifndef DEVICESINFO_H #define DEVICESINFO_H /* OPIE */ #include <opie2/olistview.h> #include <opie2/olayout.h> /* QT */ #include <qwidget.h> #include <qwidgetstack.h> +namespace Opie { namespace Core { class OPcmciaSocket; class OInputDevice; }; }; + //================================================================================================= class DevicesView : public Opie::Ui::OListView { Q_OBJECT public: DevicesView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); ~DevicesView(); public slots: void selectionChanged( QListViewItem* item ); }; //================================================================================================= @@ -93,25 +95,24 @@ public: InputCategory( DevicesView* parent ); virtual ~InputCategory(); virtual void populate(); }; //================================================================================================= class CardsCategory : public Category { public: CardsCategory( DevicesView* parent ); virtual ~CardsCategory(); - virtual void populate(); }; //================================================================================================= class UsbCategory : public Category { public: UsbCategory( DevicesView* parent ); virtual ~UsbCategory(); virtual void populate(); }; @@ -140,33 +141,36 @@ public: void addInfo( const QString& line ); // virtual QWidget* detailsWidget(); }; //================================================================================================= class InputDevice : public Device { public: InputDevice( Category* parent, const QString& name ); ~InputDevice(); + void setInfo( const Opie::Core::OInputDevice* dev ); + // virtual QWidget* detailsWidget(); }; //================================================================================================= class CardDevice : public Device { public: CardDevice( Category* parent, const QString& name ); ~CardDevice(); + void setInfo( const Opie::Core::OPcmciaSocket* card ); // virtual QWidget* detailsWidget(); }; //================================================================================================= class UsbDevice : public Device { public: UsbDevice( Category* parent, const QString& name ); UsbDevice( UsbDevice* parent, const QString& name ); ~UsbDevice(); |