warningdialog.h
author insilmaril
Mon Nov 20 12:12:02 2006 +0000 (2006-11-20)
changeset 404 53efc2562a7d
child 433 310f1d82cf89
permissions -rw-r--r--
historywindow moved to mainwindow. Started to get rid of Q3PtrList finally
insilmaril@388
     1
#ifndef WARNINGDIALOG_H
insilmaril@388
     2
#define WARNINGDIALOG_H
insilmaril@388
     3
insilmaril@388
     4
#include "ui_warningdialog.h"
insilmaril@388
     5
insilmaril@388
     6
class WarningDialog : public QDialog
insilmaril@388
     7
{
insilmaril@388
     8
    Q_OBJECT
insilmaril@388
     9
insilmaril@388
    10
public:
insilmaril@388
    11
    WarningDialog(QWidget* parent = 0);
insilmaril@388
    12
insilmaril@388
    13
public slots:
insilmaril@388
    14
    virtual void showCancelButton( bool b );
insilmaril@388
    15
    virtual void setShowAgainName( const QString & s );
insilmaril@388
    16
    virtual void setText( const QString & s );
insilmaril@388
    17
    virtual void setCaption( const QString & s );
insilmaril@388
    18
insilmaril@388
    19
private:
insilmaril@388
    20
    void init();
insilmaril@388
    21
    bool useShowAgain;
insilmaril@388
    22
    QString showAgainName;
insilmaril@388
    23
	Ui::WarningDialog ui;
insilmaril@388
    24
insilmaril@388
    25
};
insilmaril@388
    26
insilmaril@388
    27
#endif // WARNINGDIALOG_H