aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/qml/referenceexamples/attached/birthdayparty.cpp2
-rw-r--r--examples/qml/referenceexamples/attached/birthdayparty.h2
-rw-r--r--examples/qml/referenceexamples/binding/birthdayparty.cpp2
-rw-r--r--examples/qml/referenceexamples/binding/birthdayparty.h4
-rw-r--r--examples/qml/referenceexamples/signal/birthdayparty.cpp2
-rw-r--r--examples/qml/referenceexamples/signal/birthdayparty.h4
-rw-r--r--examples/qml/referenceexamples/valuesource/birthdayparty.cpp2
-rw-r--r--examples/qml/referenceexamples/valuesource/birthdayparty.h4
8 files changed, 11 insertions, 11 deletions
diff --git a/examples/qml/referenceexamples/attached/birthdayparty.cpp b/examples/qml/referenceexamples/attached/birthdayparty.cpp
index 888aafbc18..9aed5df621 100644
--- a/examples/qml/referenceexamples/attached/birthdayparty.cpp
+++ b/examples/qml/referenceexamples/attached/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/attached/birthdayparty.h b/examples/qml/referenceexamples/attached/birthdayparty.h
index 308d0652a8..4f2ed1702a 100644
--- a/examples/qml/referenceexamples/attached/birthdayparty.h
+++ b/examples/qml/referenceexamples/attached/birthdayparty.h
@@ -64,7 +64,7 @@ public:
BirthdayPartyAttached(QObject *object);
QDate rsvp() const;
- void setRsvp(const QDate &);
+ void setRsvp(QDate);
private:
QDate m_rsvp;
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:
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:
diff --git a/examples/qml/referenceexamples/valuesource/birthdayparty.cpp b/examples/qml/referenceexamples/valuesource/birthdayparty.cpp
index 6a5e67aa0d..7ad11066cb 100644
--- a/examples/qml/referenceexamples/valuesource/birthdayparty.cpp
+++ b/examples/qml/referenceexamples/valuesource/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/valuesource/birthdayparty.h b/examples/qml/referenceexamples/valuesource/birthdayparty.h
index 25e2342937..abd6363571 100644
--- a/examples/qml/referenceexamples/valuesource/birthdayparty.h
+++ b/examples/qml/referenceexamples/valuesource/birthdayparty.h
@@ -65,7 +65,7 @@ public:
BirthdayPartyAttached(QObject *object);
QDate rsvp() const;
- void setRsvp(const QDate &);
+ void setRsvp(QDate);
private:
QDate m_rsvp;
@@ -99,7 +99,7 @@ public:
void startParty();
signals:
- void partyStarted(const QTime &time);
+ void partyStarted(QTime time);
private:
Person *m_host;