summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/CloseDialog.h
authorgroucho <groucho>2003-05-07 14:07:19 (UTC)
committer groucho <groucho>2003-05-07 14:07:19 (UTC)
commitb836e3690fbe639b95041999c800d86280985451 (patch) (unidiff)
treed5a23427be56e4276a8b2ad8409c1ed22ac2c30a /noncore/apps/opie-reader/CloseDialog.h
parent4619398b4712062e65d1919156edea38785c590e (diff)
downloadopie-b836e3690fbe639b95041999c800d86280985451.zip
opie-b836e3690fbe639b95041999c800d86280985451.tar.gz
opie-b836e3690fbe639b95041999c800d86280985451.tar.bz2
*** empty log message ***
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, 0 insertions, 62 deletions
diff --git a/noncore/apps/opie-reader/CloseDialog.h b/noncore/apps/opie-reader/CloseDialog.h
deleted file mode 100644
index 62e6423..0000000
--- a/noncore/apps/opie-reader/CloseDialog.h
+++ b/dev/null
@@ -1,62 +0,0 @@
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