7#ifndef COCKATRICE_TOKEN_EDIT_MODEL_H
8#define COCKATRICE_TOKEN_EDIT_MODEL_H
17 [[nodiscard]]
int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
20 [[nodiscard]]
bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent)
const override;
The CardDatabaseDisplayModel is a QSortFilterProxyModel that allows applying filters and sorting to a...
CardDatabaseDisplayModel(QObject *parent=nullptr)
Definition card_database_display_model.cpp:5
TokenEditModel(QObject *parent=nullptr)
Definition token_edit_model.cpp:8
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override
Definition token_edit_model.cpp:12
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Definition token_edit_model.cpp:18