Rename C++'s internal AbstractRepeaterView to ModelChangeListener

For consistency with the Rust model implementation.
This commit is contained in:
Simon Hausmann 2022-09-27 10:26:55 +02:00
parent 5b95466fa6
commit 56983482b9
3 changed files with 8 additions and 8 deletions

View file

@ -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); }