Diffstat (limited to 'inputmethods/multikey/configdlg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/multikey/configdlg.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/inputmethods/multikey/configdlg.h b/inputmethods/multikey/configdlg.h index ea157c5..91ae429 100644 --- a/inputmethods/multikey/configdlg.h +++ b/inputmethods/multikey/configdlg.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #include <qpe/qpeapplication.h> | 1 | #include <qpe/qpeapplication.h> |
2 | #include <qtabwidget.h> | 2 | #include <qdialog.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> |
@@ -7,13 +7,12 @@ | |||
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 QDialog |
11 | { | 11 | { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | 13 | ||
14 | public: | 14 | public: |
15 | ConfigDlg (); | 15 | ConfigDlg (); |
16 | ~ConfigDlg (); | ||
17 | static QStringList ConfigDlg::loadSw(); | 16 | static QStringList ConfigDlg::loadSw(); |
18 | 17 | ||
19 | signals: | 18 | signals: |
@@ -25,19 +24,19 @@ signals: | |||
25 | void configDlgClosed(); | 24 | void configDlgClosed(); |
26 | void reloadSw(); | 25 | void reloadSw(); |
27 | 26 | ||
27 | protected: | ||
28 | virtual void accept(); | ||
29 | |||
28 | protected slots: | 30 | protected slots: |
29 | void moveSelectedUp(); | 31 | void moveSelectedUp(); |
30 | void moveSelectedDown(); | 32 | void moveSelectedDown(); |
31 | 33 | ||
32 | private slots: | 34 | private slots: |
33 | void pickTog(); | ||
34 | void repeatTog(); | ||
35 | void setMap(int index); | 35 | void setMap(int index); |
36 | void addMap(); | 36 | void addMap(); |
37 | void removeMap(); | 37 | void removeMap(); |
38 | virtual void closeEvent ( QCloseEvent * ); | 38 | virtual void closeEvent ( QCloseEvent * ); |
39 | 39 | ||
40 | |||
41 | // all those required slots for the color push buttons | 40 | // all those required slots for the color push buttons |
42 | void keyColorClicked(); | 41 | void keyColorClicked(); |
43 | void keyColorPressedClicked(); | 42 | void keyColorPressedClicked(); |
@@ -51,7 +50,6 @@ private: | |||
51 | QPushButton *add_button; | 50 | QPushButton *add_button; |
52 | QPushButton *remove_button; | 51 | QPushButton *remove_button; |
53 | 52 | ||
54 | |||
55 | QStringList default_maps; // the maps in your share/multikey/ dir | 53 | QStringList default_maps; // the maps in your share/multikey/ dir |
56 | QStringList custom_maps; // maps you added with the 'add' button | 54 | QStringList custom_maps; // maps you added with the 'add' button |
57 | QStringList sw_maps; // maps, which used in keyboard switch rotation ring | 55 | QStringList sw_maps; // maps, which used in keyboard switch rotation ring |