summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/configdlg.h
Unidiff
Diffstat (limited to 'inputmethods/multikey/configdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.h3
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
@@ -7,39 +7,42 @@
7#ifndef CONFIGDLG_H 7#ifndef CONFIGDLG_H
8#define CONFIGDLG_H 8#define CONFIGDLG_H
9 9
10class ConfigDlg : public QTabWidget 10class ConfigDlg : public QTabWidget
11{ 11{
12 Q_OBJECT 12 Q_OBJECT
13 13
14public: 14public:
15 ConfigDlg (); 15 ConfigDlg ();
16 16
17signals: 17signals:
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
23private slots: 24private 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
32private: 34private:
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};