gwenhywfar
4.3.1
|
00001 /*************************************************************************** 00002 begin : Tue Feb 16 2010 00003 copyright : (C) 2010 by Martin Preuss 00004 email : martin@libchipcard.de 00005 00006 *************************************************************************** 00007 * Please see toplevel file COPYING for license details * 00008 ***************************************************************************/ 00009 00010 00011 #ifndef QT4_DIALOGBOX_H 00012 #define QT4_DIALOGBOX_H 00013 00014 #include <QDialog> 00015 00016 00017 class QT4_GuiDialog; 00018 00019 00020 class QT4_DialogBox: public QDialog { 00021 Q_OBJECT 00022 public: 00023 QT4_DialogBox(QT4_GuiDialog *dialog, QWidget *parent=0, bool modal=FALSE, Qt::WindowFlags f=0); 00024 virtual ~QT4_DialogBox(); 00025 00026 void accept(); 00027 void reject(); 00028 00029 int cont(); 00030 00031 void closeEvent(QCloseEvent *e); 00032 00033 void unlinkFromDialog(); 00034 00035 public slots: 00036 void slotActivated(); 00037 void slotValueChanged(); 00038 00039 protected: 00040 QT4_GuiDialog *_dialog; 00041 }; 00042 00043 00044 00045 #endif 00046