<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /tmp/qt-4.2.1-harald-1161357942206/qt-x11-opensource-src-4.2.1/doc/src/q3ptrlist.qdoc --> <head> <title>Qt 4.2: Q3StrIList Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">Q3StrIList Class Reference<br /><sup><sup>[<a href="qt3support.html">Qt3Support</a> module]</sup></sup></h1> <p>The Q3StrIList class provides a doubly-linked list of char* with case-insensitive comparison. <a href="#details">More...</a></p> <pre> #include <Q3StrIList></pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See <a href="porting4.html">Porting to Qt 4</a> for more information.</p> <p>Inherits <a href="q3strlist.html">Q3StrList</a>.</p> <ul> <li><a href="q3strilist-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h3>Public Functions</h3> <ul> <li><div class="fn"/><b><a href="q3strilist.html#Q3StrIList">Q3StrIList</a></b> ( bool <i>deepCopies</i> = true )</li> <li><div class="fn"/><b><a href="q3strilist.html#dtor.Q3StrIList">~Q3StrIList</a></b> ()</li> </ul> <ul> <li><div class="fn"/>3 public functions inherited from <a href="q3strlist.html#public-functions">Q3StrList</a></li> <li><div class="fn"/>39 public functions inherited from <a href="q3ptrlist.html#public-functions">Q3PtrList</a></li> <li><div class="fn"/>4 public functions inherited from <a href="q3ptrcollection.html#public-functions">Q3PtrCollection</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li><div class="fn"/>3 protected functions inherited from <a href="q3ptrlist.html#protected-functions">Q3PtrList</a></li> <li><div class="fn"/>2 protected functions inherited from <a href="q3ptrcollection.html#protected-functions">Q3PtrCollection</a></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The Q3StrIList class provides a doubly-linked list of char* with case-insensitive comparison.</p> <p>This class is a <a href="q3ptrlist.html">Q3PtrList</a><char> instance (a list of char*).</p> <p>Q3StrIList is identical to <a href="q3strlist.html">Q3StrList</a> except that the virtual <a href="q3ptrlist.html#compareItems">compareItems</a>() function is reimplemented to compare strings case-insensitively. The <a href="q3ptrlist.html#inSort">inSort</a>() function inserts strings in a sorted order. In general it is fastest to insert the strings as they come and <a href="q3ptrlist.html#sort">sort</a>() at the end; <a href="q3ptrlist.html#inSort">inSort</a>() is useful when you just have to add a few extra strings to an already sorted list.</p> <p>The <a href="q3strlistiterator.html">Q3StrListIterator</a> class works for Q3StrIList.</p> <p>See also <a href="qstringlist.html">QStringList</a>.</p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="Q3StrIList"></a>Q3StrIList::Q3StrIList ( bool <i>deepCopies</i> = true )</h3> <p>Constructs a list of strings. Will make deep copies of all inserted strings if <i>deepCopies</i> is TRUE, or use shallow copies if <i>deepCopies</i> is FALSE.</p> <h3 class="fn"><a name="dtor.Q3StrIList"></a>Q3StrIList::~Q3StrIList ()</h3> <p>Destroys the list. All strings are removed.</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="30%">Copyright © 2006 <a href="trolltech.html">Trolltech</a></td> <td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="30%" align="right"><div align="right">Qt 4.2.1</div></td> </tr></table></div></address></body> </html>