warningdialog.h
author insilmaril
Mon Oct 06 11:10:20 2008 +0000 (2008-10-06)
changeset 726 7f43b93242aa
parent 388 3a58c9ef4a18
permissions -rw-r--r--
Various fixes, also from 1.12. branch
     1 #ifndef WARNINGDIALOG_H
     2 #define WARNINGDIALOG_H
     3 
     4 #include "ui_warningdialog.h"
     5 
     6 class WarningDialog : public QDialog
     7 {
     8     Q_OBJECT
     9 
    10 public:
    11     WarningDialog(QWidget* parent = 0);
    12 	int exec();
    13 
    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 );
    19 
    20 private:
    21     void init();
    22     bool useShowAgain;
    23     QString showAgainName;
    24 	Ui::WarningDialog ui;
    25 
    26 };
    27 
    28 #endif // WARNINGDIALOG_H