summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/pickboard/pickboardpicks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/pickboard/pickboardpicks.cpp b/inputmethods/pickboard/pickboardpicks.cpp
index b9d9928..bad1d24 100644
--- a/inputmethods/pickboard/pickboardpicks.cpp
+++ b/inputmethods/pickboard/pickboardpicks.cpp
@@ -240,49 +240,49 @@ static const char *Space_xpm[] = {
240"a.......a", 240"a.......a",
241"a.......a", 241"a.......a",
242"a.......a", 242"a.......a",
243"a.......a", 243"a.......a",
244"a.......a", 244"a.......a",
245"a.......a", 245"a.......a",
246"a.......a", 246"a.......a",
247"aaaaaaaaa" 247"aaaaaaaaa"
248}; 248};
249 249
250PickboardPicks::PickboardPicks(QWidget* parent, const char* name, WFlags f ) : 250PickboardPicks::PickboardPicks(QWidget* parent, const char* name, WFlags f ) :
251 QFrame(parent,name,f) 251 QFrame(parent,name,f)
252{ 252{
253 configs.setAutoDelete( TRUE ); 253 configs.setAutoDelete( TRUE );
254} 254}
255 255
256void PickboardPicks::initialise(void) 256void PickboardPicks::initialise(void)
257{ 257{
258 setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed)); 258 setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed));
259 mode = 0; 259 mode = 0;
260 260
261 DictFilterConfig* dc = new DictFilterConfig(this); 261 DictFilterConfig* dc = new DictFilterConfig(this);
262 QStringList sets_a = QStringList::split(' ',tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'")); 262 QStringList sets_a = QStringList::split(' ',tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'"));
263 QStringList sets = QStringList::split(' ', 263 QStringList sets = QStringList::split(' ',
264 tr("ABC%/1iso8859-15 DEF%/1iso8859-15 GHI%/1iso8859-15 JKL MNO%/1iso8859-15 PQR%/1iso8859-15 STU%/1iso8859-15 VWX YZ-'%/1iso8859-15")); 264 tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'"));
265 for (QStringList::ConstIterator it = sets.begin(), it_a = sets_a.begin(); it!=sets.end(); ++it,++it_a) 265 for (QStringList::ConstIterator it = sets.begin(), it_a = sets_a.begin(); it!=sets.end(); ++it,++it_a)
266 dc->addSet(*it_a,*it); 266 dc->addSet(*it_a,*it);
267 dc->addMode("123"); 267 dc->addMode("123");
268 dc->addMode("@*!?"); 268 dc->addMode("@*!?");
269 dc->addMode(tr("KEY")); 269 dc->addMode(tr("KEY"));
270 dc->addMode(tr("Space")); 270 dc->addMode(tr("Space"));
271 dc->addMode(tr("Back")); 271 dc->addMode(tr("Back"));
272 dc->addMode(tr("Enter")); 272 dc->addMode(tr("Enter"));
273 dc->addMode(tr("Shift")); 273 dc->addMode(tr("Shift"));
274 configs.append(dc); 274 configs.append(dc);
275 275
276 CharStringConfig* number = new CharStringConfig(this); 276 CharStringConfig* number = new CharStringConfig(this);
277 number->addChar("0"); 277 number->addChar("0");
278 number->addChar("1"); 278 number->addChar("1");
279 number->addChar("2"); 279 number->addChar("2");
280 number->addChar("3"); 280 number->addChar("3");
281 number->addChar("4"); 281 number->addChar("4");
282 number->addChar("5"); 282 number->addChar("5");
283 number->addChar("6"); 283 number->addChar("6");
284 number->addChar("7"); 284 number->addChar("7");
285 number->addChar("8"); 285 number->addChar("8");
286 number->addChar("9"); 286 number->addChar("9");
287 number->addChar("."); // #### or "," in some locales 287 number->addChar("."); // #### or "," in some locales
288 configs.append(number); 288 configs.append(number);