kget
bt::DataCheckerListener Class Reference
#include <datacheckerlistener.h>
Inheritance diagram for bt::DataCheckerListener:

Detailed Description
Definition at line 32 of file datacheckerlistener.h.
Public Member Functions | |
| DataCheckerListener (bool auto_import) | |
| virtual void | finished ()=0 |
| bool | isAutoImport () const |
| bool | isStopped () const |
| bool | needToStop () const |
| virtual void | progress (Uint32 num, Uint32 total)=0 |
| virtual void | status (Uint32 num_failed, Uint32 num_found, Uint32 num_downloaded, Uint32 num_not_downloaded)=0 |
| void | stop () |
| virtual | ~DataCheckerListener () |
Protected Attributes | |
| bool | auto_import |
Constructor & Destructor Documentation
| bt::DataCheckerListener::DataCheckerListener | ( | bool | auto_import | ) |
Definition at line 25 of file datacheckerlistener.cpp.
| bt::DataCheckerListener::~DataCheckerListener | ( | ) | [virtual] |
Definition at line 29 of file datacheckerlistener.cpp.
Member Function Documentation
| virtual void bt::DataCheckerListener::finished | ( | ) | [pure virtual] |
| bool bt::DataCheckerListener::isAutoImport | ( | ) | const [inline] |
| bool bt::DataCheckerListener::isStopped | ( | ) | const [inline] |
| bool bt::DataCheckerListener::needToStop | ( | ) | const [inline] |
Called when a chunk has been proccessed.
- Parameters:
-
num The number processed total The total number of pieces to process
Implemented in kt::ScanDlg.
| virtual void bt::DataCheckerListener::status | ( | Uint32 | num_failed, | |
| Uint32 | num_found, | |||
| Uint32 | num_downloaded, | |||
| Uint32 | num_not_downloaded | |||
| ) | [pure virtual] |
Called when a failed or dowloaded chunk is found.
- Parameters:
-
num_failed The number of failed chunks num_found The number of found chunks num_downloaded Number of downloaded chunks num_not_downloaded Number of not downloaded chunks
Implemented in kt::ScanDlg.
| void bt::DataCheckerListener::stop | ( | ) | [inline] |
Member Data Documentation
bool bt::DataCheckerListener::auto_import [protected] |
Definition at line 78 of file datacheckerlistener.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference