diff options
Diffstat (limited to 'examples/qml/referenceexamples/binding')
-rw-r--r-- | examples/qml/referenceexamples/binding/birthdayparty.cpp | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/binding/birthdayparty.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qml/referenceexamples/binding/birthdayparty.cpp b/examples/qml/referenceexamples/binding/birthdayparty.cpp index cfedf84be0..02a1adbb35 100644 --- a/examples/qml/referenceexamples/binding/birthdayparty.cpp +++ b/examples/qml/referenceexamples/binding/birthdayparty.cpp @@ -59,7 +59,7 @@ QDate BirthdayPartyAttached::rsvp() const return m_rsvp; } -void BirthdayPartyAttached::setRsvp(const QDate &d) +void BirthdayPartyAttached::setRsvp(QDate d) { if (d != m_rsvp) { m_rsvp = d; diff --git a/examples/qml/referenceexamples/binding/birthdayparty.h b/examples/qml/referenceexamples/binding/birthdayparty.h index 3cd5cf1c9a..846a016cfc 100644 --- a/examples/qml/referenceexamples/binding/birthdayparty.h +++ b/examples/qml/referenceexamples/binding/birthdayparty.h @@ -65,7 +65,7 @@ public: BirthdayPartyAttached(QObject *object); QDate rsvp() const; - void setRsvp(const QDate &); + void setRsvp(QDate); signals: void rsvpChanged(); @@ -102,7 +102,7 @@ public: void startParty(); signals: - void partyStarted(const QTime &time); + void partyStarted(QTime time); void hostChanged(); private: |