<?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"> <!-- q3ptrlist.qdoc --> <head> <title>Qt 4.6: Q3StrIList Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <a name="//apple_ref/cpp/cl//Q3StrIList"></a> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" 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="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">Q3StrIList Class Reference<br /><span class="small-subtitle">[<a href="qt3support.html">Qt3Support</a> module]</span> </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> <hr /> <a name="public-functions"></a> <h2>Public Functions</h2> <table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3strilist.html#Q3StrIList">Q3StrIList</a></b> ( bool <i>deepCopies</i> = true )</td></tr> <tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3strilist.html#dtor.Q3StrIList">~Q3StrIList</a></b> ()</td></tr> </table> <ul> <li><div bar="2" class="fn"></div>3 public functions inherited from <a href="q3strlist.html#public-functions">Q3StrList</a></li> <li><div bar="2" class="fn"></div>39 public functions inherited from <a href="q3ptrlist.html#public-functions">Q3PtrList</a></li> <li><div bar="2" class="fn"></div>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"></div>3 protected functions inherited from <a href="q3ptrlist.html#protected-functions">Q3PtrList</a></li> <li><div class="fn"></div>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> <a name="//apple_ref/cpp/instm/Q3StrIList/Q3StrIList"></a> <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> <a name="//apple_ref/cpp/instm/Q3StrIList/~Q3StrIList"></a> <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="40%" align="left">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)</td> <td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="40%" align="right"><div align="right">Qt 4.6.3</div></td> </tr></table></div></address></body> </html>