author | cniehaus <cniehaus> | 2002-12-28 16:10:28 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-28 16:10:28 (UTC) |
commit | d6fb3096228e13a3de41b1c888a154c4f9ec3f16 (patch) (side-by-side diff) | |
tree | 0b910b125b59f2cfc076d8f5cc4068fb85f76d7c /noncore/apps/oxygen/oxygen.cpp | |
parent | cc3544acf067f3cb4fe78d95298ba42c9faa14d5 (diff) | |
download | opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.zip opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.tar.gz opie-d6fb3096228e13a3de41b1c888a154c4f9ec3f16.tar.bz2 |
small fix
Diffstat (limited to 'noncore/apps/oxygen/oxygen.cpp') (more/less context) (ignore whitespace changes)
-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 @@ -11,49 +11,49 @@ * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * ( at your option ) any later version. * * * **************************************************************************/ #include "oxygen.h" #include <qapplication.h> #include <qtabwidget.h> #include "calcdlg.h" #include "calcdlgui.h" #include "datawidgetui.h" #include "psewidget.h" Oxygen::Oxygen() : QMainWindow() { loadNames(); calcDlgUI *CalcDlgUI = new calcDlgUI(); PSEWidget *pse = new PSEWidget(names); dataWidgetUI *DataWidgetUI = new dataWidgetUI(names); - this->setCaption( tr( "Oxygen" ) ); + setCaption( tr( "Oxygen" ) ); QTabWidget *tabw = new QTabWidget( this , "qtab" ); tabw->addTab( pse, tr( "PSE" )); tabw->addTab( DataWidgetUI , tr( "Data" ) ); tabw->addTab( CalcDlgUI, tr( "Calculations" ) ); setCentralWidget( tabw ); } void Oxygen::loadNames() { names.clear(); names.append( tr("Hydrogen") ); names.append( tr("Helium") ); names.append( tr("Lithium") ); names.append( tr("Beryllium") ); names.append( tr("Boron") ); names.append( tr("Carbon") ); names.append( tr("Nitrogen") ); names.append( tr("Oxygen") ); names.append( tr("Fluorine") ); names.append( tr("Neon") ); names.append( tr("Sodium") ); names.append( tr("Magnesium") ); names.append( tr("Aluminum") ); |