diff options
Diffstat (limited to 'examples/declarative/cppextensions/referenceexamples/properties')
-rw-r--r-- | examples/declarative/cppextensions/referenceexamples/properties/birthdayparty.cpp | 2 | ||||
-rw-r--r-- | examples/declarative/cppextensions/referenceexamples/properties/properties.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/cppextensions/referenceexamples/properties/birthdayparty.cpp b/examples/declarative/cppextensions/referenceexamples/properties/birthdayparty.cpp index 231909a7..9a7ea3ee 100644 --- a/examples/declarative/cppextensions/referenceexamples/properties/birthdayparty.cpp +++ b/examples/declarative/cppextensions/referenceexamples/properties/birthdayparty.cpp @@ -55,7 +55,7 @@ void BirthdayParty::setHost(Person *c) m_host = c; } -QDeclarativeListProperty<Person> BirthdayParty::guests() +QDeclarativeListProperty<Person> BirthdayParty::guests() { return QDeclarativeListProperty<Person>(this, m_guests); } diff --git a/examples/declarative/cppextensions/referenceexamples/properties/properties.pro b/examples/declarative/cppextensions/referenceexamples/properties/properties.pro index 509bf3b6..1ebc0cdd 100644 --- a/examples/declarative/cppextensions/referenceexamples/properties/properties.pro +++ b/examples/declarative/cppextensions/referenceexamples/properties/properties.pro @@ -2,7 +2,7 @@ QT += declarative SOURCES += main.cpp \ person.cpp \ - birthdayparty.cpp + birthdayparty.cpp HEADERS += person.h \ birthdayparty.h RESOURCES += properties.qrc |