diff options
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -16,7 +16,7 @@ class Gui : public QDialog { Q_OBJECT public: - explicit Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, QWidget *parent = nullptr); + explicit Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, const QString &statusFile, QWidget *parent = nullptr); ~Gui(); protected: @@ -29,6 +29,9 @@ private slots: private: void setupUi(); void updateButtons(); + void readDnbd3Status(); + void queryRemoteStatus(); + void setProgressState(const QString &title, int percent, const QString &err); QNetworkAccessManager *_nam; QVBoxLayout *_itemBox; @@ -41,6 +44,8 @@ private: QHash<QString, Progress*> _items; QLabel *_status; int _dnbd3pid; + QString _statusFile; + int _totalClusters; }; #endif |