kget
#include <transfergrouphandler.h>
Definition at line 30 of file transfergrouphandler.h.
TransferGroupHandler::~TransferGroupHandler |
( |
| ) |
|
const QList< QAction * > & TransferGroupHandler::actions |
( |
| ) |
|
- Returns
- a pointer to a QObjectInterface object which is a QObject by means of which you can connect signals and slots for this transfer group.
Definition at line 148 of file transfergrouphandler.cpp.
void TransferGroupHandler::calculateDownloadLimit |
( |
| ) |
|
|
inline |
void TransferGroupHandler::calculateSpeedLimits |
( |
| ) |
|
|
inline |
void TransferGroupHandler::calculateUploadLimit |
( |
| ) |
|
|
inline |
int TransferGroupHandler::columnCount |
( |
| ) |
const |
|
inline |
QVariant TransferGroupHandler::data |
( |
int |
column | ) |
|
|
virtual |
QString TransferGroupHandler::defaultFolder |
( |
| ) |
|
|
inline |
int TransferGroupHandler::downloadedSize |
( |
| ) |
const |
|
inline |
- Returns
- the sum of the downloaded sizes of the transfers belonging to this group
Definition at line 95 of file transfergrouphandler.h.
int TransferGroupHandler::downloadSpeed |
( |
| ) |
const |
|
inline |
- Returns
- the sum of the download speeds of the running transfers belonging this group
Definition at line 112 of file transfergrouphandler.h.
QString TransferGroupHandler::iconName |
( |
| ) |
const |
|
inline |
- Returns
- the index for the given transfer. If the transfer can't be found, it returns -1
Definition at line 129 of file transfergrouphandler.cpp.
Moves a list of transfers belonging to this group to a new position, after the transfer named "after".
All the transfers must belong to this group
- Parameters
-
transfers | The transfers to be be moved |
after | The transfer after which the given transfers should be moved |
Definition at line 50 of file transfergrouphandler.cpp.
const QString& TransferGroupHandler::name |
( |
| ) |
|
|
inline |
int TransferGroupHandler::percent |
( |
| ) |
const |
|
inline |
QPixmap TransferGroupHandler::pixmap |
( |
| ) |
|
|
inline |
QRegExp TransferGroupHandler::regExp |
( |
| ) |
|
|
inline |
void TransferGroupHandler::setDefaultFolder |
( |
QString |
folder | ) |
|
|
inline |
Set a default Folder for the group.
- Parameters
-
folder | the new default folder |
Definition at line 129 of file transfergrouphandler.h.
Set a Download-Limit for the group.
- Parameters
-
limit | the new download-limit |
- Note
- if limit is 0, no download-limit is set
Definition at line 165 of file transfergrouphandler.h.
void TransferGroupHandler::setIconName |
( |
const QString & |
name | ) |
|
|
inline |
void TransferGroupHandler::setMaxSimultaneousJobs |
( |
int |
n | ) |
|
Sets the maximum number of jobs belonging to this queue that should executed simultaneously by the scheduler.
- Parameters
-
n | The maximum number of jobs |
void TransferGroupHandler::setName |
( |
const QString & |
name | ) |
|
void TransferGroupHandler::setRegExp |
( |
const QRegExp & |
regexp | ) |
|
|
inline |
Sets the regular expression of the group.
- Parameters
-
regexp | the regular expression |
Definition at line 140 of file transfergrouphandler.h.
Set a Upload-Limit for the group.
- Parameters
-
limit | the new upload-limit |
- Note
- this will not be displayed in the GUI
Definition at line 177 of file transfergrouphandler.h.
int TransferGroupHandler::size |
( |
| ) |
|
|
inline |
void TransferGroupHandler::start |
( |
| ) |
|
|
slot |
void TransferGroupHandler::stop |
( |
| ) |
|
|
slot |
int TransferGroupHandler::totalSize |
( |
| ) |
const |
|
inline |
- Returns
- the sum of the sizes of the transfers belonging to this group
Definition at line 89 of file transfergrouphandler.h.
int TransferGroupHandler::uploadedSize |
( |
| ) |
const |
|
inline |
- Returns
- the sum of the uploaded sizes of the transfers belonging to this group
Definition at line 101 of file transfergrouphandler.h.
int TransferGroupHandler::uploadSpeed |
( |
| ) |
const |
|
inline |
- Returns
- the sum of the upload speeds of the running transfers belonging this group
Definition at line 118 of file transfergrouphandler.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.