summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/devicesinfo.h
authormickeyl <mickeyl>2005-05-02 17:32:08 (UTC)
committer mickeyl <mickeyl>2005-05-02 17:32:08 (UTC)
commit8bd13e6ac069f9d58ec10e61a4dc174837c6b5ee (patch) (side-by-side diff)
tree81d80182a1aee3e71ccf21a2bcb1a1e107d8d72d /noncore/settings/sysinfo/devicesinfo.h
parentc3d0da09d6c49061efc43ce9707c5952ebefdae3 (diff)
downloadopie-8bd13e6ac069f9d58ec10e61a4dc174837c6b5ee.zip
opie-8bd13e6ac069f9d58ec10e61a4dc174837c6b5ee.tar.gz
opie-8bd13e6ac069f9d58ec10e61a4dc174837c6b5ee.tar.bz2
first stab at populating device nodes
Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/devicesinfo.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.h b/noncore/settings/sysinfo/devicesinfo.h
index 082586b..60ec999 100644
--- a/noncore/settings/sysinfo/devicesinfo.h
+++ b/noncore/settings/sysinfo/devicesinfo.h
@@ -33,6 +33,7 @@ _;:,     .>    :=|. This program is free software; you can
#include <opie2/olistview.h>
using namespace Opie::Ui;
+//=================================================================================================
class DevicesView : public OListView
{
Q_OBJECT
@@ -41,6 +42,7 @@ public:
~DevicesView();
};
+//=================================================================================================
class DevicesInfo : public QWidget
{
Q_OBJECT
@@ -53,4 +55,64 @@ private:
private slots:
};
+
+//=================================================================================================
+class Category : public OListViewItem
+{
+public:
+ Category( DevicesView* parent, const QString& name );
+ virtual ~Category();
+
+ virtual void populate() = 0;
+};
+
+//=================================================================================================
+class Device : public OListViewItem
+{
+public:
+ Device( Category* parent, const QString& name );
+ ~Device();
+};
+
+//=================================================================================================
+class CpuCategory : public Category
+{
+public:
+ CpuCategory( DevicesView* parent );
+ virtual ~CpuCategory();
+
+ virtual void populate();
+};
+
+//=================================================================================================
+class InputCategory : public Category
+{
+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();
+};
+
+
#endif