1 /* |
1 /* |
2 * ZCinema: Zandronum demo launcher |
2 * ZCinema: Zandronum demo launcher |
3 * Copyright (C) 2013 Santeri Piippo |
3 * Copyright (C) 2013-2015 Teemu Piippo |
4 * |
4 * |
5 * This program is free software: you can redistribute it and/or modify |
5 * This program is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License as published by |
6 * it under the terms of the GNU General Public License as published by |
7 * the Free Software Foundation, either version 3 of the License, or |
7 * the Free Software Foundation, either version 3 of the License, or |
8 * (at your option) any later version. |
8 * (at your option) any later version. |
31 // ----------------------------------------------------------------------------- |
31 // ----------------------------------------------------------------------------- |
32 class UnknownVersionPrompt : public QDialog { |
32 class UnknownVersionPrompt : public QDialog { |
33 Q_OBJECT |
33 Q_OBJECT |
34 |
34 |
35 public: |
35 public: |
36 explicit UnknownVersionPrompt (str fileName, str binaryName, bool isRelease, |
36 explicit UnknownVersionPrompt (QString fileName, QString binaryName, bool isRelease, |
37 QWidget* parent = null, Qt::WindowFlags f = 0); |
37 QWidget* parent = NULL, Qt::WindowFlags f = 0); |
38 virtual ~UnknownVersionPrompt(); |
38 virtual ~UnknownVersionPrompt(); |
39 |
39 |
40 public slots: |
40 public slots: |
41 void findBinary(); |
41 void findBinary(); |
42 void addBinary(); |
42 void addBinary(); |