author | hash <hash> | 2002-08-18 06:18:18 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-18 06:18:18 (UTC) |
commit | 229a66f5a955ec71bd5973ac6961cd694692856a (patch) (side-by-side diff) | |
tree | e2fa7e43d90728b972933e3fca77a897aa376287 /inputmethods/multikey/keyboard.h | |
parent | 5f271187a72b18339310f12a2c753e9b8548c078 (diff) | |
download | opie-229a66f5a955ec71bd5973ac6961cd694692856a.zip opie-229a66f5a955ec71bd5973ac6961cd694692856a.tar.gz opie-229a66f5a955ec71bd5973ac6961cd694692856a.tar.bz2 |
paths to maps are now saved in config dialog
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index 400edc0..7a8d4b4 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h @@ -84,65 +84,65 @@ private: }; QList<Key> keys[6]; QMap<ushort,ushort> shiftMap; }; class Keyboard : public QFrame { Q_OBJECT public: Keyboard( QWidget* parent=0, const char* name=0, WFlags f=0 ); ~Keyboard(); void resetState(); void mousePressEvent(QMouseEvent*); void mouseReleaseEvent(QMouseEvent*); void resizeEvent(QResizeEvent*); void paintEvent(QPaintEvent* e); //void timerEvent(QTimerEvent* e); void drawKeyboard( QPainter &p, int row = -1, int col = -1); QSize sizeHint() const; signals: void key( ushort scancode, ushort unicode, ushort modifiers, bool, bool ); private slots: void repeat(); void togglePickboard(bool on_off); void setMapToDefault(); - void setMapToFile(QString file); + void setMapToFile(int index); private: int getKey( int &w, int j = -1 ); void clearHighlight(); bool *shift; bool *lock; bool *ctrl; bool *alt; uint useLargeKeys:1; uint usePicks:1; int pressedKeyRow; int pressedKeyCol; KeyboardPicks *picks; int keyHeight; int defaultKeyWidth; int xoffs; int unicode; int qkeycode; int modifiers; int pressTid; bool pressed; Keys *keys; /* for korean input */ ushort schar, mchar, echar; |