author | mickeyl <mickeyl> | 2004-01-04 14:22:59 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-01-04 14:22:59 (UTC) |
commit | 5c4c2a789c19e727bb9ca323ea1fec1b7d1bd057 (patch) (unidiff) | |
tree | c2e1b4a090ca53efd3b3e0c20d12a633e01470d4 /inputmethods/multikey/configdlg.h | |
parent | 84f039ef3799c5310a4f94057b9d76d4ee55f499 (diff) | |
download | opie-5c4c2a789c19e727bb9ca323ea1fec1b7d1bd057.zip opie-5c4c2a789c19e727bb9ca323ea1fec1b7d1bd057.tar.gz opie-5c4c2a789c19e727bb9ca323ea1fec1b7d1bd057.tar.bz2 |
more patches to multikey+applet courtesy Anton Kachalov <mouse@altlinux.ru>
Diffstat (limited to 'inputmethods/multikey/configdlg.h') (more/less context) (ignore 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,20 +1,19 @@ | |||
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> |
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 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: |
20 | void pickboardToggled(bool on_off); | 19 | void pickboardToggled(bool on_off); |
@@ -24,21 +23,21 @@ signals: | |||
24 | void reloadKeyboard(); | 23 | void reloadKeyboard(); |
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(); |
44 | void keyColorLinesClicked(); | 43 | void keyColorLinesClicked(); |
@@ -50,9 +49,8 @@ private: | |||
50 | QListBox *keymaps; | 49 | QListBox *keymaps; |
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 |
58 | 56 | ||