mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
move method
This commit is contained in:
parent
3636657392
commit
ae137832b0
1 changed files with 1 additions and 2 deletions
|
|
@ -268,6 +268,7 @@ public:
|
||||||
[[nodiscard]] Qt::ItemFlags flags(const QModelIndex &index) const override;
|
[[nodiscard]] Qt::ItemFlags flags(const QModelIndex &index) const override;
|
||||||
bool setData(const QModelIndex &index, const QVariant &value, int role) override;
|
bool setData(const QModelIndex &index, const QVariant &value, int role) override;
|
||||||
bool removeRows(int row, int count, const QModelIndex &parent) override;
|
bool removeRows(int row, int count, const QModelIndex &parent) override;
|
||||||
|
void sort(int column, Qt::SortOrder order) override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Finds a card by name, zone, and optional identifiers.
|
* @brief Finds a card by name, zone, and optional identifiers.
|
||||||
|
|
@ -317,8 +318,6 @@ public:
|
||||||
*/
|
*/
|
||||||
int findSortedInsertRow(InnerDecklistNode *parent, CardInfoPtr cardInfo) const;
|
int findSortedInsertRow(InnerDecklistNode *parent, CardInfoPtr cardInfo) const;
|
||||||
|
|
||||||
void sort(int column, Qt::SortOrder order) override;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Removes all cards and resets the model.
|
* @brief Removes all cards and resets the model.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue