first commit
This commit is contained in:
24
downloadfile.h
Normal file
24
downloadfile.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef DOWNLOADFILE_H
|
||||
#define DOWNLOADFILE_H
|
||||
|
||||
#include <QObject>
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
class MainWindow;
|
||||
|
||||
class downloadFile : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
downloadFile();
|
||||
void download(QString savePath, MainWindow *parent = nullptr);
|
||||
bool canceled;
|
||||
|
||||
signals:
|
||||
void progressSignal(int);
|
||||
|
||||
public slots:
|
||||
void cancelled();
|
||||
};
|
||||
|
||||
#endif // DOWNLOADFILE_H
|
Reference in New Issue
Block a user