diff options
author | David Faure <faure@kde.org> | 2011-09-29 13:31:39 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-29 15:22:07 +0200 |
commit | 7fb90066b3aa7e602466a61e0ffaadbf9002525c (patch) | |
tree | 2b8186c7fb45a8fc6f9ef53a77f17b83747684c6 /src/corelib/tools/qstring.h | |
parent | 87ae97c11ab9b298c0ce6701873b45fc3992b385 (diff) |
Move Qt::escape to QtCore
Merge-request: 56
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Change-Id: I25c5f46cf53a653db26dbeb92865e61f69980bfd
Reviewed-on: http://codereview.qt-project.org/5792
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/corelib/tools/qstring.h')
-rw-r--r-- | src/corelib/tools/qstring.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/tools/qstring.h b/src/corelib/tools/qstring.h index 5009686d27..adb7e06ce1 100644 --- a/src/corelib/tools/qstring.h +++ b/src/corelib/tools/qstring.h @@ -1249,6 +1249,9 @@ inline QBool QStringRef::contains(QChar c, Qt::CaseSensitivity cs) const inline QBool QStringRef::contains(const QStringRef &s, Qt::CaseSensitivity cs) const { return QBool(indexOf(s, 0, cs) != -1); } +namespace Qt { + Q_CORE_EXPORT QString escape(const QString &plain); +} QT_END_NAMESPACE |