Performance stuffs.

This commit is contained in:
Lukas Brübach 2025-05-09 02:21:32 +02:00
parent da2488f7d8
commit 59998b38c2
8 changed files with 171 additions and 99 deletions

View file

@ -92,6 +92,10 @@ signals:
public:
explicit DeckListModel(QObject *parent = nullptr);
~DeckListModel() override;
QModelIndex getRoot() const
{
return nodeToIndex(root);
};
QString getSortCriteriaForCard(CardInfoPtr info);
int rowCount(const QModelIndex &parent) const override;
int columnCount(const QModelIndex & /*parent*/ = QModelIndex()) const override;