kget
kt::ChunkDownloadModel Class Reference
#include <chunkdownloadmodel.h>
Inheritance diagram for kt::ChunkDownloadModel:

Detailed Description
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 | ) |
| 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 | ) |
| void kt::ChunkDownloadModel::downloadRemoved | ( | bt::ChunkDownloadInterface * | cd | ) |
| 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:
KDE 4.2 API Reference