kget
btcache.h
Go to the documentation of this file.
133 virtual bool hasMissingFiles(QStringList & sl) {return false;} //We never have missing files, cause we don't have files :P
147 virtual Uint64 diskUsage() {return 0;};//We always use 0 Bytes on HDD, cause we don't write to HDD
virtual void downloadStatusChanged(TorrentFile *, bool)
Does nothing, can be overridden to be alerted of download status changes of a TorrentFile.
Definition: btcache.h:121
virtual void changeOutputPath(const QString &outputpath)
Changes output path.
Definition: btcache.h:69
virtual bt::PieceData * preparePiece(bt::Chunk *, bt::Uint32, bt::Uint32)
Definition: btcache.h:141
virtual bool hasMissingFiles(QStringList &sl)
Test all files and see if they are not missing.
Definition: btcache.h:133
Definition: btcache.h:156
virtual void moveDataFilesFinished(KJob *job)
A move of a bunch of data files has finished.
Definition: btcache.h:82
virtual Uint64 diskUsage()
Get the number of bytes all the files of this torrent are currently using on disk.
Definition: btcache.h:147
virtual bt::PieceData * loadPiece(bt::Chunk *, bt::Uint32, bt::Uint32)
Definition: btcache.h:140
virtual KJob * moveDataFiles(const QString &ndir)
Move the data files to a new directory.
Definition: btcache.h:76
virtual KJob * deleteDataFiles()
Delete all data files, in case of multi file torrents empty directories should also be deleted...
Definition: btcache.h:139
virtual void preallocateDiskSpace(PreallocationThread *prealloc)
Preallocate diskspace for all files.
Definition: btcache.h:127
Definition: btcache.h:33
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.