mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +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:
@@ -21,12 +21,12 @@ ProcessModel::~ProcessModel()
|
||||
{
|
||||
}
|
||||
|
||||
int ProcessModel::row_count() const
|
||||
int ProcessModel::row_count(const GModelIndex&) const
|
||||
{
|
||||
return m_processes.size();
|
||||
}
|
||||
|
||||
int ProcessModel::column_count() const
|
||||
int ProcessModel::column_count(const GModelIndex&) const
|
||||
{
|
||||
return Column::__Count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user