summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.h
Side-by-side diff
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index e61b76c..c2efe10 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -66,8 +66,10 @@ public:
void setKeysFromFile(const char *filename);
void setKey(const int row, const int qcode, const ushort unicode,
const int width, QPixmap *pix);
void setPressed(const int row, const int col, const bool pressed);
+ QString lang;
+ QString title;
private:
typedef struct Key {
@@ -107,8 +109,10 @@ signals:
private slots:
void repeat();
void togglePickboard(bool on_off);
+ void setMapToDefault();
+ void setMapToFile(QString file);
private:
int getKey( int &w, int j = -1 );
void clearHighlight();
@@ -135,10 +139,10 @@ private:
int pressTid;
bool pressed;
- Keys keys;
- QString LANG;
+ Keys *keys;
+
/* for korean input */
ushort schar, mchar, echar;
ushort parseKoreanInput(ushort c);
ushort combineKoreanChars(const ushort s, const ushort m, const ushort e);