QStrList Class Reference


The QStrList class provides a doubly linked list of char*. More...

#include <qstrlist.h>

Inherits QList.

Inherited by QStrIList.

List of all member functions.

Public Members


Detailed Description

The QStrList class provides a doubly linked list of char*.

This class is a QList<char*> instance. It can make deep copies of the strings that are inserted.

The virtual compareItems() function is reimplemented and does a case sensitive string comparision. The inSort() function will insert strings in a sorted order.

The QStrListIterator class is an iterator for QStrList.


Member Function Documentation

QStrList::QStrList ( bool deepCopies=TRUE)

Constructs a list of strings. Will make deep copies of all inserted strings if deepCopies is TRUE, or uses shallow copies if deepCopies is FALSE.

QStrList::~QStrList ()

Destroys the list. All strings are removed.


This file is part of the Qt toolkit, copyright © 1995-96 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 16:51, 1996/09/24 for Qt version 1.0 by the webmaster at Troll Tech