mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
Rename C++'s internal AbstractRepeaterView to ModelChangeListener
For consistency with the Rust model implementation.
This commit is contained in:
parent
5b95466fa6
commit
56983482b9
3 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <slint.h>
|
||||
|
||||
struct ModelObserver : public slint::private_api::AbstractRepeaterView
|
||||
struct ModelObserver : public slint::private_api::ModelChangeListener
|
||||
{
|
||||
void row_added(int index, int count) override { added_rows.push_back(Range { index, count }); }
|
||||
void row_changed(int index) override { changed_rows.push_back(index); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue