mirror of
https://github.com/RGBCube/serenity
synced 2025-07-06 13:57:35 +00:00
GModel: Add GModelIndex argument to row_count() and column_count().
This is in preparation for supporting hierarchical models.
This commit is contained in:
parent
34118aaaca
commit
add38b3981
13 changed files with 28 additions and 28 deletions
|
@ -46,8 +46,8 @@ public:
|
|||
|
||||
virtual ~GModel();
|
||||
|
||||
virtual int row_count() const = 0;
|
||||
virtual int column_count() const = 0;
|
||||
virtual int row_count(const GModelIndex& = GModelIndex()) const = 0;
|
||||
virtual int column_count(const GModelIndex& = GModelIndex()) const = 0;
|
||||
virtual String row_name(int) const { return { }; }
|
||||
virtual String column_name(int) const { return { }; }
|
||||
virtual ColumnMetadata column_metadata(int) const { return { }; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue