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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.h b/noncore/settings/sysinfo/devicesinfo.h
index 262af31..b065f40 100644
--- a/noncore/settings/sysinfo/devicesinfo.h
+++ b/noncore/settings/sysinfo/devicesinfo.h
@@ -28,12 +28,13 @@ _;:,     .>    :=|. 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 35
35/* QT */ 36/* QT */
36#include <qwidget.h> 37#include <qwidget.h>
37 38
38//================================================================================================= 39//=================================================================================================
39class DevicesView : public Opie::Ui::OListView 40class DevicesView : public Opie::Ui::OListView
@@ -51,15 +52,18 @@ class DevicesInfo : public QWidget
51{ 52{
52 Q_OBJECT 53 Q_OBJECT
53public: 54public:
54 DevicesInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 55 DevicesInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
55 ~DevicesInfo(); 56 ~DevicesInfo();
56 57
58 void setDetailsWidget( QWidget* w = 0 );
59
57private: 60private:
61 Opie::Ui::OAutoBoxLayout* layout;
58 Opie::Ui::OListView* view; 62 Opie::Ui::OListView* view;
59 63 QWidget* details;
60private slots: 64private slots:
61}; 65};
62 66
63//================================================================================================= 67//=================================================================================================
64class Category : public Opie::Ui::OListViewItem 68class Category : public Opie::Ui::OListViewItem
65{ 69{
@@ -73,12 +77,14 @@ public:
73//================================================================================================= 77//=================================================================================================
74class Device : public Opie::Ui::OListViewItem 78class Device : public Opie::Ui::OListViewItem
75{ 79{
76public: 80public:
77 Device( Category* parent, const QString& name ); 81 Device( Category* parent, const QString& name );
78 ~Device(); 82 ~Device();
83
84 QWidget* detailsWidget();
79}; 85};
80 86
81//================================================================================================= 87//=================================================================================================
82class CpuCategory : public Category 88class CpuCategory : public Category
83{ 89{
84public: 90public: