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

kget

kt::ChunkDownloadModel

kt::ChunkDownloadModel Class Reference

#include <chunkdownloadmodel.h>

Inheritance diagram for kt::ChunkDownloadModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:

Definition at line 41 of file chunkdownloadmodel.h.


Public Member Functions

 ChunkDownloadModel (QObject *parent)
virtual ~ChunkDownloadModel ()
void downloadAdded (bt::ChunkDownloadInterface *cd)
void downloadRemoved (bt::ChunkDownloadInterface *cd)
void changeTC (bt::TorrentInterface *tc)
void update ()
void clear ()
virtual int rowCount (const QModelIndex &parent) const
virtual int columnCount (const QModelIndex &parent) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const
virtual QVariant data (const QModelIndex &index, int role) const
virtual bool removeRows (int row, int count, const QModelIndex &parent)
virtual bool insertRows (int row, int count, const QModelIndex &parent)

Constructor & Destructor Documentation

kt::ChunkDownloadModel::ChunkDownloadModel ( QObject *  parent  ) 

Definition at line 86 of file chunkdownloadmodel.cpp.

kt::ChunkDownloadModel::~ChunkDownloadModel (  )  [virtual]

Definition at line 92 of file chunkdownloadmodel.cpp.


Member Function Documentation

void kt::ChunkDownloadModel::downloadAdded ( bt::ChunkDownloadInterface *  cd  ) 

A peer has been added.

Definition at line 96 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::downloadRemoved ( bt::ChunkDownloadInterface *  cd  ) 

A download has been removed.

Definition at line 125 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::changeTC ( bt::TorrentInterface *  tc  ) 

change the current torrent

Definition at line 141 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::update (  ) 

Definition at line 154 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::clear (  ) 

Definition at line 148 of file chunkdownloadmodel.cpp.

int kt::ChunkDownloadModel::rowCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 165 of file chunkdownloadmodel.cpp.

int kt::ChunkDownloadModel::columnCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 173 of file chunkdownloadmodel.cpp.

QVariant kt::ChunkDownloadModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const [virtual]

Definition at line 181 of file chunkdownloadmodel.cpp.

QVariant kt::ChunkDownloadModel::data ( const QModelIndex &  index,
int  role 
) const [virtual]

Definition at line 198 of file chunkdownloadmodel.cpp.

bool kt::ChunkDownloadModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent 
) [virtual]

Definition at line 211 of file chunkdownloadmodel.cpp.

bool kt::ChunkDownloadModel::insertRows ( int  row,
int  count,
const QModelIndex &  parent 
) [virtual]

Definition at line 218 of file chunkdownloadmodel.cpp.


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

kget

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

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