Q3StrIList Class

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

Header: #include <Q3StrIList>
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.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.