• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

bt::SingleDataChecker

bt::SingleDataChecker Class Reference

#include <singledatachecker.h>

Inheritance diagram for bt::SingleDataChecker:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Joris Guisson

Data checker for single file torrents.

Definition at line 33 of file singledatachecker.h.


Public Member Functions

virtual void check (const QString &path, const Torrent &tor, const QString &dnddir, const BitSet &status)
 SingleDataChecker ()
virtual ~SingleDataChecker ()

Constructor & Destructor Documentation

bt::SingleDataChecker::SingleDataChecker (  ) 

Definition at line 33 of file singledatachecker.cpp.

bt::SingleDataChecker::~SingleDataChecker (  )  [virtual]

Definition at line 37 of file singledatachecker.cpp.


Member Function Documentation

void bt::SingleDataChecker::check ( const QString &  path,
const Torrent &  tor,
const QString &  dnddir,
const BitSet &  status 
) [virtual]

Check to see which chunks have been downloaded of a torrent, and which chunks fail.

The corresponding bitsets should be filled with this information. If anything goes wrong and Error should be thrown.

Parameters:
path path to the file or dir (this needs to end with the name suggestion of the torrent)
tor The torrent
dnddir DND dir, optional argument if we know this
status Current status of the torrent

Implements bt::DataChecker.

Definition at line 41 of file singledatachecker.cpp.


The documentation for this class was generated from the following files:
  • singledatachecker.h
  • singledatachecker.cpp

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal