///
void clear();
///
+ bool empty() { return toc_->empty(); }
+ ///
QAbstractItemModel * model();
///
QAbstractItemModel const * model() const;
: QSortFilterProxyModel(w)
{}
- bool lessThan (const QModelIndex & left, const QModelIndex & right) const
+ bool lessThan(const QModelIndex & left, const QModelIndex & right) const override
{
if (left.model()->data(left, Qt::UserRole).toString()
== QString("tableofcontents"))