summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.cpp
authorhash <hash>2002-08-15 19:29:19 (UTC)
committer hash <hash>2002-08-15 19:29:19 (UTC)
commitd9cc9bedf72e921f8f7d8edeb189db127c5651e3 (patch) (side-by-side diff)
treee43631d8b74db204d9c60c34b0782aa37df185c2 /inputmethods/multikey/keyboard.cpp
parentf568b83e0ef16a0e3b46d41b2cfaa5fdda9d1d45 (diff)
downloadopie-d9cc9bedf72e921f8f7d8edeb189db127c5651e3.zip
opie-d9cc9bedf72e921f8f7d8edeb189db127c5651e3.tar.gz
opie-d9cc9bedf72e921f8f7d8edeb189db127c5651e3.tar.bz2
changed the keymap selector widget style
Diffstat (limited to 'inputmethods/multikey/keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 2a80f1e..b71f929 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -30,13 +30,12 @@
#include <qtimer.h>
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <ctype.h>
#include <qfile.h>
#include <qtextstream.h>
-#include <iostream.h>
#include <sys/utsname.h>
#define USE_SMALL_BACKSPACE
@@ -74,12 +73,20 @@ Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) :
keys = new Keys();
repeatTimer = new QTimer( this );
connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) );
}
+Keyboard::~Keyboard() {
+
+ if ( configdlg ) {
+ delete (ConfigDlg *) configdlg;
+ configdlg = 0;
+ }
+
+}
/* Keyboard::resizeEvent {{{1 */
void Keyboard::resizeEvent(QResizeEvent*)
{
int ph = picks->sizeHint().height();
picks->setGeometry( 0, 0, width(), ph );
@@ -956,13 +963,12 @@ void Keys::setKeysFromFile(const char * filename) {
if (name == "lang") {
lang = value;
}
- cout << name << " = " << value << "\n";
buf = t.readLine();
}
// comments
else if (buf.contains(QRegExp("^\\s*#"))) {
buf = t.readLine();