![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstringlist.h>#include <private/qduplicatetracker_p.h>#include <QtCore/qlatin1stringmatcher.h>#include <algorithm>Go to the source code of this file.
Functions | |
| template<typename String> | |
| static QStringList | filter_helper (const QStringList &that, const String &needle, Qt::CaseSensitivity cs) |
| template<typename T> | |
| static bool | stringList_contains (const QStringList &stringList, const T &str, Qt::CaseSensitivity cs) |
| static qsizetype | accumulatedSize (const QStringList &list, qsizetype seplen) |
| template<typename String> | |
| qsizetype | indexOf_helper (const QStringList &that, String needle, qsizetype from, Qt::CaseSensitivity cs) |
| template<typename String> | |
| qsizetype | lastIndexof_helper (const QStringList &that, String needle, qsizetype from, Qt::CaseSensitivity cs) |
|
static |
Definition at line 502 of file qstringlist.cpp.
|
static |
Definition at line 241 of file qstringlist.cpp.
| qsizetype indexOf_helper | ( | const QStringList & | that, |
| String | needle, | ||
| qsizetype | from, | ||
| Qt::CaseSensitivity | cs ) |
\fn qsizetype QStringList::indexOf(const QString &str, qsizetype from, Qt::CaseSensitivity cs) const \fn qsizetype QStringList::indexOf(QStringView str, qsizetype from, Qt::CaseSensitivity cs) const \fn qsizetype QStringList::indexOf(QLatin1StringView str, qsizetype from, Qt::CaseSensitivity cs) const Returns the index position of the first match of \a str in the list, searching forward from index position \a from. Returns -1 if no item matched. \include qstringlist.cpp comparison-case-sensitivity
! [overloading-base-class-methods]
\sa lastIndexOf()
Definition at line 635 of file qstringlist.cpp.
| qsizetype lastIndexof_helper | ( | const QStringList & | that, |
| String | needle, | ||
| qsizetype | from, | ||
| Qt::CaseSensitivity | cs ) |
Definition at line 681 of file qstringlist.cpp.
|
static |
Definition at line 328 of file qstringlist.cpp.