kget
transfer.h
Go to the documentation of this file.
49 Tc_None = 0x00000000,
50 // These flags respect the Model columns order NOTE: The model only checks the last 8 bits, so all values which need to be updated by the model should look like: 0x000000xx
51 Tc_Source = 0x00000001,
52 Tc_FileName = 0x00000002,
53 Tc_Status = 0x00000004,
54 Tc_TotalSize = 0x00000008,
55 Tc_Percent = 0x00000010,
56 Tc_DownloadSpeed = 0x00000020,
57 Tc_RemainingTime = 0x00000040,
59 Tc_UploadSpeed = 0x00000100,
60 Tc_UploadLimit = 0x00000200,
61 Tc_DownloadLimit = 0x00000400,
62 Tc_CanResume = 0x00000800,
63 Tc_DownloadedSize = 0x00001000,
64 Tc_UploadedSize = 0x00002000,
65 Tc_Log = 0x00004000,
66 Tc_Group = 0x00008000,
67 Tc_Selection = 0x00010000
72 Cap_SpeedLimit = 0x00000001,
73 Cap_MultipleMirrors = 0x00000002,
74 Cap_Resuming = 0x00000004,
75 Cap_Renaming = 0x00000008,
76 Cap_Moving = 0x00000010,
77 Cap_FindFilesize = 0x00000020
85 Log_Error
90 VisibleSpeedLimit = 0x01,
91 InvisibleSpeedLimit = 0x02
96 DeleteTemporaryFiles = 0x00000001,
97 DeleteFiles = 0x00000002
173 QPixmap statusPixmap() const {return (error().pixmap.isNull() ? m_statusPixmap : error().pixmap);}
182 virtual int remainingTime() const {return KIO::calculateRemainingSeconds(totalSize(), downloadedSize(), downloadSpeed());}
200 virtual void setAvailableMirrors(const KUrl &file, const QHash<KUrl, QPair<bool, int> > &mirrors) {Q_UNUSED(file) Q_UNUSED(mirrors)}
335 void setStatus(Job::Status jobStatus, const QString &text = QString(), const QPixmap &pix = QPixmap());
353 virtual void setSpeedLimits(int uploadLimit, int downloadLimit) {Q_UNUSED(uploadLimit) Q_UNUSED(downloadLimit) }
Definition: transfer.h:83
virtual void setSpeedLimits(int uploadLimit, int downloadLimit)
Function used to set the SpeedLimits to the transfer.
Definition: transfer.h:353
Definition: transfer.h:84
Definition: transfertreemodel.h:108
TransferChange
Here we define the flags that should be shared by all the transfers.
Definition: transfer.h:47
Definition: job.h:43
virtual void deinit(DeleteOptions options)
This function is called before the deletion of a Transfer In transfer plugins you can put here whatev...
Definition: transfer.h:138
Definition: verifier.h:68
virtual int elapsedTime() const =0
Definition: nepomukhandler.h:24
virtual 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: transfer.h:200
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.