rsyncui/downloadfile.h
2023-01-22 14:33:23 +01:00

28 lines
442 B
C++

#ifndef DOWNLOADFILE_H
#define DOWNLOADFILE_H
#include <QObject>
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
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