]> Shamusworld >> Repos - architektonas/blob - exitdialog.h
d06ae3b216623bae1d8a12efa964f9ebbdd2ba00
[architektonas] / 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 setForce(bool force);
18                 void slotSaveAs();
19                 void slotSave();
20
21         private:
22                 void makeLetterAccel(QPushButton * btn);
23
24         private:
25                 Ui::ExitDialog ui;
26 };
27
28 #endif  // __EXITDIALOG_H__