41 #include <QtCore/qlist.h>
46 #include <QtCore/qalgorithms.h>
47 #include <QtCore/qcontainertools_impl.h>
48 #include <QtCore/qstring.h>
49 #include <QtCore/qstringmatcher.h>
55 #if !defined(QT_NO_JAVA_STYLE_ITERATORS)
74 #if QT_CONFIG(regularexpression)
125 #if QT_STRINGVIEW_LEVEL < 2
155 #if QT_STRINGVIEW_LEVEL < 2
164 #if QT_CONFIG(regularexpression)
173 {
return QtPrivate::QStringList_indexOf(
self(), re, from); }
175 {
return QtPrivate::QStringList_lastIndexOf(
self(), re, from); }
The QChar class provides a 16-bit Unicode character.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal.
The QRegularExpression class provides pattern matching using regular expressions.
The QString class provides a Unicode character string.
const QChar * constData() const
The QStringList class provides a list of strings.
The QStringView class provides a unified view on UTF-16 strings with a read-only subset of the QStrin...
auto it unsigned count const
QTextStream & operator<<(QTextStream &stream, const QStringList &list)
void Q_CORE_EXPORT QStringList_replaceInStrings(QStringList *that, QStringView before, QStringView after, Qt::CaseSensitivity cs)
bool Q_CORE_EXPORT QStringList_contains(const QStringList *that, QStringView str, Qt::CaseSensitivity cs)
QString Q_CORE_EXPORT QStringList_join(const QStringList *that, QStringView sep)
qsizetype Q_CORE_EXPORT QStringList_removeDuplicates(QStringList *that)
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype lastIndexOf(QByteArrayView haystack, qsizetype from, QByteArrayView needle) noexcept
QStringList Q_CORE_EXPORT QStringList_filter(const QStringList *that, QStringView str, Qt::CaseSensitivity cs)
void Q_CORE_EXPORT QStringList_sort(QStringList *that, Qt::CaseSensitivity cs)
qsizetype indexOf(const QList< V > &list, const U &u, qsizetype from) noexcept
QString operator+(const ProString &one, const ProString &two)
QList< QString > QStringList
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
QListIterator< QString > QStringListIterator
QMutableListIterator< QString > QMutableStringListIterator
QString join(QLatin1String sep) const
bool contains(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
qsizetype lastIndexOf(const QString &str, qsizetype from=-1) const noexcept
void sort(Qt::CaseSensitivity cs=Qt::CaseSensitive)
QString join(const QString &sep) const
QStringList & replaceInStrings(const QString &before, QStringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QString join(QStringView sep) const
qsizetype indexOf(const QString &str, qsizetype from=0) const noexcept
bool contains(QLatin1String str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
qsizetype removeDuplicates()
QStringList filter(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QStringList & replaceInStrings(QStringView before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QString join(QChar sep) const
QStringList & replaceInStrings(const QString &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QStringList & replaceInStrings(QStringView before, QStringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
QStringList filter(QStringView str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
bool contains(QStringView str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept