Diffstat (limited to 'inputmethods/multikey/configdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/configdlg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inputmethods/multikey/configdlg.h b/inputmethods/multikey/configdlg.h index ae7afe2..a000e60 100644 --- a/inputmethods/multikey/configdlg.h +++ b/inputmethods/multikey/configdlg.h | |||
@@ -1,47 +1,50 @@ | |||
1 | #include <qpe/qpeapplication.h> | 1 | #include <qpe/qpeapplication.h> |
2 | #include <qtabwidget.h> | 2 | #include <qtabwidget.h> |
3 | #include <qcheckbox.h> | 3 | #include <qcheckbox.h> |
4 | #include <qlistbox.h> | 4 | #include <qlistbox.h> |
5 | #include <qpushbutton.h> | 5 | #include <qpushbutton.h> |
6 | 6 | ||
7 | #ifndef CONFIGDLG_H | 7 | #ifndef CONFIGDLG_H |
8 | #define CONFIGDLG_H | 8 | #define CONFIGDLG_H |
9 | 9 | ||
10 | class ConfigDlg : public QTabWidget | 10 | class ConfigDlg : public QTabWidget |
11 | { | 11 | { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | 13 | ||
14 | public: | 14 | public: |
15 | ConfigDlg (); | 15 | ConfigDlg (); |
16 | 16 | ||
17 | signals: | 17 | signals: |
18 | void pickboardToggled(bool on_off); | 18 | void pickboardToggled(bool on_off); |
19 | void repeatToggled(bool on_off); | ||
19 | void setMapToDefault(); | 20 | void setMapToDefault(); |
20 | void setMapToFile(QString map); | 21 | void setMapToFile(QString map); |
21 | void reloadKeyboard(); | 22 | void reloadKeyboard(); |
22 | 23 | ||
23 | private slots: | 24 | private slots: |
24 | void pickTog(); | 25 | void pickTog(); |
26 | void repeatTog(); | ||
25 | void setMap(int index); | 27 | void setMap(int index); |
26 | void addMap(); | 28 | void addMap(); |
27 | void removeMap(); | 29 | void removeMap(); |
28 | 30 | ||
29 | // all those required slots for the color push buttons | 31 | // all those required slots for the color push buttons |
30 | void keyColorButtonClicked(); | 32 | void keyColorButtonClicked(); |
31 | 33 | ||
32 | private: | 34 | private: |
33 | QCheckBox *pick_button; | 35 | QCheckBox *pick_button; |
36 | QCheckBox *repeat_button; | ||
34 | QListBox *keymaps; | 37 | QListBox *keymaps; |
35 | QPushButton *add_button; | 38 | QPushButton *add_button; |
36 | QPushButton *remove_button; | 39 | QPushButton *remove_button; |
37 | 40 | ||
38 | 41 | ||
39 | QStringList default_maps; // the maps in your share/multikey/ dir | 42 | QStringList default_maps; // the maps in your share/multikey/ dir |
40 | QStringList custom_maps; // maps you added with the 'add' button | 43 | QStringList custom_maps; // maps you added with the 'add' button |
41 | 44 | ||
42 | /* color buttons */ | 45 | /* color buttons */ |
43 | QPushButton *key_color_button; | 46 | QPushButton *key_color_button; |
44 | 47 | ||
45 | }; | 48 | }; |
46 | 49 | ||
47 | #endif | 50 | #endif |