kget
transferdatasource.h
Go to the documentation of this file.
37 NotResumeable
67 virtual void addSegments(const QPair<KIO::fileoffset_t, KIO::fileoffset_t> &segmentSize, const QPair<int, int> &segmentRange) = 0;
113 virtual QPair<int, int> split();//TODO should split also take the current running segment into account?
148 void foundFileSize(TransferDataSource *source, KIO::filesize_t fileSize, const QPair<int, int> &segmentRange);
198 void finishedSegment(TransferDataSource *source, int segmentNumber, bool connectionFinished = true);
KIO::filesize_t m_supposedSize
Definition: transferdatasource.h:244
ulong currentSpeed() const
returns the current speed of this data source
Definition: transferdatasource.h:82
This Class is an interface for inter-plugins data change.
Definition: transferdatasource.h:26
virtual void setSupposedSize(KIO::filesize_t supposedSize)
Set the size the server used for downloading should report.
Definition: transferdatasource.h:88
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.