Diffstat (limited to 'inputmethods/multikey/configdlg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/multikey/configdlg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inputmethods/multikey/configdlg.h b/inputmethods/multikey/configdlg.h index 07d109c..ae7afe2 100644 --- a/inputmethods/multikey/configdlg.h +++ b/inputmethods/multikey/configdlg.h | |||
@@ -1,40 +1,47 @@ | |||
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 setMapToDefault(); | 19 | void setMapToDefault(); |
20 | void setMapToFile(QString map); | 20 | void setMapToFile(QString map); |
21 | void reloadKeyboard(); | ||
21 | 22 | ||
22 | private slots: | 23 | private slots: |
23 | void pickTog(); | 24 | void pickTog(); |
24 | void setMap(int index); | 25 | void setMap(int index); |
25 | void addMap(); | 26 | void addMap(); |
26 | void removeMap(); | 27 | void removeMap(); |
27 | 28 | ||
29 | // all those required slots for the color push buttons | ||
30 | void keyColorButtonClicked(); | ||
31 | |||
28 | private: | 32 | private: |
29 | QCheckBox *pick_button; | 33 | QCheckBox *pick_button; |
30 | QListBox *keymaps; | 34 | QListBox *keymaps; |
31 | QPushButton *add_button; | 35 | QPushButton *add_button; |
32 | QPushButton *remove_button; | 36 | QPushButton *remove_button; |
33 | 37 | ||
34 | 38 | ||
35 | QStringList default_maps; // the maps in your share/multikey/ dir | 39 | QStringList default_maps; // the maps in your share/multikey/ dir |
36 | QStringList custom_maps; // maps you added with the 'add' button | 40 | QStringList custom_maps; // maps you added with the 'add' button |
37 | 41 | ||
42 | /* color buttons */ | ||
43 | QPushButton *key_color_button; | ||
44 | |||
38 | }; | 45 | }; |
39 | 46 | ||
40 | #endif | 47 | #endif |