rsyncui/downloadfile.h

26 lines
411 B
C
Raw Normal View History

2023-01-07 12:44:45 +01:00
#ifndef DOWNLOADFILE_H
#define DOWNLOADFILE_H
#include <QObject>
#include "ui_mainwindow.h"
class MainWindow;
class downloadFile : public QObject
{
Q_OBJECT
public:
downloadFile();
2023-01-12 09:23:45 +01:00
void download(MainWindow *parent = nullptr);
2023-01-07 12:44:45 +01:00
bool canceled;
signals:
void progressSignal(int);
2023-01-12 09:23:45 +01:00
void finishedSignal(bool = true);
2023-01-07 12:44:45 +01:00
public slots:
2023-01-12 09:23:45 +01:00
void cancelled(int pid);
2023-01-07 12:44:45 +01:00
};
#endif // DOWNLOADFILE_H