#include <historymodel.h>
Definition at line 32 of file historymodel.h.
◆ Roles
| Enumerator |
|---|
| IdRole | |
| TitleRole | |
| UrlRole | |
| UrlStringRole | |
| IconRole | |
| IsTopLevelRole | |
| TimestampStartRole | |
| TimestampEndRole | |
| MaxRole | |
Definition at line 36 of file historymodel.h.
◆ HistoryModel()
| HistoryModel::HistoryModel |
( |
History * |
history | ) |
|
|
explicit |
◆ canFetchMore()
| bool HistoryModel::canFetchMore |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
◆ columnCount()
| int HistoryModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
| QVariant HistoryModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ fetchMore()
| void HistoryModel::fetchMore |
( |
const QModelIndex & |
parent | ) |
|
|
override |
◆ flags()
| Qt::ItemFlags HistoryModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ hasChildren()
| bool HistoryModel::hasChildren |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
◆ headerData()
| QVariant HistoryModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ index()
| QModelIndex HistoryModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
◆ itemFromIndex()
| HistoryItem * HistoryModel::itemFromIndex |
( |
const QModelIndex & |
index | ) |
const |
◆ parent()
| QModelIndex HistoryModel::parent |
( |
const QModelIndex & |
child | ) |
const |
|
override |
◆ removeTopLevelIndexes()
| void HistoryModel::removeTopLevelIndexes |
( |
const QList< QPersistentModelIndex > & |
indexes | ) |
|
◆ rowCount()
| int HistoryModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
| bool HistoryModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: