kget
iwfiletreemodel.cpp
Go to the documentation of this file.
101 if (role == Qt::ForegroundRole && index.column() == 2 && tc->getStats().multi_file_torrent && n->file)
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: torrentfiletreemodel.cpp:369
void filePercentageChanged(bt::TorrentFileInterface *file, float percentage)
Definition: iwfiletreemodel.cpp:271
bool isValid() const
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
Definition: torrentfiletreemodel.cpp:576
int toInt(bool *ok) const
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
void initPercentage(const bt::TorrentInterface *tc, const bt::BitSet &havechunks)
Definition: torrentfiletreemodel.cpp:166
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: iwfiletreemodel.cpp:60
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: torrentfiletreemodel.cpp:452
int row() const
Model for displaying file trees of a torrent.
Definition: torrentfiletreemodel.h:42
void * internalPointer() const
bt::TorrentFileInterface * file
Definition: torrentfiletreemodel.h:49
QModelIndex parent() const
virtual int columnCount(const QModelIndex &parent) const
Definition: iwfiletreemodel.cpp:55
QModelIndex createIndex(int row, int column, void *ptr) const
QModelIndex child(int row, int column) const
QList< Node * > children
Definition: torrentfiletreemodel.h:51
static QString PriorityString(const bt::TorrentFileInterface *file)
Definition: iwfilelistmodel.cpp:74
virtual QVariant data(const QModelIndex &index, int role) const
Definition: iwfiletreemodel.cpp:92
void filePreviewChanged(bt::TorrentFileInterface *file, bool preview)
Definition: iwfiletreemodel.cpp:277
int column() const
QObject * parent() const
virtual QVariant data(const QModelIndex &index, int role) const
Definition: torrentfiletreemodel.cpp:383
QString toString() const
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
Definition: iwfiletreemodel.cpp:232
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.