Falkon Develop
Cross-platform Qt-based web browser
DownloadManagerModel Class Reference

#include <downloadmanagermodel.h>

Inheritance diagram for DownloadManagerModel:

Signals

void downloadAdded (DownloadItem *item)
 
void downloadRemoved (DownloadItem *item)
 

Public Member Functions

 DownloadManagerModel (QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent) const
 
QVariant data (const QModelIndex &index, int role) const
 
void addDownload (DownloadItem *item)
 
void removeDownload (DownloadItem *item)
 
int count () const
 
DownloadItemat (int index)
 

Detailed Description

Definition at line 24 of file downloadmanagermodel.h.

Constructor & Destructor Documentation

◆ DownloadManagerModel()

DownloadManagerModel::DownloadManagerModel ( QObject *  parent = nullptr)

Definition at line 20 of file downloadmanagermodel.cpp.

Member Function Documentation

◆ addDownload()

void DownloadManagerModel::addDownload ( DownloadItem item)

Definition at line 41 of file downloadmanagermodel.cpp.

◆ at()

DownloadItem * DownloadManagerModel::at ( int  index)

Definition at line 61 of file downloadmanagermodel.cpp.

◆ count()

int DownloadManagerModel::count ( ) const

Definition at line 56 of file downloadmanagermodel.cpp.

◆ data()

QVariant DownloadManagerModel::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 32 of file downloadmanagermodel.cpp.

◆ downloadAdded

void DownloadManagerModel::downloadAdded ( DownloadItem item)
signal

◆ downloadRemoved

void DownloadManagerModel::downloadRemoved ( DownloadItem item)
signal

◆ removeDownload()

void DownloadManagerModel::removeDownload ( DownloadItem item)

Definition at line 48 of file downloadmanagermodel.cpp.

◆ rowCount()

int DownloadManagerModel::rowCount ( const QModelIndex &  parent) const

Definition at line 26 of file downloadmanagermodel.cpp.


The documentation for this class was generated from the following files: