author | insilmaril |
Fri, 11 Jul 2008 12:36:39 +0000 | |
changeset 715 | c7f2d53c98d1 |
parent 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);
12 int exec();
14 public slots:
15 virtual void showCancelButton( bool b );
16 virtual void setShowAgainName( const QString & s );
17 virtual void setText( const QString & s );
18 virtual void setCaption( const QString & s );
20 private:
21 void init();
22 bool useShowAgain;
23 QString showAgainName;
24 Ui::WarningDialog ui;
26 };
28 #endif // WARNINGDIALOG_H