summaryrefslogtreecommitdiff
path: root/inputmethods/multikey
authorhash <hash>2002-08-19 07:21:51 (UTC)
committer hash <hash>2002-08-19 07:21:51 (UTC)
commit9cc94030d7f6a04b79da8db83e6c609c1580a3d3 (patch) (side-by-side diff)
treeb7c0fbc543d633ec9bd0f9d2ef762ebb92b2da55 /inputmethods/multikey
parent64a00421be85d223072e087d4d3c9ecdad464095 (diff)
downloadopie-9cc94030d7f6a04b79da8db83e6c609c1580a3d3.zip
opie-9cc94030d7f6a04b79da8db83e6c609c1580a3d3.tar.gz
opie-9cc94030d7f6a04b79da8db83e6c609c1580a3d3.tar.bz2
parses dir and also lets you add/remove maps located in other places
Diffstat (limited to 'inputmethods/multikey') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp2
-rw-r--r--inputmethods/multikey/keyboard.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index a6e4dad..ac132d3 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -173,12 +173,14 @@ void ConfigDlg::setMap(int index) {
emit setMapToDefault();
}
else if ((uint)index <= default_maps.count()) {
remove_button->setDisabled(true);
+ emit setMapToFile(keymaps->text(index));
+
} else {
remove_button->setEnabled(true);
emit setMapToFile(keymaps->text(index));
}
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index 805f0ed..8c4e666 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -66,13 +66,13 @@ public:
int numKeys(const int row);
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;
+ QString label;
private:
typedef struct Key {
int qcode; // are qt key codes just unicode values?
ushort unicode;