gwenhywfar  5.11.1beta
qt4dialogbox.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Tue Feb 16 2010
3  copyright : (C) 2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 
11 #ifndef QT4_DIALOGBOX_H
12 #define QT4_DIALOGBOX_H
13 
14 #include <QDialog>
15 
16 
17 class QT4_GuiDialog;
18 
19 
20 class QT4_DialogBox: public QDialog {
21  Q_OBJECT
22 public:
23  QT4_DialogBox(QT4_GuiDialog *dialog, QWidget *parent=0, bool modal=FALSE, Qt::WindowFlags f=0);
24  virtual ~QT4_DialogBox();
25 
26  void accept();
27  void reject();
28 
29  int cont();
30 
31  void closeEvent(QCloseEvent *e);
32 
34 
35 public slots:
36  void slotActivated();
38 
39 protected:
40  QT4_GuiDialog *_dialog;
41 };
42 
43 
44 
45 #endif
46 
void slotActivated()
void slotValueChanged()
QT4_GuiDialog * _dialog
QT4_DialogBox(QT4_GuiDialog *dialog, QWidget *parent=0, bool modal=FALSE, Qt::WindowFlags f=0)
virtual ~QT4_DialogBox()
void closeEvent(QCloseEvent *e)
void unlinkFromDialog()