Sorting by P/T numerically (#2901)

This commit is contained in:
John Hill 2017-11-04 10:11:46 -07:00 committed by Zach H
parent e96a250bf1
commit 422c899cdb
2 changed files with 91 additions and 0 deletions

View file

@ -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;