summaryrefslogtreecommitdiff
authorhash <hash>2002-08-27 17:55:22 (UTC)
committer hash <hash>2002-08-27 17:55:22 (UTC)
commit48a1af2115e44f44ccc3918ef77f77167d1bbc24 (patch) (side-by-side diff)
treef6cbd81ac5019c6fc5b38ae9445b1510a9b91845
parent83091c400324e103650a709206f6983ebf2a5e22 (diff)
downloadopie-48a1af2115e44f44ccc3918ef77f77167d1bbc24.zip
opie-48a1af2115e44f44ccc3918ef77f77167d1bbc24.tar.gz
opie-48a1af2115e44f44ccc3918ef77f77167d1bbc24.tar.bz2
pickboard off by default now working
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp5
-rw-r--r--inputmethods/multikey/keyboard.cpp4
2 files changed, 4 insertions, 5 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index f6507b4..26c9233 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -1,30 +1,29 @@
/*
* TODO
* make a font selection thing (size too)
- * make a cursor thing
- * add meta key support for german, etc
- *
+ * make vertical keys possible
+ * make a keymap editor
*
*
*/
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <qwidget.h>
#include <qdialog.h>
#include <qtabwidget.h>
#include <qvbox.h>
#include <qgrid.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qcheckbox.h>
#include <qsizepolicy.h>
#include <qpushbutton.h>
#include <qlistbox.h>
#include <qstringlist.h>
#include <opie/ofiledialog.h>
#include <opie/colordialog.h>
#include <qdir.h>
#include <qfileinfo.h>
#include "configdlg.h"
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 92ea896..4747f59 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -34,50 +34,50 @@
#include <qfile.h>
#include <qtextstream.h>
#include <qstringlist.h>
#include <sys/utsname.h>
/* Keyboard::Keyboard {{{1 */
Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) :
QFrame(parent, _name, f), shift(0), lock(0), ctrl(0), alt(0), meta(0),
useLargeKeys(TRUE), usePicks(0), useRepeat(0), pressedKeyRow(-1), pressedKeyCol(-1),
unicode(-1), qkeycode(0), modifiers(0), schar(0), mchar(0), echar(0),
configdlg(0)
{
// get the default font
Config *config = new Config( "qpe" );
config->setGroup( "Appearance" );
QString familyStr = config->readEntry( "FontFamily", "fixed" );
delete config;
config = new Config("multikey");
config->setGroup ("general");
- usePicks = config->readBoolEntry ("usePickboard", "0"); // default closed
- useRepeat = config->readBoolEntry ("useRepeat", "1");
+ usePicks = config->readBoolEntry ("usePickboard", 0); // default closed
+ useRepeat = config->readBoolEntry ("useRepeat", 1);
delete config;
setFont( QFont( familyStr, 10 ) );
picks = new KeyboardPicks( this );
picks->setFont( QFont( familyStr, 10 ) );
picks->initialise();
if (usePicks) {
QObject::connect( picks, SIGNAL(key(ushort,ushort,ushort,bool,bool) ),
this, SIGNAL(key(ushort,ushort,ushort,bool,bool)) );
} else picks->hide();
loadKeyboardColors();
keys = new Keys();
repeatTimer = new QTimer( this );
connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) );
}