author | alwin <alwin> | 2004-08-01 21:26:02 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-08-01 21:26:02 (UTC) |
commit | cd26bd549ac20b73039bab11662d627895f37c1a (patch) (unidiff) | |
tree | a1840bf1e13ca4ff1b43572db8194eacdcbe091d /noncore/applets/zkbapplet/keyzcfg/cfgdlg.h | |
parent | 9084969d2d4fa39d4d2c185695f0c88739a0f95c (diff) | |
download | opie-cd26bd549ac20b73039bab11662d627895f37c1a.zip opie-cd26bd549ac20b73039bab11662d627895f37c1a.tar.gz opie-cd26bd549ac20b73039bab11662d627895f37c1a.tar.bz2 |
reorganized zkbapplet for easier packaging within OE
Diffstat (limited to 'noncore/applets/zkbapplet/keyzcfg/cfgdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/zkbapplet/keyzcfg/cfgdlg.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/applets/zkbapplet/keyzcfg/cfgdlg.h b/noncore/applets/zkbapplet/keyzcfg/cfgdlg.h new file mode 100644 index 0000000..cbefdf1 --- a/dev/null +++ b/noncore/applets/zkbapplet/keyzcfg/cfgdlg.h | |||
@@ -0,0 +1,39 @@ | |||
1 | #include <qlabel.h> | ||
2 | #include <qlistbox.h> | ||
3 | #include <qpushbutton.h> | ||
4 | #include <qlineedit.h> | ||
5 | #include <qlayout.h> | ||
6 | #include <qcheckbox.h> | ||
7 | #include <qspinbox.h> | ||
8 | #include <qdialog.h> | ||
9 | #include <qapplication.h> | ||
10 | |||
11 | #include "cfgfile.h" | ||
12 | |||
13 | class CfgDlg : public QDialog { | ||
14 | Q_OBJECT | ||
15 | |||
16 | public: | ||
17 | CfgDlg(QWidget* parent, CfgFile* cfile, QApplication *, bool b = false); | ||
18 | virtual ~CfgDlg(); | ||
19 | |||
20 | protected: | ||
21 | CfgFile* cfile; | ||
22 | QApplication* application; | ||
23 | |||
24 | QMap<QString, QString> m; | ||
25 | |||
26 | QListBox* files; | ||
27 | QListBox* keymaps; | ||
28 | QLineEdit* label; | ||
29 | QSpinBox* ap; | ||
30 | QSpinBox* ad; | ||
31 | |||
32 | virtual void accept(); | ||
33 | |||
34 | protected slots: | ||
35 | void add(); | ||
36 | void del(); | ||
37 | void setLabel(); | ||
38 | void keymapHighlighted(const QString&); | ||
39 | }; | ||