kget
transferdetails.cpp
Go to the documentation of this file.
51 if (!details) { // the transfer factory doesn't override the details widget so use the generic one
58 void TransferDetails::slotTransferChanged(TransferHandler * transfer, TransferHandler::ChangesFlags flags)
69 frm.speedContentLabel->setText(i18n("Average speed: %1/s", KIO::convertSize(m_transfer->averageDownloadSped())));
74 frm.completedContentLabel->setText(i18n("%1 of %2", KIO::convertSize(m_transfer->downloadedSize()), KIO::convertSize(m_transfer->totalSize())));
Definition: transfer.h:52
The job is stopped, but this also indicates that it stopped because an error occurred.
Definition: job.h:47
void slotTransferChanged(TransferHandler *transfer, TransferHandler::ChangesFlags flags)
Definition: transferdetails.cpp:58
TransferDetails(TransferHandler *transfer)
Definition: transferdetails.cpp:21
Definition: transfer.h:53
Definition: job.h:43
static QWidget * detailsWidget(TransferHandler *transfer)
Definition: transferdetails.cpp:47
int averageDownloadSped() const
Definition: transferhandler.cpp:111
Definition: transfer.h:56
KIO::filesize_t downloadedSize() const
Definition: transferhandler.cpp:91
Definition: transfer.h:54
Definition: transfer.h:55
Definition: transfer.h:63
virtual QWidget * createDetailsWidget(TransferHandler *transfer)
Definition: transferfactory.cpp:44
Definition: transfer.h:51
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.