kget
#include <kgetkjobadapter.h>
Public Slots | |
void | slotUpdateDescription () |
Signals | |
void | requestResume (KJob *job, TransferHandler *handler) |
void | requestStop (KJob *job, TransferHandler *handler) |
void | requestSuspend (KJob *job, TransferHandler *handler) |
Public Member Functions | |
KGetKJobAdapter (QObject *parent, TransferHandler *transfer) | |
~KGetKJobAdapter () | |
unsigned long | percent () const |
qulonglong | processedAmount (Unit unit) const |
void | start () |
qulonglong | totalAmount (Unit unit) const |
Protected Member Functions | |
virtual bool | doKill () |
virtual bool | doResume () |
virtual bool | doSuspend () |
Detailed Description
Allows kget to register all transfers in kuiserver as kjobs.
Definition at line 23 of file kgetkjobadapter.h.
Constructor & Destructor Documentation
KGetKJobAdapter::KGetKJobAdapter | ( | QObject * | parent, |
TransferHandler * | transfer | ||
) |
Definition at line 15 of file kgetkjobadapter.cpp.
KGetKJobAdapter::~KGetKJobAdapter | ( | ) |
Definition at line 22 of file kgetkjobadapter.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 55 of file kgetkjobadapter.cpp.
|
protectedvirtual |
Definition at line 72 of file kgetkjobadapter.cpp.
|
protectedvirtual |
Definition at line 62 of file kgetkjobadapter.cpp.
unsigned long KGetKJobAdapter::percent | ( | ) | const |
Definition at line 38 of file kgetkjobadapter.cpp.
qulonglong KGetKJobAdapter::processedAmount | ( | Unit | unit | ) | const |
Definition at line 26 of file kgetkjobadapter.cpp.
|
signal |
|
signal |
Emitted when doKill is called, e.g.
when the gui is closed. Not handling this signal might lead to a crash if something tries to access the then non-existing gui.
|
signal |
|
slot |
Definition at line 43 of file kgetkjobadapter.cpp.
|
inline |
Definition at line 30 of file kgetkjobadapter.h.
qulonglong KGetKJobAdapter::totalAmount | ( | Unit | unit | ) | const |
Definition at line 32 of file kgetkjobadapter.cpp.
The documentation for this class was generated from the following files:
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.