author | groucho <groucho> | 2003-05-07 14:10:02 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 14:10:02 (UTC) |
commit | 6bfdfc1c4fab71196b0d40f08c209d7819874686 (patch) (side-by-side diff) | |
tree | 2fbb90c597135de21d3ec997203a3ffe92f9aeb5 /noncore/apps/opie-reader/URLDialog.h | |
parent | b836e3690fbe639b95041999c800d86280985451 (diff) | |
download | opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.zip opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.gz opie-6bfdfc1c4fab71196b0d40f08c209d7819874686.tar.bz2 |
Hopefully things are now fixed in CVS
Diffstat (limited to 'noncore/apps/opie-reader/URLDialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/URLDialog.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/URLDialog.h b/noncore/apps/opie-reader/URLDialog.h new file mode 100644 index 0000000..1bcc4bd --- a/dev/null +++ b/noncore/apps/opie-reader/URLDialog.h @@ -0,0 +1,65 @@ +/**************************************************************************** +** Form interface generated from reading ui file 'Prefs.ui' +** +** Created: Tue Feb 11 23:53:32 2003 +** by: The User Interface Compiler (uic) +** +** WARNING! All changes made in this file will be lost! +****************************************************************************/ +#ifndef __URLDIALOG_H +#define __URLDIALOG_H + +#include "useqpe.h" +#include <qvariant.h> +#include <qwidget.h> +#include <qtabdialog.h> +#include <qtabwidget.h> +#include <qspinbox.h> +#include <qcheckbox.h> +#include <qcombobox.h> +#include <qlineedit.h> +//#include <qpe/menubutton.h> +#include <qvbuttongroup.h> + +class QVBoxLayout; +class QHBoxLayout; +class QGridLayout; +//class QCheckBox; +class QLabel; +//class QSpinBox; + +class CURLDialog : public QDialog +{ +Q_OBJECT + QCheckBox *m_localfile, *m_globalfile, *m_clipboard; +#ifndef USEQPE + void keyPressEvent(QKeyEvent* e) + { + switch (e->key()) + { + case Key_Escape: + e->accept(); + reject(); + break; + case Key_Space: + case Key_Return: + e->accept(); + accept(); + break; + default: + QWidget::keyPressEvent(e); + } + } +#endif + public: + CURLDialog(const QString&, bool fs = true, QWidget* parent = 0, const char* name = 0); + ~CURLDialog() {} + bool clipboard() { return m_clipboard->isChecked(); } + bool localfile() { return m_localfile->isChecked(); } + bool globalfile() { return m_globalfile->isChecked(); } + void clipboard(bool _b) { m_clipboard->setChecked(_b); } + void localfile(bool _b) { m_localfile->setChecked(_b); } + void globalfile(bool _b) { m_globalfile->setChecked(_b); } + +}; +#endif // CPREFS_H |