summaryrefslogtreecommitdiff
path: root/wizard/rootpartition.h
blob: 41b9df5140ac1ecb99967638c2f3a6336926d569 (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
30
31
#ifndef rootpartition_H
#define rootpartition_H

#include "ui_rootpartition.h"
#include "../backend.h"

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

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

#endif // rootpartition_H