kget
datasourcefactory.h
Go to the documentation of this file.
48 explicit DataSourceFactory(QObject *parent, const KUrl &dest = KUrl(), KIO::filesize_t size = 0, KIO::fileoffset_t segSize = 512000);
191 void slotFoundFileSize(TransferDataSource *source, KIO::filesize_t fileSize, const QPair<int,int> &segmentRange);
198 void finishedSegment(TransferDataSource *source, int segmentNumber, bool connectionFinished = true);
This class manages multiple DataSources and saves the received data to the file.
Definition: datasourcefactory.h:38
int maxMirrorsUsed() const
The maximum number of mirrors that will be used for downloading, default is 3.
Definition: datasourcefactory.h:81
This Class is an interface for inter-plugins data change.
Definition: transferdatasource.h:26
Transfer::Capabilities capabilities() const
The capabilities the DataSourceFactory supports.
Definition: datasourcefactory.h:55
void setMaxMirrorsUsed(int maxMirrorsUsed)
Change the maximum number off mirrors that will be used for downloading, if the download started alre...
Definition: datasourcefactory.h:87
KIO::filesize_t downloadedSize() const
Definition: datasourcefactory.h:72
bool downloadInitialized() const
Definition: datasourcefactory.h:159
Definition: verifier.h:68
bool doDownload() const
Returns whether the datasourcefactory should download the file or not, true by default.
Definition: datasourcefactory.h:141
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.