• Skip to content
  • Skip to link menu
KDE 4.2 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 39 of file chunkdownloadmodel.h.


Public Member Functions

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

Constructor & Destructor Documentation

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

Definition at line 85 of file chunkdownloadmodel.cpp.

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

Definition at line 91 of file chunkdownloadmodel.cpp.


Member Function Documentation

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

change the current torrent

Definition at line 140 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::clear (  ) 

Definition at line 147 of file chunkdownloadmodel.cpp.

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

Definition at line 177 of file chunkdownloadmodel.cpp.

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

Definition at line 202 of file chunkdownloadmodel.cpp.

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

A peer has been added.

Definition at line 95 of file chunkdownloadmodel.cpp.

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

A download has been removed.

Definition at line 124 of file chunkdownloadmodel.cpp.

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

Definition at line 185 of file chunkdownloadmodel.cpp.

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

Definition at line 222 of file chunkdownloadmodel.cpp.

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

Definition at line 215 of file chunkdownloadmodel.cpp.

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

Definition at line 169 of file chunkdownloadmodel.cpp.

bool kt::ChunkDownloadModel::update (  ) 

Update the model.

Returns:
true if the view needs to be sorted again

Definition at line 153 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
  • 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