src/prompts.h

changeset 37
c82a86ea87be
parent 30
6b82f6a3ad53
child 39
2c368cf5cc19
equal deleted inserted replaced
36:b8fa9171be6e 37:c82a86ea87be
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();
54 54
55 public: 55 public:
56 explicit FindFilePrompt (QWidget* parent = 0, Qt::WindowFlags f = 0); 56 explicit FindFilePrompt (QWidget* parent = 0, Qt::WindowFlags f = 0);
57 virtual ~FindFilePrompt(); 57 virtual ~FindFilePrompt();
58 58
59 str path() const; 59 QString path() const;
60 60
61 public slots: 61 public slots:
62 void findDemo(); 62 void findDemo();
63 63
64 private: 64 private:

mercurial