summaryrefslogtreecommitdiff
authorzecke <zecke>2005-02-14 17:57:40 (UTC)
committer zecke <zecke>2005-02-14 17:57:40 (UTC)
commit93d1877f2a13074065093772a1d018c8bda74fda (patch) (unidiff)
treed19468c3e97dd6806cf675a7cd0ab938e4029afb
parent41881e3dcd695dc8ecdc5ef22cefd6f842858992 (diff)
downloadopie-93d1877f2a13074065093772a1d018c8bda74fda.zip
opie-93d1877f2a13074065093772a1d018c8bda74fda.tar.gz
opie-93d1877f2a13074065093772a1d018c8bda74fda.tar.bz2
Use tr for translatable strings
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opierdesktop/qtwin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/opierdesktop/qtwin.cpp b/noncore/net/opierdesktop/qtwin.cpp
index 54a5a03..71ba5a5 100644
--- a/noncore/net/opierdesktop/qtwin.cpp
+++ b/noncore/net/opierdesktop/qtwin.cpp
@@ -113,5 +113,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
113 // server 113 // server
114 Label1 = new QLabel(this); 114 Label1 = new QLabel(this);
115 Label1->setText("Server Desc"); 115 Label1->setText( tr("Server Desc") );
116 Label1->move(10, 120); 116 Label1->move(10, 120);
117 Label1->resize(100, 20); 117 Label1->resize(100, 20);
@@ -121,5 +121,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
121 // username 121 // username
122 Label2 = new QLabel(this); 122 Label2 = new QLabel(this);
123 Label2->setText("User Name"); 123 Label2->setText( tr("User Name") );
124 Label2->move(10, 150); 124 Label2->move(10, 150);
125 Label2->resize(100, 20); 125 Label2->resize(100, 20);
@@ -129,5 +129,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
129 // ip 129 // ip
130 Label3 = new QLabel(this); 130 Label3 = new QLabel(this);
131 Label3->setText("Server IP"); 131 Label3->setText( tr("Server Address") );
132 Label3->move(10, 180); 132 Label3->move(10, 180);
133 Label3->resize(100, 20); 133 Label3->resize(100, 20);
@@ -156,5 +156,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
156 AddButton->move(180, 120); 156 AddButton->move(180, 120);
157 AddButton->resize(50, 20); 157 AddButton->resize(50, 20);
158 AddButton->setText("Add"); 158 AddButton->setText(tr("Add", "Add Connection"));
159 connect(AddButton, SIGNAL(clicked()), this, SLOT(AddClicked())); 159 connect(AddButton, SIGNAL(clicked()), this, SLOT(AddClicked()));
160 // change list item button 160 // change list item button
@@ -162,5 +162,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
162 EditButton->move(180, 140); 162 EditButton->move(180, 140);
163 EditButton->resize(50, 20); 163 EditButton->resize(50, 20);
164 EditButton->setText("Edit"); 164 EditButton->setText(tr("Edit"));
165 connect(EditButton, SIGNAL(clicked()), this, SLOT(EditClicked())); 165 connect(EditButton, SIGNAL(clicked()), this, SLOT(EditClicked()));
166 // save to file button 166 // save to file button
@@ -168,5 +168,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
168 SaveButton->move(180, 160); 168 SaveButton->move(180, 160);
169 SaveButton->resize(50, 20); 169 SaveButton->resize(50, 20);
170 SaveButton->setText("Save"); 170 SaveButton->setText(tr("Save"));
171 connect(SaveButton, SIGNAL(clicked()), this, SLOT(SaveClicked())); 171 connect(SaveButton, SIGNAL(clicked()), this, SLOT(SaveClicked()));
172 // remove an item button 172 // remove an item button
@@ -174,9 +174,9 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
174 RemoveButton->move(180, 180); 174 RemoveButton->move(180, 180);
175 RemoveButton->resize(50, 20); 175 RemoveButton->resize(50, 20);
176 RemoveButton->setText("Remove"); 176 RemoveButton->setText(tr("Remove"));
177 connect(RemoveButton, SIGNAL(clicked()), this, SLOT(RemoveClicked())); 177 connect(RemoveButton, SIGNAL(clicked()), this, SLOT(RemoveClicked()));
178 // full screen check box 178 // full screen check box
179 FullScreenCheckBox = new QCheckBox(this, "Full Screen"); 179 FullScreenCheckBox = new QCheckBox(this, "Full Screen");
180 FullScreenCheckBox->setText("Full Screen"); 180 FullScreenCheckBox->setText(tr("Full Screen"));
181 FullScreenCheckBox->move(10, 230); 181 FullScreenCheckBox->move(10, 230);
182 // ok button 182 // ok button