summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/oxygen.cpp
authorcniehaus <cniehaus>2002-09-19 20:47:36 (UTC)
committer cniehaus <cniehaus>2002-09-19 20:47:36 (UTC)
commit65ba4e3610c94ba1de71a41dd6bf69662555e206 (patch) (side-by-side diff)
tree696c3d7317a3c5a13f14160d9281fe4e889cf5bc /noncore/apps/oxygen/oxygen.cpp
parentf4162d2283ebf0327645e0ac66b539cf87565d0b (diff)
downloadopie-65ba4e3610c94ba1de71a41dd6bf69662555e206.zip
opie-65ba4e3610c94ba1de71a41dd6bf69662555e206.tar.gz
opie-65ba4e3610c94ba1de71a41dd6bf69662555e206.tar.bz2
* codecleanup
* adding some const * if you click on a "element" you will now really get the information * removed obsolete class
Diffstat (limited to 'noncore/apps/oxygen/oxygen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/oxygen.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/noncore/apps/oxygen/oxygen.cpp b/noncore/apps/oxygen/oxygen.cpp
index 2574841..4e293c7 100644
--- a/noncore/apps/oxygen/oxygen.cpp
+++ b/noncore/apps/oxygen/oxygen.cpp
@@ -20,10 +20,8 @@
Oxygen::Oxygen()
: QMainWindow()
{
- this->setCaption( "Oxygen" );
+ this->setCaption( tr( "Oxygen" ) );
vbox = new QVBox( this );
- QPushButton *setButton = new QPushButton( "Settings", vbox );
- connect ( setButton, SIGNAL( clicked() ), this, SLOT( slotSettings() ) );
QPushButton *dataButton = new QPushButton( "Data", vbox );
connect ( dataButton, SIGNAL( clicked() ), this, SLOT( slotData() ) );
QPushButton *calcButton = new QPushButton( "Calculations", vbox );
@@ -35,27 +33,25 @@ Oxygen::Oxygen()
}
-void Oxygen::close()
+void Oxygen::close() const
{
QApplication::exit();
}
//SLOTS
-void Oxygen::slotCalculations(){
+void Oxygen::slotCalculations() const{
calcDlgUI *CalcDlgUI = new calcDlgUI();
CalcDlgUI->show();
};
-void Oxygen::slotData(){
+void Oxygen::slotData() const{
dataWidgetUI *DataWidgetUI = new dataWidgetUI();
DataWidgetUI->showMaximized();
DataWidgetUI->show();
};
-void Oxygen::slotSettings(){ };
-
-void Oxygen::slotPSE(){
+void Oxygen::slotPSE() const{
PSEWidget *pse = new PSEWidget();
pse->showMaximized();
pse->show();