Companion new error detected on flash (when no device found)
This commit is contained in:
@@ -28,31 +28,37 @@
|
||||
#include <QFile>
|
||||
|
||||
namespace Ui {
|
||||
class downloadDialog;
|
||||
class DownloadDialog;
|
||||
}
|
||||
|
||||
class downloadDialog : public QDialog
|
||||
class DownloadDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit downloadDialog(QWidget *parent = 0, QString src = "", QString tgt = "");
|
||||
~downloadDialog();
|
||||
public:
|
||||
explicit DownloadDialog(QWidget *parent = 0, QString src = "", QString tgt = "");
|
||||
|
||||
~DownloadDialog();
|
||||
|
||||
public slots:
|
||||
|
||||
virtual void reject() override;
|
||||
|
||||
private slots:
|
||||
private slots:
|
||||
|
||||
void fileError();
|
||||
|
||||
void httpFinished();
|
||||
|
||||
void httpReadyRead();
|
||||
|
||||
void updateDataReadProgress(qint64 bytesRead, qint64 totalBytes);
|
||||
|
||||
private:
|
||||
private:
|
||||
#if 0
|
||||
void closeEvent( QCloseEvent * event);
|
||||
void closeEvent(QCloseEvent * event);
|
||||
#endif
|
||||
Ui::downloadDialog *ui;
|
||||
Ui::DownloadDialog *ui;
|
||||
|
||||
QNetworkAccessManager qnam;
|
||||
QNetworkReply *reply;
|
||||
|
||||
Reference in New Issue
Block a user