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

#include <tabmrumodel.h>

Inheritance diagram for TabMruModel:

Public Member Functions

 TabMruModel (BrowserWindow *window, QObject *parent=nullptr)
 
 ~TabMruModel () override
 
QModelIndex tabIndex (WebTab *tab) const
 
WebTabtab (const QModelIndex &index) const
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
int rowCount (const QModelIndex &parent) const override
 
int columnCount (const QModelIndex &parent) const override
 
QModelIndex parent (const QModelIndex &index) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex mapFromSource (const QModelIndex &sourceIndex) const override
 
QModelIndex mapToSource (const QModelIndex &proxyIndex) const override
 

Detailed Description

Definition at line 29 of file tabmrumodel.h.

Constructor & Destructor Documentation

◆ TabMruModel()

TabMruModel::TabMruModel ( BrowserWindow window,
QObject *  parent = nullptr 
)
explicit

Definition at line 46 of file tabmrumodel.cpp.

◆ ~TabMruModel()

TabMruModel::~TabMruModel ( )
override

Definition at line 53 of file tabmrumodel.cpp.

Member Function Documentation

◆ columnCount()

int TabMruModel::columnCount ( const QModelIndex &  parent) const
override

Definition at line 86 of file tabmrumodel.cpp.

◆ flags()

Qt::ItemFlags TabMruModel::flags ( const QModelIndex &  index) const
override

Definition at line 70 of file tabmrumodel.cpp.

◆ index()

QModelIndex TabMruModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
override

Definition at line 100 of file tabmrumodel.cpp.

◆ mapFromSource()

QModelIndex TabMruModel::mapFromSource ( const QModelIndex &  sourceIndex) const
override

Definition at line 108 of file tabmrumodel.cpp.

◆ mapToSource()

QModelIndex TabMruModel::mapToSource ( const QModelIndex &  proxyIndex) const
override

Definition at line 113 of file tabmrumodel.cpp.

◆ parent()

QModelIndex TabMruModel::parent ( const QModelIndex &  index) const
override

Definition at line 94 of file tabmrumodel.cpp.

◆ rowCount()

int TabMruModel::rowCount ( const QModelIndex &  parent) const
override

Definition at line 78 of file tabmrumodel.cpp.

◆ tab()

WebTab * TabMruModel::tab ( const QModelIndex &  index) const

Definition at line 64 of file tabmrumodel.cpp.

◆ tabIndex()

QModelIndex TabMruModel::tabIndex ( WebTab tab) const

Definition at line 58 of file tabmrumodel.cpp.


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