mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
more comments
This commit is contained in:
parent
f2cd2c94fd
commit
d6ed80ec9f
1 changed files with 3 additions and 1 deletions
|
|
@ -256,7 +256,8 @@ public:
|
|||
return nodeToIndex(root);
|
||||
}
|
||||
|
||||
// Qt model overrides
|
||||
/// @name Qt model overrides
|
||||
///@{
|
||||
[[nodiscard]] int rowCount(const QModelIndex &parent) const override;
|
||||
[[nodiscard]] int columnCount(const QModelIndex & /*parent*/ = QModelIndex()) const override;
|
||||
[[nodiscard]] QVariant data(const QModelIndex &index, int role) const override;
|
||||
|
|
@ -267,6 +268,7 @@ public:
|
|||
bool setData(const QModelIndex &index, const QVariant &value, int role) 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue