warningdialog.h
author insilmaril
Thu Nov 16 10:07:11 2006 +0000 (2006-11-16)
changeset 399 190b3a70fabc
child 433 310f1d82cf89
permissions -rw-r--r--
Version 1.8.59: More fixes in undo/redo area
     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 
    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 );
    18 
    19 private:
    20     void init();
    21     bool useShowAgain;
    22     QString showAgainName;
    23 	Ui::WarningDialog ui;
    24 
    25 };
    26 
    27 #endif // WARNINGDIALOG_H