diff -r 000000000000 -r 53efc2562a7d warningdialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/warningdialog.h Mon Nov 20 12:12:02 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