diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-12-20 13:25:16 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-20 06:07:50 +0100 |
commit | 651acf953b374ae7feadaf4db6be85e8c411c1cb (patch) | |
tree | 667070abc5c156ff9de087a66fcf756428211ebc /src/location/places/qplacecontactdetail.cpp | |
parent | b695a8b97a3dd77921d57c30a90f122a85d72278 (diff) |
Replace use of QLatin1Constant with QStringLiteral.
Change-Id: I8f9fa805d7edfefd783788ea78ad824715041982
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/location/places/qplacecontactdetail.cpp')
-rw-r--r-- | src/location/places/qplacecontactdetail.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/places/qplacecontactdetail.cpp b/src/location/places/qplacecontactdetail.cpp index 11813c90..7d3b7aa9 100644 --- a/src/location/places/qplacecontactdetail.cpp +++ b/src/location/places/qplacecontactdetail.cpp @@ -94,25 +94,25 @@ types if necessary. \variable QPlaceContactDetail::Phone The constant to specify phone contact details */ -Q_DEFINE_LATIN1_CONSTANT(QPlaceContactDetail::Phone, "phone"); +const QString QPlaceContactDetail::Phone(QStringLiteral("phone")); /*! \variable QPlaceContactDetail::Email The constant to specify email contact details. */ -Q_DEFINE_LATIN1_CONSTANT(QPlaceContactDetail::Email, "email"); +const QString QPlaceContactDetail::Email(QStringLiteral("email")); /*! \variable QPlaceContactDetail::Website The constant used to specify website contact details. */ -Q_DEFINE_LATIN1_CONSTANT(QPlaceContactDetail::Website, "website"); +const QString QPlaceContactDetail::Website(QStringLiteral("website")); /*! \variable QPlaceContactDetail::Fax The constant used to specify fax contact details. */ -Q_DEFINE_LATIN1_CONSTANT(QPlaceContactDetail::Fax, "fax"); +const QString QPlaceContactDetail::Fax(QStringLiteral("fax")); /*! Constructs a contact detail. |