Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore More...
Related Symbols | |
(Note that these are not member symbols.) | |
QT_BEGIN_NAMESPACEQStringListIterator | |
The QStringListIterator type definition provides a Java-style const iterator for QStringList. | |
QMutableStringListIterator | |
The QStringListIterator type definition provides a Java-style non-const iterator for QStringList. | |
\inmodule QtCore
The QStringList class provides a list of strings.
\reentrant
QStringList inherits from QList<QString>. Like QList, QStringList is \l{implicitly shared}. It provides fast index-based access as well as fast insertions and removals. Passing string lists as value parameters is both fast and safe.
All of QList's functionality also applies to QStringList. For example, you can use isEmpty() to test whether the list is empty, and you can call functions like append(), prepend(), insert(), replace(), removeAll(), removeAt(), removeFirst(), removeLast(), and removeOne() to modify a QStringList. In addition, QStringList provides a few convenience functions that make handling lists of strings easier.
|
related |
The QStringListIterator type definition provides a Java-style non-const iterator for QStringList.
QStringList provides both \l{Java-style iterators} and \l{STL-style iterators}. The Java-style non-const iterator is simply a type definition for QMutableListIterator<QString>.
Definition at line 22 of file qstringlist.h.
|
related |
The QStringListIterator type definition provides a Java-style const iterator for QStringList.
QStringList provides both \l{Java-style iterators} and \l{STL-style iterators}. The Java-style const iterator is simply a type definition for QListIterator<QString>.