QStrIList3qt
Doubly-linked list of char* with case-insensitive comparison
Usage
#include <qstrlist.h>
Inherits QStrList.
Public Members
QStrIList ( bool deepCopies = TRUE )
~QStrIList ()
Overview
The QStrIList class provides a doubly-linked list of char* with case-insensitive comparison.
This class is a QPtrList<char> instance (a list of char*).
QStrIList is identical to QStrList except that the virtual compareItems() function is reimplemented to compare strings case-insensitively. The inSort() function inserts strings in a sorted order. In general it is fastest to insert the strings as they come and sort() at the end; inSort() is useful when you just have to add a few extra strings to an already sorted list.
The QStrListIterator class works for QStrIList.
See also QStringList, Collection Classes, and Non-GUI Classes.
Member function documentation
QStrIList::QStrIList ( bool deepCopies = TRUE )
Constructs a list of strings. Will make deep copies of all inserted strings if deepCopies is TRUE, or use shallow copies if deepCopies is FALSE.
QStrIList::~QStrIList ()
Destroys the list. All strings are removed.
Releases
6 releases since Debian 2.2 (Potato); the text changed 4 times.