Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
waitingform.hpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #ifndef WAITINGFORM_H
12 #define WAITINGFORM_H
13 
14 #include <QDialog>
15 #include "core.hpp"
16 
17 namespace Ui
18 {
19  class WaitingForm;
20 }
21 
22 namespace Huggle
23 {
24  //! This is universal form that is just displaying the progress bar and reason why we need to wait
25  class WaitingForm : public QDialog
26  {
27  Q_OBJECT
28 
29  public:
30  explicit WaitingForm(QWidget *parent = 0);
31  ~WaitingForm();
32  void Status(int progress, QString text);
33 
34  private:
35  Ui::WaitingForm *ui;
36  void reject();
37  };
38 }
39 
40 #endif // WAITINGFORM_H
This is universal form that is just displaying the progress bar and reason why we need to wait...
Definition: waitingform.hpp:25