20#include <QAbstractProxyModel>
37 QModelIndex tabIndex(
WebTab *tab)
const;
38 WebTab *tab(
const QModelIndex &index)
const;
40 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
41 int rowCount(
const QModelIndex &parent)
const override;
42 int columnCount(
const QModelIndex &parent)
const override;
43 QModelIndex parent(
const QModelIndex &index)
const override;
44 QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const override;
46 QModelIndex mapFromSource(
const QModelIndex &sourceIndex)
const override;
47 QModelIndex mapToSource(
const QModelIndex &proxyIndex)
const override;
54 void currentTabChanged(
int index);
55 void sourceDataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight,
const QVector<int> &roles);
56 void sourceRowsInserted(
const QModelIndex &parent,
int start,
int end);
57 void sourceRowsAboutToBeRemoved(
const QModelIndex &parent,
int start,
int end);
62 QHash<WebTab*, TabMruModelItem*> m_items;