kget
chunkdownloadmodel.cpp
Go to the documentation of this file.
34 ChunkDownloadModel::Item::Item(ChunkDownloadInterface* cd,const QString & files) : cd(cd),files(files)
virtual int rowCount(const QModelIndex &parent) const
Definition: chunkdownloadmodel.cpp:185
virtual bool removeRows(int row, int count, const QModelIndex &parent)
Definition: chunkdownloadmodel.cpp:253
virtual int columnCount(const QModelIndex &parent) const
Definition: chunkdownloadmodel.cpp:193
void changeTC(bt::TorrentInterface *tc)
change the current torrent
Definition: chunkdownloadmodel.cpp:151
void downloadAdded(bt::ChunkDownloadInterface *cd)
A peer has been added.
Definition: chunkdownloadmodel.cpp:101
virtual ~ChunkDownloadModel()
Definition: chunkdownloadmodel.cpp:96
bool changed(int col, bool &modified) const
Definition: chunkdownloadmodel.cpp:39
void downloadRemoved(bt::ChunkDownloadInterface *cd)
A download has been removed.
Definition: chunkdownloadmodel.cpp:134
virtual QVariant data(const QModelIndex &index, int role) const
Definition: chunkdownloadmodel.cpp:242
ChunkDownloadModel(QObject *parent)
Definition: chunkdownloadmodel.cpp:88
bool lessThan(int col, const Item *other) const
Definition: chunkdownloadmodel.cpp:73
QVariant data(int col) const
Definition: chunkdownloadmodel.cpp:60
virtual bool insertRows(int row, int count, const QModelIndex &parent)
Definition: chunkdownloadmodel.cpp:260
void sort(int col, Qt::SortOrder order)
Definition: chunkdownloadmodel.cpp:285
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: chunkdownloadmodel.cpp:234
bt::ChunkDownloadInterface::Stats stats
Definition: chunkdownloadmodel.h:76
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: chunkdownloadmodel.cpp:201
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.