]> Shamusworld >> Repos - architektonas/blob - src/forms/exitdialog.h
Fixed problem with MDI activation.
[architektonas] / src / forms / exitdialog.h
1 #ifndef __EXITDIALOG_H__
2 #define __EXITDIALOG_H__
3
4 #include "ui_exitdialog.h"
5
6 class ExitDialog: public QDialog
7 {
8         Q_OBJECT
9
10         public:
11                 ExitDialog(QWidget * parent = 0, Qt::WindowFlags flags = 0);
12                 ~ExitDialog();
13
14         public slots:
15                 void setText(const QString & text);
16                 void setTitle(const QString & text);
17                 void slotSaveAs();
18                 void slotSave();
19
20         private:
21                 void makeLetterAccel(QPushButton * btn);
22
23         private:
24                 Ui::ExitDialog ui;
25 };
26
27 #endif  // __EXITDIALOG_H__