warningdialog.h
changeset 404 53efc2562a7d
child 433 310f1d82cf89
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/warningdialog.h	Mon Nov 20 12:12:02 2006 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +#ifndef WARNINGDIALOG_H
     1.5 +#define WARNINGDIALOG_H
     1.6 +
     1.7 +#include "ui_warningdialog.h"
     1.8 +
     1.9 +class WarningDialog : public QDialog
    1.10 +{
    1.11 +    Q_OBJECT
    1.12 +
    1.13 +public:
    1.14 +    WarningDialog(QWidget* parent = 0);
    1.15 +
    1.16 +public slots:
    1.17 +    virtual void showCancelButton( bool b );
    1.18 +    virtual void setShowAgainName( const QString & s );
    1.19 +    virtual void setText( const QString & s );
    1.20 +    virtual void setCaption( const QString & s );
    1.21 +
    1.22 +private:
    1.23 +    void init();
    1.24 +    bool useShowAgain;
    1.25 +    QString showAgainName;
    1.26 +	Ui::WarningDialog ui;
    1.27 +
    1.28 +};
    1.29 +
    1.30 +#endif // WARNINGDIALOG_H