rsyncui/downloadfile.h

26 lines
411 B
C++

#ifndef DOWNLOADFILE_H
#define DOWNLOADFILE_H
#include <QObject>
#include "ui_mainwindow.h"
class MainWindow;
class downloadFile : public QObject
{
Q_OBJECT
public:
downloadFile();
void download(MainWindow *parent = nullptr);
bool canceled;
signals:
void progressSignal(int);
void finishedSignal(bool = true);
public slots:
void cancelled(int pid);
};
#endif // DOWNLOADFILE_H