author | mickeyl <mickeyl> | 2005-05-04 21:05:21 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-04 21:05:21 (UTC) |
commit | a19581c15cdb15f17988b6af958e6aa27eb01c7d (patch) (side-by-side diff) | |
tree | 387a43f66c252bd4fe5d24bdf90dbb429b74a94d /noncore/settings/sysinfo/devicesinfo.h | |
parent | bdc113a8b37e3fa2f65903d043798d33d2f9f907 (diff) | |
download | opie-a19581c15cdb15f17988b6af958e6aa27eb01c7d.zip opie-a19581c15cdb15f17988b6af958e6aa27eb01c7d.tar.gz opie-a19581c15cdb15f17988b6af958e6aa27eb01c7d.tar.bz2 |
CPUinfo details now shown
Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/devicesinfo.h | 66 |
1 files changed, 56 insertions, 10 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.h b/noncore/settings/sysinfo/devicesinfo.h index b065f40..586d204 100644 --- a/noncore/settings/sysinfo/devicesinfo.h +++ b/noncore/settings/sysinfo/devicesinfo.h @@ -37,2 +37,3 @@ _;:, .> :=|. This program is free software; you can #include <qwidget.h> +#include <qwidgetstack.h> @@ -63,2 +64,3 @@ private: QWidget* details; + QWidgetStack* stack; private slots: @@ -77,12 +79,2 @@ public: //================================================================================================= -class Device : public Opie::Ui::OListViewItem -{ -public: - Device( Category* parent, const QString& name ); - ~Device(); - - QWidget* detailsWidget(); -}; - -//================================================================================================= class CpuCategory : public Category @@ -126,2 +118,56 @@ public: +//================================================================================================= +class Device : public Opie::Ui::OListViewItem +{ +public: + Device( Category* parent, const QString& name ); + ~Device(); + + QWidget* devinfo; + QWidget* details; + + virtual QWidget* detailsWidget(); +}; + +//================================================================================================= +class CpuDevice : public Device +{ +public: + CpuDevice( Category* parent, const QString& name ); + ~CpuDevice(); + + void addInfo( const QString& line ); + +// virtual QWidget* detailsWidget(); +}; + +//================================================================================================= +class InputDevice : public Device +{ +public: + InputDevice( Category* parent, const QString& name ); + ~InputDevice(); + +// virtual QWidget* detailsWidget(); +}; + +//================================================================================================= +class CardDevice : public Device +{ +public: + CardDevice( Category* parent, const QString& name ); + ~CardDevice(); + +// virtual QWidget* detailsWidget(); +}; + +//================================================================================================= +class UsbDevice : public Device +{ +public: + UsbDevice( Category* parent, const QString& name ); + ~UsbDevice(); + +// virtual QWidget* detailsWidget(); +}; |