summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/psewidget.cpp
authorcniehaus <cniehaus>2002-12-27 12:31:35 (UTC)
committer cniehaus <cniehaus>2002-12-27 12:31:35 (UTC)
commitc432e5eaca0ada1ede2b2966ae86be045e8c3f9b (patch) (unidiff)
tree621dd6cf0b3f2a69cb1693963f5f92e69d4cb7ea /noncore/apps/oxygen/psewidget.cpp
parent36c8b8ffff2c8a7a454aa1b8afbe96bd9b1535f9 (diff)
downloadopie-c432e5eaca0ada1ede2b2966ae86be045e8c3f9b.zip
opie-c432e5eaca0ada1ede2b2966ae86be045e8c3f9b.tar.gz
opie-c432e5eaca0ada1ede2b2966ae86be045e8c3f9b.tar.bz2
juhu, this should be fully translatable now :)
Diffstat (limited to 'noncore/apps/oxygen/psewidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/psewidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp
index d8e4086..b396046 100644
--- a/noncore/apps/oxygen/psewidget.cpp
+++ b/noncore/apps/oxygen/psewidget.cpp
@@ -24,11 +24,12 @@
24#include "oxyframe.h" 24#include "oxyframe.h"
25 25
26 26
27PSEWidget::PSEWidget() : QWidget() 27PSEWidget::PSEWidget(const QStringList &list) : QWidget()
28{ 28{
29 this->setCaption( tr( "Periodic System" ) ); 29 this->setCaption( tr( "Periodic System" ) );
30 30
31 lastElement=1; 31 lastElement=1;
32 names = list;
32 33
33 QVBoxLayout *vlay = new QVBoxLayout( this ); 34 QVBoxLayout *vlay = new QVBoxLayout( this );
34 35
@@ -49,7 +50,7 @@ PSEWidget::PSEWidget() : QWidget()
49 connect( PSEframe.current(), SIGNAL( num(QString) ), this, SLOT( inverseColor(QString) )); 50 connect( PSEframe.current(), SIGNAL( num(QString) ), this, SLOT( inverseColor(QString) ));
50 } 51 }
51 52
52 oxyDW = new OxydataWidget(this); 53 oxyDW = new OxydataWidget(this, "PSEWidget_oxyDW", names);
53 oxyDW->setElement( 0 ); 54 oxyDW->setElement( 0 );
54 oxyDW->setLayout(); 55 oxyDW->setLayout();
55 56