author | insilmaril |
Thu Nov 16 10:07:11 2006 +0000 (2006-11-16) | |
changeset 399 | 190b3a70fabc |
child 433 | 310f1d82cf89 |
permissions | -rw-r--r-- |
1 #ifndef WARNINGDIALOG_H
2 #define WARNINGDIALOG_H
4 #include "ui_warningdialog.h"
6 class WarningDialog : public QDialog
7 {
8 Q_OBJECT
10 public:
11 WarningDialog(QWidget* parent = 0);
13 public slots:
14 virtual void showCancelButton( bool b );
15 virtual void setShowAgainName( const QString & s );
16 virtual void setText( const QString & s );
17 virtual void setCaption( const QString & s );
19 private:
20 void init();
21 bool useShowAgain;
22 QString showAgainName;
23 Ui::WarningDialog ui;
25 };
27 #endif // WARNINGDIALOG_H