mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
Sorting by P/T numerically (#2901)
This commit is contained in:
parent
e96a250bf1
commit
422c899cdb
2 changed files with 91 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ public:
|
|||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
protected:
|
||||
bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
|
||||
static int lessThanNumerically(const QString &left, const QString&right);
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
||||
bool rowMatchesCardName(CardInfo const *info) const;
|
||||
bool canFetchMore(const QModelIndex &parent) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue