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

kget

  • kt
  • ChunkDownloadModel
Classes | Public Slots | Public Member Functions | List of all members
kt::ChunkDownloadModel Class Reference

#include <chunkdownloadmodel.h>

Inheritance diagram for kt::ChunkDownloadModel:
Inheritance graph
[legend]

Classes

struct  Item
 

Public Slots

void sort (int col, Qt::SortOrder order)
 

Public Member Functions

 ChunkDownloadModel (QObject *parent)
 
virtual ~ChunkDownloadModel ()
 
void changeTC (bt::TorrentInterface *tc)
 
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 QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) 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
 
void update ()
 

Detailed Description

Author

Definition at line 39 of file chunkdownloadmodel.h.

Constructor & Destructor Documentation

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

Definition at line 88 of file chunkdownloadmodel.cpp.

kt::ChunkDownloadModel::~ChunkDownloadModel ( )
virtual

Definition at line 96 of file chunkdownloadmodel.cpp.

Member Function Documentation

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

change the current torrent

Definition at line 151 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::clear ( )

Definition at line 159 of file chunkdownloadmodel.cpp.

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

Definition at line 193 of file chunkdownloadmodel.cpp.

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

Definition at line 242 of file chunkdownloadmodel.cpp.

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

A peer has been added.

Definition at line 101 of file chunkdownloadmodel.cpp.

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

A download has been removed.

Definition at line 134 of file chunkdownloadmodel.cpp.

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

Definition at line 201 of file chunkdownloadmodel.cpp.

QModelIndex kt::ChunkDownloadModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Definition at line 234 of file chunkdownloadmodel.cpp.

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

Definition at line 260 of file chunkdownloadmodel.cpp.

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

Definition at line 253 of file chunkdownloadmodel.cpp.

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

Definition at line 185 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::sort ( int  col,
Qt::SortOrder  order 
)
slot

Definition at line 285 of file chunkdownloadmodel.cpp.

void kt::ChunkDownloadModel::update ( )

Update the model.

Definition at line 166 of file chunkdownloadmodel.cpp.


The documentation for this class was generated from the following files:
  • chunkdownloadmodel.h
  • chunkdownloadmodel.cpp
This file is part of the KDE documentation.
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.

kget

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal