summaryrefslogtreecommitdiff
path: root/wizard/installation.h
blob: 020900706e5924781cf009c5bfca9b4a68168bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef installation_H
#define installation_H

#include "ui_installation.h"
#include "../backend.h"

class wpInstallation : public QWizardPage, Ui::wpInstallation
{
  Q_OBJECT

  public:
    wpInstallation(QWidget *parent = 0);
    void initializePage();
    void cleanupPage();
    bool isComplete() const;
    bool validatePage();
    
  private:
    Backend* backend;
    bool complete;
    void setComplete(bool c);
    
  private slots:
    void setProgress(int percent);
    void receivedCommand(QString command, QString args);
    void finishedCommand(QString command);
};

#endif // installation_H