Q3StrIList Class

The Q3StrIList class provides a doubly-linked list of char* with case-insensitive comparison. 更多...

头: #include <Q3StrIList>
继承: Q3StrList

公共函数

Q3StrIList (bool deepCopies = true)
~Q3StrIList ()

额外继承成员

详细描述

The Q3StrIList class provides a doubly-linked list of char* with case-insensitive comparison.

This class is a Q3PtrList <char> instance (a list of char*).

Q3StrIList is identical to Q3StrList 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 Q3StrListIterator class works for Q3StrIList .

另请参阅 QStringList .

成员函数文档编制

Q3StrIList:: Q3StrIList ( 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.

Q3StrIList:: ~Q3StrIList ()

Destroys the list. All strings are removed.