Diffstat (limited to 'noncore/games/backgammon/aidialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/backgammon/aidialog.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/noncore/games/backgammon/aidialog.cpp b/noncore/games/backgammon/aidialog.cpp index 9642ca5..7dfe403 100644 --- a/noncore/games/backgammon/aidialog.cpp +++ b/noncore/games/backgammon/aidialog.cpp | |||
@@ -10,6 +10,6 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
10 | 10 | ||
11 | QGroupBox* settings=new QGroupBox("Settings",this); | 11 | QGroupBox* settings=new QGroupBox(tr( "Settings" ),this); |
12 | settings->setGeometry(10,5,220,170); | 12 | settings->setGeometry(10,5,220,170); |
13 | 13 | ||
14 | QLabel* rescue_label=new QLabel("<b>Rescue</b>",settings); | 14 | QLabel* rescue_label=new QLabel(tr( "<b>Rescue</b>" ),settings); |
15 | rescue_label->setGeometry(50,20,50,20); | 15 | rescue_label->setGeometry(50,20,50,20); |
@@ -17,3 +17,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
17 | rescue->setGeometry(100,20,40,20); | 17 | rescue->setGeometry(100,20,40,20); |
18 | QPushButton* rescuehelp=new QPushButton("?",settings); | 18 | QPushButton* rescuehelp=new QPushButton(tr( "?" ),settings); |
19 | rescuehelp->setGeometry(140,20,20,20); | 19 | rescuehelp->setGeometry(140,20,20,20); |
@@ -22,3 +22,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
22 | 22 | ||
23 | QLabel* eliminate_label=new QLabel("<b>Eliminate</b>",settings); | 23 | QLabel* eliminate_label=new QLabel(tr( "<b>Eliminate</b>" ),settings); |
24 | eliminate_label->setGeometry(50,40,50,20); | 24 | eliminate_label->setGeometry(50,40,50,20); |
@@ -26,3 +26,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
26 | eliminate->setGeometry(100,40,40,20); | 26 | eliminate->setGeometry(100,40,40,20); |
27 | QPushButton* eliminatehelp=new QPushButton("?",settings); | 27 | QPushButton* eliminatehelp=new QPushButton(tr( "?" ),settings); |
28 | eliminatehelp->setGeometry(140,40,20,20); | 28 | eliminatehelp->setGeometry(140,40,20,20); |
@@ -31,3 +31,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
31 | 31 | ||
32 | QLabel* expose_label=new QLabel("<b>Expose</b>",settings); | 32 | QLabel* expose_label=new QLabel(tr( "<b>Expose</b>" ),settings); |
33 | expose_label->setGeometry(50,60,50,20); | 33 | expose_label->setGeometry(50,60,50,20); |
@@ -35,3 +35,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
35 | expose->setGeometry(100,60,40,20); | 35 | expose->setGeometry(100,60,40,20); |
36 | QPushButton* exposeehelp=new QPushButton("?",settings); | 36 | QPushButton* exposeehelp=new QPushButton(tr( "?" ),settings); |
37 | exposeehelp->setGeometry(140,60,20,20); | 37 | exposeehelp->setGeometry(140,60,20,20); |
@@ -40,3 +40,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
40 | 40 | ||
41 | QLabel* protect_label=new QLabel("<b>Protect</b>",settings); | 41 | QLabel* protect_label=new QLabel(tr( "<b>Protect</b>" ),settings); |
42 | protect_label->setGeometry(50,80,50,20); | 42 | protect_label->setGeometry(50,80,50,20); |
@@ -44,3 +44,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
44 | protect->setGeometry(100,80,40,20); | 44 | protect->setGeometry(100,80,40,20); |
45 | QPushButton* protecthelp=new QPushButton("?",settings); | 45 | QPushButton* protecthelp=new QPushButton(tr( "?" ),settings); |
46 | protecthelp->setGeometry(140,80,20,20); | 46 | protecthelp->setGeometry(140,80,20,20); |
@@ -49,3 +49,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
49 | 49 | ||
50 | QLabel* safe_label=new QLabel("<b>Safe</b>",settings); | 50 | QLabel* safe_label=new QLabel(tr( "<b>Safe</b>" ),settings); |
51 | safe_label->setGeometry(50,100,50,20); | 51 | safe_label->setGeometry(50,100,50,20); |
@@ -53,3 +53,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
53 | safe->setGeometry(100,100,40,20); | 53 | safe->setGeometry(100,100,40,20); |
54 | QPushButton* safeehelp=new QPushButton("?",settings); | 54 | QPushButton* safeehelp=new QPushButton(tr( "?" ),settings); |
55 | safeehelp->setGeometry(140,100,20,20); | 55 | safeehelp->setGeometry(140,100,20,20); |
@@ -58,3 +58,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
58 | 58 | ||
59 | QLabel* empty_label=new QLabel("<b>Empty</b>",settings); | 59 | QLabel* empty_label=new QLabel(tr( "<b>Empty</b>" ),settings); |
60 | empty_label->setGeometry(50,120,50,20); | 60 | empty_label->setGeometry(50,120,50,20); |
@@ -62,3 +62,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
62 | empty->setGeometry(100,120,40,20); | 62 | empty->setGeometry(100,120,40,20); |
63 | QPushButton* emptyhelp=new QPushButton("?",settings); | 63 | QPushButton* emptyhelp=new QPushButton(tr( "?" ),settings); |
64 | emptyhelp->setGeometry(140,120,20,20); | 64 | emptyhelp->setGeometry(140,120,20,20); |
@@ -67,3 +67,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
67 | 67 | ||
68 | defaultvalues=new QPushButton("Default Values",settings); | 68 | defaultvalues=new QPushButton(tr( "Default Values" ),settings); |
69 | defaultvalues->setGeometry(60,140,90,20); | 69 | defaultvalues->setGeometry(60,140,90,20); |
@@ -71,3 +71,3 @@ AI_Dialog::AI_Dialog(QWidget* parent,const char* name,bool modal,WFlags f) | |||
71 | 71 | ||
72 | QGroupBox* helpbox=new QGroupBox("Help",this); | 72 | QGroupBox* helpbox=new QGroupBox(tr( "Help" ),this); |
73 | helpbox->setGeometry(10,185,220,90); | 73 | helpbox->setGeometry(10,185,220,90); |
@@ -184,3 +184,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
184 | { | 184 | { |
185 | help->setText("Bring the pieces out of the endzone"); | 185 | help->setText(tr( "Bring the pieces out of the endzone" )); |
186 | } | 186 | } |
@@ -188,3 +188,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
188 | { | 188 | { |
189 | help->setText("Eliminate an opponents piece"); | 189 | help->setText(tr( "Eliminate an opponents piece" )); |
190 | } | 190 | } |
@@ -192,3 +192,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
192 | { | 192 | { |
193 | help->setText("Expose you own pieces.\nAfter such a move only one piece will remain in the slot"); | 193 | help->setText(tr( "Expose you own pieces.\nAfter such a move only one piece will remain in the slot") ); |
194 | } | 194 | } |
@@ -196,3 +196,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
196 | { | 196 | { |
197 | help->setText("Protect a single piece by\nputting another one in this slot"); | 197 | help->setText(tr( "Protect a single piece by\nputting another one in this slot" )); |
198 | } | 198 | } |
@@ -200,3 +200,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
200 | { | 200 | { |
201 | help->setText("Move piece to a slot already\noccupied by the player"); | 201 | help->setText(tr( "Move piece to a slot already\noccupied by the player" )); |
202 | } | 202 | } |
@@ -204,3 +204,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
204 | { | 204 | { |
205 | help->setText("Move piece to an empty slot"); | 205 | help->setText(tr( "Move piece to an empty slot") ); |
206 | } | 206 | } |
@@ -208,3 +208,3 @@ void AI_Dialog::setHelpText(const QString& type) | |||
208 | { | 208 | { |
209 | help->setText("Press and hold the ? buttton\nnext to a field for help"); | 209 | help->setText(tr( "Press and hold the ? buttton\nnext to a field for help") ); |
210 | } | 210 | } |