|
1 #ifndef PROMPTS_H |
|
2 #define PROMPTS_H |
|
3 |
|
4 #include <QDialog> |
|
5 #include "main.h" |
|
6 #include "types.h" |
|
7 |
|
8 class QAbstractButton; |
|
9 class Ui_UnknownVersion; |
|
10 |
|
11 class UnknownVersionPrompt : public QDialog { |
|
12 Q_OBJECT |
|
13 |
|
14 public: |
|
15 explicit UnknownVersionPrompt (str fileName, str binaryName, bool isRelease, |
|
16 QWidget* parent = null, Qt::WindowFlags f = 0); |
|
17 virtual ~UnknownVersionPrompt(); |
|
18 |
|
19 public slots: |
|
20 void findBinary(); |
|
21 void addBinary(); |
|
22 |
|
23 private: |
|
24 Ui_UnknownVersion* ui; |
|
25 QString m_binaryString; |
|
26 bool m_isRelease; |
|
27 }; |
|
28 |
|
29 #endif // PROMPTS_H |