diff -r a40af6315ac6 -r 3a58c9ef4a18 warningdialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/warningdialog.h Thu Sep 14 11:38:18 2006 +0000 @@ -0,0 +1,27 @@ +#ifndef WARNINGDIALOG_H +#define WARNINGDIALOG_H + +#include "ui_warningdialog.h" + +class WarningDialog : public QDialog +{ + Q_OBJECT + +public: + WarningDialog(QWidget* parent = 0); + +public slots: + virtual void showCancelButton( bool b ); + virtual void setShowAgainName( const QString & s ); + virtual void setText( const QString & s ); + virtual void setCaption( const QString & s ); + +private: + void init(); + bool useShowAgain; + QString showAgainName; + Ui::WarningDialog ui; + +}; + +#endif // WARNINGDIALOG_H