Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstringlist.cpp File Reference
#include <qstringlist.h>
#include <qset.h>
#include <private/qduplicatetracker_p.h>
#include <algorithm>
+ Include dependency graph for qstringlist.cpp:

Go to the source code of this file.

Functions

template<typename T >
static bool stringList_contains (const QStringList &stringList, const T &str, Qt::CaseSensitivity cs)
 
static qsizetype accumulatedSize (const QStringList &list, qsizetype seplen)
 

Function Documentation

◆ accumulatedSize()

static qsizetype accumulatedSize ( const QStringList list,
qsizetype  seplen 
)
static

Definition at line 406 of file qstringlist.cpp.

References e, QList< T >::isEmpty(), and list.

Referenced by QtPrivate::QStringList_join(), and QtPrivate::QStringList_join().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stringList_contains()

template<typename T >
static bool stringList_contains ( const QStringList stringList,
const T &  str,
Qt::CaseSensitivity  cs 
)
static

Definition at line 262 of file qstringlist.cpp.

References QString::size(), str, and stringList.

Referenced by QtPrivate::QStringList_contains(), and QtPrivate::QStringList_contains().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: