summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/CloseDialog.h
authorgroucho <groucho>2003-05-07 14:10:02 (UTC)
committer groucho <groucho>2003-05-07 14:10:02 (UTC)
commit6bfdfc1c4fab71196b0d40f08c209d7819874686 (patch) (unidiff)
tree2fbb90c597135de21d3ec997203a3ffe92f9aeb5 /noncore/apps/opie-reader/CloseDialog.h
parentb836e3690fbe639b95041999c800d86280985451 (diff)
downloadopie-6bfdfc1c4fab71196b0d40f08c209d7819874686.zip
opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.gz
opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.bz2
Hopefully things are now fixed in CVS
Diffstat (limited to 'noncore/apps/opie-reader/CloseDialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/CloseDialog.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/CloseDialog.h b/noncore/apps/opie-reader/CloseDialog.h
new file mode 100644
index 0000000..62e6423
--- a/dev/null
+++ b/noncore/apps/opie-reader/CloseDialog.h
@@ -0,0 +1,62 @@
1/****************************************************************************
2** Form interface generated from reading ui file 'Prefs.ui'
3**
4** Created: Tue Feb 11 23:53:32 2003
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#ifndef __CLOSEDIALOG_H
10#define __CLOSEDIALOG_H
11
12#include "useqpe.h"
13#include <qvariant.h>
14#include <qwidget.h>
15#include <qtabdialog.h>
16#include <qtabwidget.h>
17#include <qspinbox.h>
18#include <qcheckbox.h>
19#include <qcombobox.h>
20#include <qlineedit.h>
21//#include <qpe/menubutton.h>
22#include <qvbuttongroup.h>
23
24class QVBoxLayout;
25class QHBoxLayout;
26class QGridLayout;
27//class QCheckBox;
28class QLabel;
29//class QSpinBox;
30
31class CCloseDialog : public QDialog
32{
33Q_OBJECT
34 QCheckBox *file, *marks, *config;
35#ifndef USEQPE
36 void keyPressEvent(QKeyEvent* e)
37 {
38 switch (e->key())
39 {
40 case Key_Escape:
41 e->accept();
42 reject();
43 break;
44 case Key_Space:
45 case Key_Return:
46 e->accept();
47 accept();
48 break;
49 default:
50 QWidget::keyPressEvent(e);
51 }
52 }
53#endif
54 public:
55 CCloseDialog(const QString&, bool fs = true, QWidget* parent = 0, const char* name = 0);
56 ~CCloseDialog() {}
57 bool delFile() { return file->isChecked(); }
58 bool delMarks() { return marks->isChecked(); }
59 bool delConfig() { return config->isChecked(); }
60
61};
62#endif // CPREFS_H