summaryrefslogtreecommitdiff
path: root/wizard/bootloader.h
blob: 87bcd4feb514c96ab06344161c07502e37461f00 (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
#ifndef bootloader_H
#define bootloader_H

#include "ui_bootloader.h"
#include "../backend.h"

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

  public:
    wpBootloader(QWidget *parent = 0);
    void initializePage();
    void clearPage();
    bool isComplete() const;
    bool validatePage();
    
  private:
    Backend* backend;
    
  private slots:
    void receivedDataLine(QString data, QString line);
    void backendFinishedCommand(QString command);
    void updateComplete();
    
};

#endif // bootloader_H