Diffstat (limited to 'noncore/apps/opie-reader/URLDialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/URLDialog.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/URLDialog.h b/noncore/apps/opie-reader/URLDialog.h index 1bcc4bd..792d13a 100644 --- a/noncore/apps/opie-reader/URLDialog.h +++ b/noncore/apps/opie-reader/URLDialog.h | |||
@@ -1,60 +1,59 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form interface generated from reading ui file 'Prefs.ui' | 2 | ** Form interface generated from reading ui file 'Prefs.ui' |
3 | ** | 3 | ** |
4 | ** Created: Tue Feb 11 23:53:32 2003 | 4 | ** Created: Tue Feb 11 23:53:32 2003 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef __URLDIALOG_H | 9 | #ifndef __URLDIALOG_H |
10 | #define __URLDIALOG_H | 10 | #define __URLDIALOG_H |
11 | 11 | ||
12 | #include "useqpe.h" | ||
13 | #include <qvariant.h> | 12 | #include <qvariant.h> |
14 | #include <qwidget.h> | 13 | #include <qwidget.h> |
15 | #include <qtabdialog.h> | 14 | #include <qtabdialog.h> |
16 | #include <qtabwidget.h> | 15 | #include <qtabwidget.h> |
17 | #include <qspinbox.h> | 16 | #include <qspinbox.h> |
18 | #include <qcheckbox.h> | 17 | #include <qcheckbox.h> |
19 | #include <qcombobox.h> | 18 | #include <qcombobox.h> |
20 | #include <qlineedit.h> | 19 | #include <qlineedit.h> |
21 | //#include <qpe/menubutton.h> | 20 | //#include <qpe/menubutton.h> |
22 | #include <qvbuttongroup.h> | 21 | #include <qvbuttongroup.h> |
23 | 22 | ||
24 | class QVBoxLayout; | 23 | class QVBoxLayout; |
25 | class QHBoxLayout; | 24 | class QHBoxLayout; |
26 | class QGridLayout; | 25 | class QGridLayout; |
27 | //class QCheckBox; | 26 | //class QCheckBox; |
28 | class QLabel; | 27 | class QLabel; |
29 | //class QSpinBox; | 28 | //class QSpinBox; |
30 | 29 | ||
31 | class CURLDialog : public QDialog | 30 | class CURLDialog : public QDialog |
32 | { | 31 | { |
33 | Q_OBJECT | 32 | Q_OBJECT |
34 | QCheckBox *m_localfile, *m_globalfile, *m_clipboard; | 33 | QCheckBox *m_localfile, *m_globalfile, *m_clipboard; |
35 | #ifndef USEQPE | 34 | #ifndef USEQPE |
36 | void keyPressEvent(QKeyEvent* e) | 35 | void keyPressEvent(QKeyEvent* e) |
37 | { | 36 | { |
38 | switch (e->key()) | 37 | switch (e->key()) |
39 | { | 38 | { |
40 | case Key_Escape: | 39 | case Key_Escape: |
41 | e->accept(); | 40 | e->accept(); |
42 | reject(); | 41 | reject(); |
43 | break; | 42 | break; |
44 | case Key_Space: | 43 | case Key_Space: |
45 | case Key_Return: | 44 | case Key_Return: |
46 | e->accept(); | 45 | e->accept(); |
47 | accept(); | 46 | accept(); |
48 | break; | 47 | break; |
49 | default: | 48 | default: |
50 | QWidget::keyPressEvent(e); | 49 | QWidget::keyPressEvent(e); |
51 | } | 50 | } |
52 | } | 51 | } |
53 | #endif | 52 | #endif |
54 | public: | 53 | public: |
55 | CURLDialog(const QString&, bool fs = true, QWidget* parent = 0, const char* name = 0); | 54 | CURLDialog(const QString&, bool fs = true, QWidget* parent = 0, const char* name = 0); |
56 | ~CURLDialog() {} | 55 | ~CURLDialog() {} |
57 | bool clipboard() { return m_clipboard->isChecked(); } | 56 | bool clipboard() { return m_clipboard->isChecked(); } |
58 | bool localfile() { return m_localfile->isChecked(); } | 57 | bool localfile() { return m_localfile->isChecked(); } |
59 | bool globalfile() { return m_globalfile->isChecked(); } | 58 | bool globalfile() { return m_globalfile->isChecked(); } |
60 | void clipboard(bool _b) { m_clipboard->setChecked(_b); } | 59 | void clipboard(bool _b) { m_clipboard->setChecked(_b); } |