kget
transferhandler.h
Go to the documentation of this file.
123 QHash<KUrl, QPair<bool, int> > availableMirrors(const KUrl &file) const {return m_transfer->availableMirrors(file);}
130 void setAvailableMirrors(const KUrl &file, const QHash<KUrl, QPair<bool, int> > &mirrors) {m_transfer->setAvailableMirrors(file, mirrors);}
172 void setUploadLimit(int ulLimit, Transfer::SpeedLimit limit) {m_transfer->setUploadLimit(ulLimit, limit);}
179 void setDownloadLimit(int dlLimit, Transfer::SpeedLimit limit) {m_transfer->setDownloadLimit(dlLimit, limit);}
virtual Verifier * verifier(const KUrl &file)
Definition: transferhandler.h:278
ChangesFlags changesFlags()
Definition: transfergrouphandler.cpp:119
Definition: transfergrouphandler.h:30
virtual QVariant data(int column)=0
virtual void start()=0
Definition: transfertreemodel.h:108
void setUploadLimit(int ulLimit, Transfer::SpeedLimit limit)
Set an UploadLimit for the transfer.
Definition: transferhandler.h:172
void setDownloadLimit(int dlLimit, Transfer::SpeedLimit limit)
Set a DownloadLimit for the transfer.
Definition: transferhandler.h:179
virtual Signature * signature(const KUrl &file)
Definition: transferhandler.h:284
Definition: handler.h:17
int uploadLimit(Transfer::SpeedLimit limit) const
Definition: transferhandler.h:184
int downloadedSize() const
Definition: transfergrouphandler.h:95
void setAvailableMirrors(const KUrl &file, const QHash< KUrl, QPair< bool, int > > &mirrors)
Set the mirrors, int the number of paralell connections to the mirror bool if the mirror should be us...
Definition: transferhandler.h:130
Allows kget to register all transfers in kuiserver as kjobs.
Definition: kgetkjobadapter.h:23
void setMaximumShareRatio(double ratio)
Set the maximum share-ratio.
Definition: transferhandler.h:195
Definition: verifier.h:68
virtual void stop()=0
bool setDirectory(const KUrl &newDirectory)
Move the download to the new destination.
Definition: transferhandler.h:115
int downloadLimit(Transfer::SpeedLimit limit) const
Definition: transferhandler.h:189
Definition: job.h:73
Definition: nepomukhandler.h:24
TransferGroup::ChangesFlags ChangesFlags
Definition: transfergrouphandler.h:39
QHash< KUrl, QPair< bool, int > > availableMirrors(const KUrl &file) const
The mirrors that are available bool if it is used, int how many paralell connections are allowed to t...
Definition: transferhandler.h:123
Definition: transfer.h:36
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.