Gui::Dialog::DownloadModel Class Reference

#include <DownloadManager.h>

Public Member Functions

QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
 DownloadModel (DownloadManager *downloadManager, QObject *parent=0)
 
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 

Friends

class DownloadManager
 

Constructor & Destructor Documentation

◆ DownloadModel()

DownloadModel::DownloadModel ( DownloadManager downloadManager,
QObject parent = 0 
)

Member Function Documentation

◆ data()

QVariant DownloadModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

◆ removeRows()

bool DownloadModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)

◆ rowCount()

int DownloadModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Referenced by data().

Friends And Related Function Documentation

◆ DownloadManager

friend class DownloadManager
friend

The documentation for this class was generated from the following files:
  • src/Gui/DownloadManager.h
  • src/Gui/DownloadManager.cpp