diff options
Diffstat (limited to 'src/corelib/text/qstringlist.h')
-rw-r--r-- | src/corelib/text/qstringlist.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/text/qstringlist.h b/src/corelib/text/qstringlist.h index 5ec95036be..9b00446439 100644 --- a/src/corelib/text/qstringlist.h +++ b/src/corelib/text/qstringlist.h @@ -122,7 +122,6 @@ public: return *self(); } -#if QT_STRINGVIEW_LEVEL < 2 inline QString join(const QString &sep) const { return QtPrivate::QStringList_join(self(), sep.constData(), sep.length()); } inline QStringList filter(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const @@ -142,7 +141,6 @@ public: QtPrivate::QStringList_replaceInStrings(self(), before, after, cs); return *self(); } -#endif using QListSpecialMethodsBase<QString>::contains; using QListSpecialMethodsBase<QString>::indexOf; using QListSpecialMethodsBase<QString>::lastIndexOf; @@ -152,14 +150,12 @@ public: inline bool contains(QStringView str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const noexcept { return QtPrivate::QStringList_contains(self(), str, cs); } -#if QT_STRINGVIEW_LEVEL < 2 inline bool contains(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const noexcept { return QtPrivate::QStringList_contains(self(), str, cs); } qsizetype indexOf(const QString &str, qsizetype from = 0) const noexcept { return indexOf(QStringView(str), from); } qsizetype lastIndexOf(const QString &str, qsizetype from = -1) const noexcept { return lastIndexOf(QStringView(str), from); } -#endif #if QT_CONFIG(regularexpression) inline QStringList filter(const QRegularExpression &re) const |