#include <filesform.h>
|
| Model (QObject *parent=nullptr) |
|
| ~Model ()=default |
|
void | onFileUpdated (const ToxFile &file) |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
|
Definition at line 64 of file filesform.h.
◆ Model()
FileTransferList::Model::Model |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~Model()
FileTransferList::Model::~Model |
( |
| ) |
|
|
default |
◆ cancel
void FileTransferList::Model::cancel |
( |
ToxFile |
file | ) |
|
|
signal |
◆ columnCount()
int FileTransferList::Model::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant FileTransferList::Model::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ headerData()
QVariant FileTransferList::Model::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ onFileUpdated()
void FileTransferList::Model::onFileUpdated |
( |
const ToxFile & |
file | ) |
|
◆ rowCount()
int FileTransferList::Model::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
bool FileTransferList::Model::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
◆ togglePause
void FileTransferList::Model::togglePause |
( |
ToxFile |
file | ) |
|
|
signal |
◆ files
std::vector<ToxFile> FileTransferList::Model::files |
|
private |
◆ idToRow
QHash<QByteArray , int > FileTransferList::Model::idToRow |
|
private |
The documentation for this class was generated from the following files: