Home · All Classes · All Functions · Overviews

Q3StrIList Class Reference
[
Qt3Support module]

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

 #include <Q3StrIList>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.

Inherits Q3StrList.


Public Functions

Q3StrIList ( bool deepCopies = true )
~Q3StrIList ()

Additional Inherited Members


Detailed Description

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.

See also QStringList.


Member Function Documentation

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.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0