aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp')
-rw-r--r--examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp b/examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp
index feefef4fe1..c4f906119a 100644
--- a/examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp
+++ b/examples/qml/cppextensions/referenceexamples/attached/birthdayparty.cpp
@@ -69,9 +69,9 @@ void BirthdayParty::setHost(Person *c)
m_host = c;
}
-QDeclarativeListProperty<Person> BirthdayParty::guests()
+QQmlListProperty<Person> BirthdayParty::guests()
{
- return QDeclarativeListProperty<Person>(this, m_guests);
+ return QQmlListProperty<Person>(this, m_guests);
}
int BirthdayParty::guestCount() const