summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-31 13:20:16 (GMT)
committerTobias Markmann <tm@ayena.de>2014-10-31 13:20:16 (GMT)
commit31cf91f23967a031972bb9d79890f0b2df5cbaa6 (patch)
tree61e7dae8f4047089b33def75cd989a9841ed5534 /Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h
parent9b762e1cf26cfe12cf601d9ea95cf91b3f95c799 (diff)
downloadswift-31cf91f23967a031972bb9d79890f0b2df5cbaa6.zip
swift-31cf91f23967a031972bb9d79890f0b2df5cbaa6.tar.bz2
Pass QString arguments by reference and not value.
Test-Information: Still builds with clang (3.6.0) on OS X (10.9.5). Change-Id: I3382e2165a5f14e13ecd48277baefaf728edbbe1
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h')
-rw-r--r--Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h b/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h
index 6a5ae46..ac35109 100644
--- a/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h
+++ b/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.h
@@ -33,25 +33,25 @@ namespace Swift {
ByteArray getAvatarData() const;
std::string getAvatarType() const;
- void setFormattedName(const QString formattedName);
+ void setFormattedName(const QString& formattedName);
QString getFormattedName() const;
- void setNickname(const QString nickname);
+ void setNickname(const QString& nickname);
QString getNickname() const;
- void setPrefix(const QString prefix);
+ void setPrefix(const QString& prefix);
QString getPrefix() const;
- void setGivenName(const QString givenName);
+ void setGivenName(const QString& givenName);
QString getGivenName() const;
- void setMiddleName(const QString middleName);
+ void setMiddleName(const QString& middleName);
QString getMiddleName() const;
- void setFamilyName(const QString familyName);
+ void setFamilyName(const QString& familyName);
QString getFamilyName() const;
- void setSuffix(const QString suffix);
+ void setSuffix(const QString& suffix);
QString getSuffix() const;
private: