summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-03-18 12:53:51 +0100
committerSona Kurazyan <sona.kurazyan@qt.io>2022-04-07 19:30:17 +0200
commita885f28933896998cd363999b7825b95c365b3f5 (patch)
tree98770f255ac2ef5d367e0eebe4a1d33d6464d2a0 /tests/auto/corelib/kernel
parentf5174abec3720b7deec3157e482ca62c0d90fb19 (diff)
Replace uses of _qs with _s in tests
Task-number: QTBUG-101408 Change-Id: If092a68828a1e8056259cf90d035d9a87989244b Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel')
-rw-r--r--tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
index 0f89ccee8b..6a9d7e61ee 100644
--- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
+++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
@@ -41,7 +41,7 @@
#endif
using namespace QtPrivate;
-
+using namespace Qt::StringLiterals;
struct DtorCounter {
static inline int counter = 0;
@@ -1697,9 +1697,9 @@ public:
Q_INVOKABLE bool bindingTest()
{
- QProperty<QString> name(u"inThread"_qs);
+ QProperty<QString> name(u"inThread"_s);
bindableObjectName().setBinding([&]() -> QString { return name; });
- name = u"inThreadChanged"_qs;
+ name = u"inThreadChanged"_s;
const bool nameChangedCorrectly = objectName() == name;
bindableObjectName().takeBinding();
return nameChangedCorrectly;