diff options
Diffstat (limited to 'examples/qml/referenceexamples/signal')
-rw-r--r-- | examples/qml/referenceexamples/signal/birthdayparty.cpp | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/signal/birthdayparty.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qml/referenceexamples/signal/birthdayparty.cpp b/examples/qml/referenceexamples/signal/birthdayparty.cpp index 405c8af940..215c09782a 100644 --- a/examples/qml/referenceexamples/signal/birthdayparty.cpp +++ b/examples/qml/referenceexamples/signal/birthdayparty.cpp @@ -59,7 +59,7 @@ QDate BirthdayPartyAttached::rsvp() const return m_rsvp; } -void BirthdayPartyAttached::setRsvp(const QDate &d) +void BirthdayPartyAttached::setRsvp(QDate d) { m_rsvp = d; } diff --git a/examples/qml/referenceexamples/signal/birthdayparty.h b/examples/qml/referenceexamples/signal/birthdayparty.h index c815518291..6d7e022df0 100644 --- a/examples/qml/referenceexamples/signal/birthdayparty.h +++ b/examples/qml/referenceexamples/signal/birthdayparty.h @@ -64,7 +64,7 @@ public: BirthdayPartyAttached(QObject *object); QDate rsvp() const; - void setRsvp(const QDate &); + void setRsvp(QDate); private: QDate m_rsvp; @@ -93,7 +93,7 @@ public: void startParty(); // ![0] signals: - void partyStarted(const QTime &time); + void partyStarted(QTime time); // ![0] private: |