2020-02-20 Fred Gleason <fredg@paravelsystems.com>

* Rebased 'RDDownload' to 'RDTransfer'.
This commit is contained in:
Fred Gleason
2020-02-20 18:44:28 -05:00
parent a75850637f
commit b4be9a8cf6
3 changed files with 29 additions and 12 deletions

View File

@@ -21,12 +21,12 @@
#ifndef RDDOWNLOAD_H
#define RDDOWNLOAD_H
#include <qobject.h>
#include <qurl.h>
#include <rdconfig.h>
#include <rdtransfer.h>
class RDDownload : public QObject
class RDDownload : public RDTransfer
{
Q_OBJECT;
public:
@@ -37,6 +37,7 @@ class RDDownload : public QObject
ErrorInvalidLogin=11,ErrorRemoteAccess=12,
ErrorRemoteConnection=13};
RDDownload(RDConfig *config,QObject *parent=0);
QStringList supportedSchemes() const;
void setSourceUrl(const QString &url);
void setDestinationFile(const QString &filename);
int totalSteps() const;
@@ -60,7 +61,6 @@ class RDDownload : public QObject
QString conv_dst_filename;
bool conv_aborting;
uint conv_dst_size;
RDConfig *conv_config;
};