diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-14 14:34:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 14:57:31 +0200 |
commit | cb424d26eac75a14316726b4687758fd10c85563 (patch) | |
tree | 9d1b96301734b8c20652607823bb6dacb63afff8 /tests/auto/geotestplugin/qplacemanagerengine_test.h | |
parent | 8922ae1ef4f0cb01c15632dfe19ed514e0d49dbe (diff) | |
download | qtlocation-cb424d26eac75a14316726b4687758fd10c85563.tar.gz |
Use QStringLiteral whereever possible
This replaces a lot of old QLatin1String cases
Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tests/auto/geotestplugin/qplacemanagerengine_test.h')
-rw-r--r-- | tests/auto/geotestplugin/qplacemanagerengine_test.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/geotestplugin/qplacemanagerengine_test.h b/tests/auto/geotestplugin/qplacemanagerengine_test.h index edcf09b7..2654f459 100644 --- a/tests/auto/geotestplugin/qplacemanagerengine_test.h +++ b/tests/auto/geotestplugin/qplacemanagerengine_test.h @@ -295,7 +295,7 @@ public: if (ro.contains(QStringLiteral("dateTime"))) review.setDateTime(QDateTime::fromString( ro.value(QStringLiteral("dateTime")).toString(), - QLatin1String("hh:mm dd-MM-yyyy"))); + QStringLiteral("hh:mm dd-MM-yyyy"))); if (ro.contains(QStringLiteral("reviewId"))) review.setReviewId(ro.value("reviewId").toString()); @@ -651,12 +651,12 @@ public: QList<QPair<int, QUrl> > candidates; QMap<QString, int> sizeDictionary; - sizeDictionary.insert(QLatin1String("s"), 20); - sizeDictionary.insert(QLatin1String("m"), 30); - sizeDictionary.insert(QLatin1String("l"), 50); + sizeDictionary.insert(QStringLiteral("s"), 20); + sizeDictionary.insert(QStringLiteral("m"), 30); + sizeDictionary.insert(QStringLiteral("l"), 50); QStringList sizeKeys; - sizeKeys << QLatin1String("s") << QLatin1String("m") << QLatin1String("l"); + sizeKeys << QStringLiteral("s") << QStringLiteral("m") << QStringLiteral("l"); foreach (const QString &sizeKey, sizeKeys) { |