Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

URLDialog.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Form interface generated from reading ui file 'Prefs.ui'
00003 **
00004 ** Created: Tue Feb 11 23:53:32 2003
00005 **      by:  The User Interface Compiler (uic)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 ****************************************************************************/
00009 #ifndef __URLDIALOG_H
00010 #define __URLDIALOG_H
00011 
00012 #include <qvariant.h>
00013 #include <qwidget.h>
00014 #include <qtabdialog.h>
00015 #include <qtabwidget.h>
00016 #include <qspinbox.h>
00017 #include <qcheckbox.h>
00018 #include <qcombobox.h>
00019 #include <qlineedit.h>
00020 //#include <qpe/menubutton.h>
00021 #include <qvbuttongroup.h>
00022 
00023 class QVBoxLayout; 
00024 class QHBoxLayout; 
00025 class QGridLayout; 
00026 //class QCheckBox;
00027 class QLabel;
00028 //class QSpinBox;
00029 
00030 class CURLDialog : public QDialog
00031 {
00032 Q_OBJECT
00033     QCheckBox *m_localfile, *m_globalfile, *m_clipboard;
00034 #ifndef USEQPE
00035     void keyPressEvent(QKeyEvent* e)
00036         {
00037             switch (e->key())
00038             {
00039                 case Key_Escape:
00040                     e->accept();
00041                     reject();
00042                     break;
00043                 case Key_Space:
00044                 case Key_Return:
00045                     e->accept();
00046                     accept();
00047                     break;
00048                 default:
00049                     QWidget::keyPressEvent(e);
00050             }
00051         }
00052 #endif
00053  public:
00054  CURLDialog(const QString&, bool fs = true, QWidget* parent = 0, const char* name = 0);
00055     ~CURLDialog() {}
00056     bool clipboard() { return m_clipboard->isChecked(); }
00057     bool localfile() { return m_localfile->isChecked(); }
00058     bool globalfile() { return m_globalfile->isChecked(); }
00059     void clipboard(bool _b) { m_clipboard->setChecked(_b); }
00060     void localfile(bool _b) { m_localfile->setChecked(_b); }
00061     void globalfile(bool _b) { m_globalfile->setChecked(_b); }
00062 
00063 };
00064 #endif // CPREFS_H

Generated on Sat Nov 5 16:16:59 2005 for OPIE by  doxygen 1.4.2