summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.h
authorhash <hash>2002-08-15 19:29:19 (UTC)
committer hash <hash>2002-08-15 19:29:19 (UTC)
commitd9cc9bedf72e921f8f7d8edeb189db127c5651e3 (patch) (unidiff)
treee43631d8b74db204d9c60c34b0782aa37df185c2 /inputmethods/multikey/keyboard.h
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.h') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index c2efe10..8ca50ea 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -83,24 +83,25 @@ private:
83 }; 83 };
84 84
85 QList<Key> keys[6]; 85 QList<Key> keys[6];
86 QMap<ushort,ushort> shiftMap; 86 QMap<ushort,ushort> shiftMap;
87 87
88}; 88};
89 89
90class Keyboard : public QFrame 90class Keyboard : public QFrame
91{ 91{
92 Q_OBJECT 92 Q_OBJECT
93public: 93public:
94 Keyboard( QWidget* parent=0, const char* name=0, WFlags f=0 ); 94 Keyboard( QWidget* parent=0, const char* name=0, WFlags f=0 );
95 ~Keyboard();
95 96
96 void resetState(); 97 void resetState();
97 98
98 void mousePressEvent(QMouseEvent*); 99 void mousePressEvent(QMouseEvent*);
99 void mouseReleaseEvent(QMouseEvent*); 100 void mouseReleaseEvent(QMouseEvent*);
100 void resizeEvent(QResizeEvent*); 101 void resizeEvent(QResizeEvent*);
101 void paintEvent(QPaintEvent* e); 102 void paintEvent(QPaintEvent* e);
102 //void timerEvent(QTimerEvent* e); 103 //void timerEvent(QTimerEvent* e);
103 void drawKeyboard( QPainter &p, int row = -1, int col = -1); 104 void drawKeyboard( QPainter &p, int row = -1, int col = -1);
104 105
105 QSize sizeHint() const; 106 QSize sizeHint() const;
106 107