summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/devicesinfo.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/sysinfo/devicesinfo.h') (more/less context) (ignore 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
@@ -30,8 +30,9 @@ _;:,     .>    :=|. This program is free software; you can
#define DEVICESINFO_H
/* OPIE */
#include <opie2/olistview.h>
+#include <opie2/olayout.h>
/* QT */
#include <qwidget.h>
@@ -53,11 +54,14 @@ class DevicesInfo : public QWidget
public:
DevicesInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
~DevicesInfo();
+ void setDetailsWidget( QWidget* w = 0 );
+
private:
+ Opie::Ui::OAutoBoxLayout* layout;
Opie::Ui::OListView* view;
-
+ QWidget* details;
private slots:
};
//=================================================================================================
@@ -75,8 +79,10 @@ class Device : public Opie::Ui::OListViewItem
{
public:
Device( Category* parent, const QString& name );
~Device();
+
+ QWidget* detailsWidget();
};
//=================================================================================================
class CpuCategory : public Category