author | cniehaus <cniehaus> | 2002-09-19 10:29:38 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-19 10:29:38 (UTC) |
commit | 7bf6b71e9d7eadc9311af6a839b3425297346c2c (patch) (side-by-side diff) | |
tree | 2b9a08cfec6ace06c6c4321cfb4c6f654b809287 /noncore/apps/oxygen/datawidgetui.cpp | |
parent | acf131576d76536872a6999274db19a20cb76a4d (diff) | |
download | opie-7bf6b71e9d7eadc9311af6a839b3425297346c2c.zip opie-7bf6b71e9d7eadc9311af6a839b3425297346c2c.tar.gz opie-7bf6b71e9d7eadc9311af6a839b3425297346c2c.tar.bz2 |
* nothing is hardcoded anylonger (thanks Max for the .conf-hint)
* removing obsolete includes
* making the PSE-data-widget a QWidget instead of a QDialog
* removing one obsolete slot
* making oxyDW private
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 @@ **************************************************************************/ -#include "oxygen.h" + #include "datawidgetui.h" @@ -15,3 +15,2 @@ #include <qlayout.h> -#include <qtable.h> #include <qhbox.h> @@ -19,3 +18,3 @@ -dataWidgetUI::dataWidgetUI() : QDialog() +dataWidgetUI::dataWidgetUI() : QWidget() { @@ -32,3 +31,3 @@ dataWidgetUI::dataWidgetUI() : QDialog() connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); - Config test( "/home/opie/Settings/oxygendata", Config::File ); + Config configobj( "oxygendata" ); @@ -37,4 +36,4 @@ dataWidgetUI::dataWidgetUI() : QDialog() { - test.setGroup( QString::number( i ) ); - QString foo = test.readEntry( "Name" ); + configobj.setGroup( QString::number( i ) ); + QString foo = configobj.readEntry( "Name" ); dataCombo->insertItem( foo ); @@ -43,6 +42 @@ dataWidgetUI::dataWidgetUI() : QDialog() - - -void dataWidgetUI::slotShowData(int number){ - oxyDW->setElement( 6 ); -} |