summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/binding/birthdayparty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/binding/birthdayparty.cpp')
-rw-r--r--examples/declarative/extending/binding/birthdayparty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/extending/binding/birthdayparty.cpp b/examples/declarative/extending/binding/birthdayparty.cpp
index 392c59a..e5be2b9 100644
--- a/examples/declarative/extending/binding/birthdayparty.cpp
+++ b/examples/declarative/extending/binding/birthdayparty.cpp
@@ -76,9 +76,9 @@ void BirthdayParty::setCelebrant(Person *c)
emit celebrantChanged();
}
-QmlListProperty<Person> BirthdayParty::guests()
+QDeclarativeListProperty<Person> BirthdayParty::guests()
{
- return QmlListProperty<Person>(this, m_guests);
+ return QDeclarativeListProperty<Person>(this, m_guests);
}
int BirthdayParty::guestCount() const