--- a/src/partdownloader.h Thu Jan 04 19:40:52 2018 +0200 +++ b/src/partdownloader.h Thu Jan 04 19:44:26 2018 +0200 @@ -57,24 +57,24 @@ using RequestList = QList<PartDownloadRequest*>; - explicit PartDownloader (QWidget* parent = nullptr); + explicit PartDownloader(QWidget* parent = nullptr); virtual ~PartDownloader(); - void addFile (LDDocument* f); - QPushButton* button (Button i); - Q_SLOT void buttonClicked (QAbstractButton* btn); + void addFile(LDDocument* f); + QPushButton* button(Button i); + Q_SLOT void buttonClicked(QAbstractButton* btn); Q_SLOT void checkIfFinished(); void checkValidPath(); - void downloadFile (QString dest, QString url, bool primary); - void downloadFromPartsTracker (QString file); + void downloadFile(QString dest, QString url, bool primary); + void downloadFromPartsTracker(QString file); QString downloadPath(); bool isAborted() const; - void modifyDestination (QString& dest) const; + void modifyDestination(QString& dest) const; LDDocument* primaryFile() const; class QTableWidget* progressTable() const; - void setPrimaryFile (LDDocument* document); - void setSourceType (SourceType src); - Q_SLOT void sourceChanged (int i); + void setPrimaryFile(LDDocument* document); + void setSourceType(SourceType src); + Q_SLOT void sourceChanged(int i); SourceType sourceType() const; QString url();