summaryrefslogtreecommitdiff
path: root/client/DownloadClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/DownloadClient.h')
-rw-r--r--client/DownloadClient.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/client/DownloadClient.h b/client/DownloadClient.h
index 5b75c2c..0e6c510 100644
--- a/client/DownloadClient.h
+++ b/client/DownloadClient.h
@@ -14,7 +14,7 @@ using std::vector;
class QFile;
-class DownloadClient: public SslClient
+class DownloadClient: public SslClient
{
Q_OBJECT
@@ -50,23 +50,15 @@ public:
* it's quite unsuitable to iterate through(
*/
void Download(const vector<pair<string, string> > &files);
-
+
signals:
/**
* @brief This signal is emitted when all files have been downloaded
*/
void downloadFinished();
-private slots:
- void FileDataRecieved(SslClient::RequestType &type, QByteArray &confdata);
-
private:
/**
- * @brief size of file data fragment
- */
- static const int FRAGMENT_SIZE = 4096;
-
- /**
* @brief indicates that program is downloading file(s) right now
*/
bool isDownloading;
@@ -90,6 +82,9 @@ private:
* @brief start file-by-file downloading process
*/
void DoDownload();
+
+private slots:
+ void FileDataRecieved(SslClient::RequestType &type, QByteArray &confdata);
};
#endif