QStringList Class Reference
#include <qstringlist.h>
Definition at line 66 of file qstringlist.h.
|
| | QStringList () |
| |
| | QStringList (const QString &i) |
| |
| | QStringList (const QStringList &l) |
| |
| | QStringList (const QList< QString > &l) |
| |
| void | sort () |
| |
| int | removeDuplicates () |
| |
| QString | join (const QString &sep) const |
| |
| QStringList | filter (const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
| |
| QBool | contains (const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
| |
| QStringList & | replaceInStrings (const QString &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
| |
| QStringList | operator+ (const QStringList &other) const |
| |
| QStringList & | operator<< (const QString &str) |
| |
| QStringList & | operator<< (const QStringList &l) |
| |
| QStringList | filter (const QRegExp &rx) const |
| |
| QStringList & | replaceInStrings (const QRegExp &rx, const QString &after) |
| |
| int | indexOf (const QRegExp &rx, int from=0) const |
| |
| int | lastIndexOf (const QRegExp &rx, int from=-1) const |
| |
| int | indexOf (QRegExp &rx, int from=0) const |
| |
| int | lastIndexOf (QRegExp &rx, int from=-1) const |
| |
| | QList () |
| |
| | QList (const QList< QString > &l) |
| |
| | ~QList () |
| |
| QList< QString > & | operator= (const QList< QString > &l) |
| |
| void | swap (QList< QString > &other) |
| |
| void | swap (int i, int j) |
| |
| bool | operator== (const QList< QString > &l) const |
| |
| bool | operator!= (const QList< QString > &l) const |
| |
| int | size () const |
| |
| void | detach () |
| |
| void | detachShared () |
| |
| bool | isDetached () const |
| |
| void | setSharable (bool sharable) |
| |
| bool | isSharedWith (const QList< QString > &other) const |
| |
| bool | isEmpty () const |
| |
| void | clear () |
| |
| const QString & | at (int i) const |
| |
| const QString & | operator[] (int i) const |
| |
| QString & | operator[] (int i) |
| |
| void | reserve (int size) |
| |
| void | append (const QString &t) |
| |
| void | append (const QList< QString > &t) |
| |
| void | prepend (const QString &t) |
| |
| void | insert (int i, const QString &t) |
| |
| iterator | insert (iterator before, const QString &t) |
| |
| void | replace (int i, const QString &t) |
| |
| void | removeAt (int i) |
| |
| int | removeAll (const QString &t) |
| |
| bool | removeOne (const QString &t) |
| |
| QString | takeAt (int i) |
| |
| QString | takeFirst () |
| |
| QString | takeLast () |
| |
| void | move (int from, int to) |
| |
| int | indexOf (const QString &t, int from=0) const |
| |
| int | lastIndexOf (const QString &t, int from=-1) const |
| |
| QBool | contains (const QString &t) const |
| |
| int | count (const QString &t) const |
| |
| int | count () const |
| |
| iterator | begin () |
| |
| const_iterator | begin () const |
| |
| const_iterator | constBegin () const |
| |
| iterator | end () |
| |
| const_iterator | end () const |
| |
| const_iterator | constEnd () const |
| |
| iterator | erase (iterator pos) |
| |
| iterator | erase (iterator first, iterator last) |
| |
| int | length () const |
| |
| QString & | first () |
| |
| const QString & | first () const |
| |
| QString & | last () |
| |
| const QString & | last () const |
| |
| void | removeFirst () |
| |
| void | removeLast () |
| |
| bool | startsWith (const QString &t) const |
| |
| bool | endsWith (const QString &t) const |
| |
| QList< QString > | mid (int pos, int length=-1) const |
| |
| QString | value (int i) const |
| |
| QString | value (int i, const QString &defaultValue) const |
| |
| void | push_back (const QString &t) |
| |
| void | push_front (const QString &t) |
| |
| QString & | front () |
| |
| const QString & | front () const |
| |
| QString & | back () |
| |
| const QString & | back () const |
| |
| void | pop_front () |
| |
| void | pop_back () |
| |
| bool | empty () const |
| |
| QList< QString > & | operator+= (const QList< QString > &l) |
| |
| QList< QString > & | operator+= (const QString &t) |
| |
| QList< QString > | operator+ (const QList< QString > &l) const |
| |
| QList< QString > & | operator<< (const QString &t) |
| |
| QList< QString > & | operator<< (const QList< QString > &l) |
| |
| QVector< QString > | toVector () const |
| |
| QSet< QString > | toSet () const |
| |
| std::list< QString > | toStdList () const |
| |
Definition at line 152 of file qstringlist.h.
void Q_CORE_EXPORT QStringList_sort(QStringList *that)
Definition at line 157 of file qstringlist.h.
int Q_CORE_EXPORT QStringList_removeDuplicates(QStringList *that)
Definition at line 162 of file qstringlist.h.
QString Q_CORE_EXPORT QStringList_join(const QStringList *that, const QString &sep)
Definition at line 167 of file qstringlist.h.
QStringList Q_CORE_EXPORT QStringList_filter(const QStringList *that, const QString &str, Qt::CaseSensitivity cs)
Definition at line 172 of file qstringlist.h.
QBool Q_CORE_EXPORT QStringList_contains(const QStringList *that, const QString &str, Qt::CaseSensitivity cs)
Definition at line 177 of file qstringlist.h.
void Q_CORE_EXPORT QStringList_replaceInStrings(QStringList *that, const QString &before, const QString &after, Qt::CaseSensitivity cs)
Definition at line 89 of file qstringlist.h.
90 {
append(str);
return *
this; }
void append(const QString &t)
Definition at line 91 of file qstringlist.h.
92 { *
this += l;
return *
this; }
Definition at line 190 of file qstringlist.h.
QStringList Q_CORE_EXPORT QStringList_filter(const QStringList *that, const QString &str, Qt::CaseSensitivity cs)
Definition at line 184 of file qstringlist.h.
void Q_CORE_EXPORT QStringList_replaceInStrings(QStringList *that, const QString &before, const QString &after, Qt::CaseSensitivity cs)
Definition at line 195 of file qstringlist.h.
int Q_CORE_EXPORT QStringList_indexOf(const QStringList *that, const QRegExp &rx, int from)
Definition at line 200 of file qstringlist.h.
int Q_CORE_EXPORT QStringList_lastIndexOf(const QStringList *that, const QRegExp &rx, int from)
Definition at line 205 of file qstringlist.h.
int Q_CORE_EXPORT QStringList_indexOf(const QStringList *that, const QRegExp &rx, int from)
Definition at line 210 of file qstringlist.h.
int Q_CORE_EXPORT QStringList_lastIndexOf(const QStringList *that, const QRegExp &rx, int from)
The documentation for this class was generated from the following file: