Diffstat (limited to 'noncore/apps/oxygen/datawidgetui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/noncore/apps/oxygen/datawidgetui.cpp b/noncore/apps/oxygen/datawidgetui.cpp index fa3f40d..8188515 100644 --- a/noncore/apps/oxygen/datawidgetui.cpp +++ b/noncore/apps/oxygen/datawidgetui.cpp | |||
@@ -8,3 +8,3 @@ | |||
8 | **************************************************************************/ | 8 | **************************************************************************/ |
9 | #include "oxygen.h" | 9 | |
10 | #include "datawidgetui.h" | 10 | #include "datawidgetui.h" |
@@ -15,3 +15,2 @@ | |||
15 | #include <qlayout.h> | 15 | #include <qlayout.h> |
16 | #include <qtable.h> | ||
17 | #include <qhbox.h> | 16 | #include <qhbox.h> |
@@ -19,3 +18,3 @@ | |||
19 | 18 | ||
20 | dataWidgetUI::dataWidgetUI() : QDialog() | 19 | dataWidgetUI::dataWidgetUI() : QWidget() |
21 | { | 20 | { |
@@ -32,3 +31,3 @@ dataWidgetUI::dataWidgetUI() : QDialog() | |||
32 | connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); | 31 | connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); |
33 | Config test( "/home/opie/Settings/oxygendata", Config::File ); | 32 | Config configobj( "oxygendata" ); |
34 | 33 | ||
@@ -37,4 +36,4 @@ dataWidgetUI::dataWidgetUI() : QDialog() | |||
37 | { | 36 | { |
38 | test.setGroup( QString::number( i ) ); | 37 | configobj.setGroup( QString::number( i ) ); |
39 | QString foo = test.readEntry( "Name" ); | 38 | QString foo = configobj.readEntry( "Name" ); |
40 | dataCombo->insertItem( foo ); | 39 | dataCombo->insertItem( foo ); |
@@ -43,6 +42 @@ dataWidgetUI::dataWidgetUI() : QDialog() | |||
43 | |||
44 | |||
45 | |||
46 | void dataWidgetUI::slotShowData(int number){ | ||
47 | oxyDW->setElement( 6 ); | ||
48 | } | ||