author | cniehaus <cniehaus> | 2002-12-28 16:10:28 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-28 16:10:28 (UTC) |
commit | d6fb3096228e13a3de41b1c888a154c4f9ec3f16 (patch) (unidiff) | |
tree | 0b910b125b59f2cfc076d8f5cc4068fb85f76d7c | |
parent | cc3544acf067f3cb4fe78d95298ba42c9faa14d5 (diff) | |
download | opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.zip opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.tar.gz opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.tar.bz2 |
small fix
-rw-r--r-- | noncore/apps/oxygen/oxygen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/oxygen.cpp b/noncore/apps/oxygen/oxygen.cpp index 215cc19..5999cb0 100644 --- a/noncore/apps/oxygen/oxygen.cpp +++ b/noncore/apps/oxygen/oxygen.cpp | |||
@@ -19,33 +19,33 @@ | |||
19 | #include <qapplication.h> | 19 | #include <qapplication.h> |
20 | #include <qtabwidget.h> | 20 | #include <qtabwidget.h> |
21 | 21 | ||
22 | #include "calcdlg.h" | 22 | #include "calcdlg.h" |
23 | #include "calcdlgui.h" | 23 | #include "calcdlgui.h" |
24 | #include "datawidgetui.h" | 24 | #include "datawidgetui.h" |
25 | #include "psewidget.h" | 25 | #include "psewidget.h" |
26 | 26 | ||
27 | 27 | ||
28 | Oxygen::Oxygen() : QMainWindow() | 28 | Oxygen::Oxygen() : QMainWindow() |
29 | { | 29 | { |
30 | loadNames(); | 30 | loadNames(); |
31 | calcDlgUI *CalcDlgUI = new calcDlgUI(); | 31 | calcDlgUI *CalcDlgUI = new calcDlgUI(); |
32 | PSEWidget *pse = new PSEWidget(names); | 32 | PSEWidget *pse = new PSEWidget(names); |
33 | dataWidgetUI *DataWidgetUI = new dataWidgetUI(names); | 33 | dataWidgetUI *DataWidgetUI = new dataWidgetUI(names); |
34 | 34 | ||
35 | this->setCaption( tr( "Oxygen" ) ); | 35 | setCaption( tr( "Oxygen" ) ); |
36 | 36 | ||
37 | QTabWidget *tabw = new QTabWidget( this , "qtab" ); | 37 | QTabWidget *tabw = new QTabWidget( this , "qtab" ); |
38 | tabw->addTab( pse, tr( "PSE" )); | 38 | tabw->addTab( pse, tr( "PSE" )); |
39 | tabw->addTab( DataWidgetUI , tr( "Data" ) ); | 39 | tabw->addTab( DataWidgetUI , tr( "Data" ) ); |
40 | tabw->addTab( CalcDlgUI, tr( "Calculations" ) ); | 40 | tabw->addTab( CalcDlgUI, tr( "Calculations" ) ); |
41 | setCentralWidget( tabw ); | 41 | setCentralWidget( tabw ); |
42 | } | 42 | } |
43 | 43 | ||
44 | void Oxygen::loadNames() | 44 | void Oxygen::loadNames() |
45 | { | 45 | { |
46 | names.clear(); | 46 | names.clear(); |
47 | names.append( tr("Hydrogen") ); | 47 | names.append( tr("Hydrogen") ); |
48 | names.append( tr("Helium") ); | 48 | names.append( tr("Helium") ); |
49 | names.append( tr("Lithium") ); | 49 | names.append( tr("Lithium") ); |
50 | names.append( tr("Beryllium") ); | 50 | names.append( tr("Beryllium") ); |
51 | names.append( tr("Boron") ); | 51 | names.append( tr("Boron") ); |