Diffstat (limited to 'inputmethods/multikey/keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 10 |
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 | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <ctype.h> | 33 | #include <ctype.h> |
34 | #include <qfile.h> | 34 | #include <qfile.h> |
35 | #include <qtextstream.h> | 35 | #include <qtextstream.h> |
36 | #include <iostream.h> | ||
37 | 36 | ||
38 | #include <sys/utsname.h> | 37 | #include <sys/utsname.h> |
39 | 38 | ||
@@ -77,6 +76,14 @@ Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) : | |||
77 | connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) ); | 76 | connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) ); |
78 | 77 | ||
79 | } | 78 | } |
79 | Keyboard::~Keyboard() { | ||
80 | |||
81 | if ( configdlg ) { | ||
82 | delete (ConfigDlg *) configdlg; | ||
83 | configdlg = 0; | ||
84 | } | ||
85 | |||
86 | } | ||
80 | 87 | ||
81 | /* Keyboard::resizeEvent {{{1 */ | 88 | /* Keyboard::resizeEvent {{{1 */ |
82 | void Keyboard::resizeEvent(QResizeEvent*) | 89 | void Keyboard::resizeEvent(QResizeEvent*) |
@@ -959,7 +966,6 @@ void Keys::setKeysFromFile(const char * filename) { | |||
959 | 966 | ||
960 | } | 967 | } |
961 | 968 | ||
962 | cout << name << " = " << value << "\n"; | ||
963 | buf = t.readLine(); | 969 | buf = t.readLine(); |
964 | } | 970 | } |
965 | // comments | 971 | // comments |