summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/configdlg.cpp
Unidiff
Diffstat (limited to 'inputmethods/multikey/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index 26c9233..a8206b7 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -1,8 +1,9 @@
1/* 1/*
2 * TODO 2 * TODO
3 * make a font selection thing (size too) 3 * make a font selection thing (size too)
4 * make vertical keys possible
5 * make a keymap editor 4 * make a keymap editor
5 * make keys translucent
6 * make vertical keys possible
6 * 7 *
7 * 8 *
8 */ 9 */
@@ -248,6 +249,12 @@ void ConfigDlg::repeatTog() {
248 emit repeatToggled(repeat_button->isChecked()); 249 emit repeatToggled(repeat_button->isChecked());
249} 250}
250 251
252void ConfigDlg::closeEvent(QCloseEvent *) {
253
254 // tell the parent it was closed, so delete me
255 emit configDlgClosed();
256}
257
251// ConfigDlg::setMap {{{1 258// ConfigDlg::setMap {{{1
252 259
253/* 260/*
@@ -267,7 +274,7 @@ void ConfigDlg::setMap(int index) {
267 else if ((uint)index <= default_maps.count()) { 274 else if ((uint)index <= default_maps.count()) {
268 275
269 remove_button->setDisabled(true); 276 remove_button->setDisabled(true);
270 emit setMapToFile(QPEApplication::qpeDir() + "/share/multikey/" + default_maps[index - 1]); 277 emit setMapToFile(QPEApplication::qpeDir() + "share/multikey/" + default_maps[index - 1]);
271 278
272 } else { 279 } else {
273 280