move method

This commit is contained in:
RickyRister 2025-12-30 22:08:15 -08:00
parent 3636657392
commit ae137832b0

View file

@ -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.
*/ */