summaryrefslogtreecommitdiff
path: root/core/applets
authormickeyl <mickeyl>2004-10-29 12:38:37 (UTC)
committer mickeyl <mickeyl>2004-10-29 12:38:37 (UTC)
commitdca4423e3b0966fe26ba4183e5b6ad4666c61e86 (patch) (unidiff)
tree8a06619edc609164f45b6a2d92ec3fe264fc3fb1 /core/applets
parente1ab37a7bc09619958037be7ecddc67fd334227d (diff)
downloadopie-dca4423e3b0966fe26ba4183e5b6ad4666c61e86.zip
opie-dca4423e3b0966fe26ba4183e5b6ad4666c61e86.tar.gz
opie-dca4423e3b0966fe26ba4183e5b6ad4666c61e86.tar.bz2
- no longer hardcode the font size
- add fixme for initial keyboard setting
Diffstat (limited to 'core/applets') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/multikeyapplet/multikey.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/multikeyapplet/multikey.cpp b/core/applets/multikeyapplet/multikey.cpp
index 8cb9083..f3d8375 100644
--- a/core/applets/multikeyapplet/multikey.cpp
+++ b/core/applets/multikeyapplet/multikey.cpp
@@ -19,9 +19,10 @@
19#include <qpe/qcopenvelope_qws.h> 19#include <qpe/qcopenvelope_qws.h>
20#include <qpe/qpeapplication.h> 20#include <qpe/qpeapplication.h>
21using namespace Opie::Ui;
21 22
22/* QT */ 23/* QT */
23#include <qdir.h> 24#include <qdir.h>
24 25
25using namespace Opie::Ui; 26//FIXME: Better read appropriate initial setting from LOCALE, not hardcode it "EN"
26Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("EN") 27Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("EN")
27{ 28{
@@ -30,5 +31,4 @@ Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("
30 this, SLOT(message(const QCString&,const QByteArray&))); 31 this, SLOT(message(const QCString&,const QByteArray&)));
31 32
32 setFont( QFont( "Helvetica", 10, QFont::Normal ) );
33 QPEApplication::setStylusOperation(this, QPEApplication::RightOnHold); 33 QPEApplication::setStylusOperation(this, QPEApplication::RightOnHold);
34 lang = 0; 34 lang = 0;
@@ -69,5 +69,5 @@ void Multikey::mouseReleaseEvent(QMouseEvent *ev)
69 lang = lang < sw_maps.count()-1 ? lang+1 : 0; 69 lang = lang < sw_maps.count()-1 ? lang+1 : 0;
70 QCopEnvelope e("MultiKey/Keyboard", "setmultikey(QString)"); 70 QCopEnvelope e("MultiKey/Keyboard", "setmultikey(QString)");
71 //odebug << "Lang=" << lang << ", count=" << sw_maps.count() << ", lab=" << labels[lang].ascii() << "" << oendl; 71 //odebug << "Lang=" << lang << ", count=" << sw_maps.count() << ", lab=" << labels[lang].ascii() << "" << oendl;
72 e << sw_maps[lang]; 72 e << sw_maps[lang];
73 setText(labels[lang]); 73 setText(labels[lang]);