diff options
Diffstat (limited to 'src/corelib/tools/qstring_compat.cpp')
-rw-r--r-- | src/corelib/tools/qstring_compat.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/corelib/tools/qstring_compat.cpp b/src/corelib/tools/qstring_compat.cpp index bc48e3e5cf..d4f21e483a 100644 --- a/src/corelib/tools/qstring_compat.cpp +++ b/src/corelib/tools/qstring_compat.cpp @@ -42,6 +42,16 @@ QT_BEGIN_NAMESPACE // all these implementations must be the same as the inline versions in qstring.h +QString QString::trimmed() const +{ + return trimmed_helper(*this); +} + +QString QString::simplified() const +{ + return simplified_helper(*this); +} + QString QString::toLower() const { return toLower_helper(*this); @@ -83,4 +93,14 @@ QByteArray QByteArray::toUpper() const return toUpper_helper(*this); } +QByteArray QByteArray::trimmed() const +{ + return trimmed_helper(*this); +} + +QByteArray QByteArray::simplified() const +{ + return simplified_helper(*this); +} + QT_END_NAMESPACE |