diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-10-18 15:41:24 +0300 |
---|---|---|
committer | Anton Kudryavtsev <antkudr@mail.ru> | 2016-10-25 05:13:46 +0000 |
commit | aa60e2d7778ff353db17b5d2d6899d3088e1f507 (patch) | |
tree | 0b689050d5e713d06530eaaf712d7b86f87b8dc3 /src/corelib/tools/qstring.h | |
parent | 0d9cd98c073d1766b1d81017b48f6cc13a8cda21 (diff) |
QStringRef: add isRightToLeft()
isRightToLeft() was missing in the API.
Change-Id: I49bc30e4c50f5693eb613c200587acba85074f33
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qstring.h')
-rw-r--r-- | src/corelib/tools/qstring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qstring.h b/src/corelib/tools/qstring.h index 8b7528577c..b370056d28 100644 --- a/src/corelib/tools/qstring.h +++ b/src/corelib/tools/qstring.h @@ -1450,6 +1450,8 @@ public: m_size -= n; } + bool isRightToLeft() const; + bool startsWith(const QString &s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; bool startsWith(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; |