summaryrefslogtreecommitdiff
path: root/inputmethods/keyboard
authorsimon <simon>2002-03-25 19:24:11 (UTC)
committer simon <simon>2002-03-25 19:24:11 (UTC)
commitc23a779daf47909171d3cde424e5c84314d559ac (patch) (unidiff)
tree1e69bbb3b2f0f43b96d1a896a50b55a2622c83a8 /inputmethods/keyboard
parent843b7b0841976f8d6ea0ff0306dc0f59ebdeece0 (diff)
downloadopie-c23a779daf47909171d3cde424e5c84314d559ac.zip
opie-c23a779daf47909171d3cde424e5c84314d559ac.tar.gz
opie-c23a779daf47909171d3cde424e5c84314d559ac.tar.bz2
- fixed warning about name shadowing
Diffstat (limited to 'inputmethods/keyboard') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/keyboard/keyboard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inputmethods/keyboard/keyboard.cpp b/inputmethods/keyboard/keyboard.cpp
index 233f08e..a04c45a 100644
--- a/inputmethods/keyboard/keyboard.cpp
+++ b/inputmethods/keyboard/keyboard.cpp
@@ -28,18 +28,18 @@
28#include <qtimer.h> 28#include <qtimer.h>
29#include <ctype.h> 29#include <ctype.h>
30 30
31#include <sys/utsname.h> 31#include <sys/utsname.h>
32 32
33 33
34#define USE_SMALL_BACKSPACE 34#define USE_SMALL_BACKSPACE
35 35
36Keyboard::Keyboard(QWidget* parent, const char* name, WFlags f) : 36Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) :
37 QFrame(parent, name, f), shift(FALSE), lock(FALSE), ctrl(FALSE), 37 QFrame(parent, _name, f), shift(FALSE), lock(FALSE), ctrl(FALSE),
38 alt(FALSE), useLargeKeys(TRUE), useOptiKeys(0), pressedKey(-1), 38 alt(FALSE), useLargeKeys(TRUE), useOptiKeys(0), pressedKey(-1),
39 unicode(-1), qkeycode(0), modifiers(0) 39 unicode(-1), qkeycode(0), modifiers(0)
40{ 40{
41 // setPalette(QPalette(QColor(240,240,230))); // Beige! 41 // setPalette(QPalette(QColor(240,240,230))); // Beige!
42 // setFont( QFont( "Helvetica", 8 ) ); 42 // setFont( QFont( "Helvetica", 8 ) );
43// setPalette(QPalette(QColor(200,200,200))); // Gray 43// setPalette(QPalette(QColor(200,200,200))); // Gray
44 setPalette(QPalette(QColor(220,220,220))); // Gray 44 setPalette(QPalette(QColor(220,220,220))); // Gray
45 45