summaryrefslogtreecommitdiffstats
path: root/doc/html/tqstringlist.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqstringlist.html')
-rw-r--r--doc/html/tqstringlist.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/tqstringlist.html b/doc/html/tqstringlist.html
index e82a6ca8b..136422b3a 100644
--- a/doc/html/tqstringlist.html
+++ b/doc/html/tqstringlist.html
@@ -45,17 +45,17 @@ body { background: #ffffff; color: black; }
<li class=fn><a href="#TQStringList-5"><b>TQStringList</b></a> ( const&nbsp;char&nbsp;*&nbsp;i )</li>
<li class=fn>void <a href="#sort"><b>sort</b></a> ()</li>
<li class=fn>TQString <a href="#join"><b>join</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;sep ) const</li>
-<li class=fn>TQStringList <a href="#grep"><b>grep</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;cs = TRUE ) const</li>
+<li class=fn>TQStringList <a href="#grep"><b>grep</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;cs = true ) const</li>
<li class=fn>TQStringList <a href="#grep-2"><b>grep</b></a> ( const&nbsp;TQRegExp&nbsp;&amp;&nbsp;rx ) const</li>
-<li class=fn>TQStringList &amp; <a href="#gres"><b>gres</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;before, const&nbsp;TQString&nbsp;&amp;&nbsp;after, bool&nbsp;cs = TRUE )</li>
+<li class=fn>TQStringList &amp; <a href="#gres"><b>gres</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;before, const&nbsp;TQString&nbsp;&amp;&nbsp;after, bool&nbsp;cs = true )</li>
<li class=fn>TQStringList &amp; <a href="#gres-2"><b>gres</b></a> ( const&nbsp;TQRegExp&nbsp;&amp;&nbsp;rx, const&nbsp;TQString&nbsp;&amp;&nbsp;after )</li>
</ul>
<h2>Static Public Members</h2>
<ul>
<li class=fn>TQStringList <a href="#fromStrList"><b>fromStrList</b></a> ( const&nbsp;TQStrList&nbsp;&amp;&nbsp;ascii )</li>
-<li class=fn>TQStringList <a href="#split-2"><b>split</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )</li>
-<li class=fn>TQStringList <a href="#split-3"><b>split</b></a> ( const&nbsp;TQChar&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )</li>
-<li class=fn>TQStringList <a href="#split"><b>split</b></a> ( const&nbsp;TQRegExp&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )</li>
+<li class=fn>TQStringList <a href="#split-2"><b>split</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )</li>
+<li class=fn>TQStringList <a href="#split-3"><b>split</b></a> ( const&nbsp;TQChar&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )</li>
+<li class=fn>TQStringList <a href="#split"><b>split</b></a> ( const&nbsp;TQRegExp&nbsp;&amp;&nbsp;sep, const&nbsp;TQString&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
@@ -176,10 +176,10 @@ Longer lists are easily created as follows:
</h3>
Converts from an ASCII-TQStrList <em>ascii</em> to a TQStringList (Unicode).
-<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="grep"></a>TQStringList::grep ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;cs = TRUE ) const
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="grep"></a>TQStringList::grep ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;cs = true ) const
</h3>
Returns a list of all the strings containing the substring <em>str</em>.
-<p> If <em>cs</em> is TRUE, the grep is done case-sensitively; otherwise
+<p> If <em>cs</em> is true, the grep is done case-sensitively; otherwise
case is ignored.
<p> <pre>
TQStringList list;
@@ -196,12 +196,12 @@ This is an overloaded member function, provided for convenience. It behaves esse
<p> Returns a list of all the strings that match the <a href="tqregexp.html#regular-expression">regular expression</a> <em>rx</em>.
<p> <p>See also <a href="tqstring.html#find">TQString::find</a>().
-<h3 class=fn><a href="tqstringlist.html">TQStringList</a>&nbsp;&amp; <a name="gres"></a>TQStringList::gres ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;before, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;after, bool&nbsp;cs = TRUE )
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a>&nbsp;&amp; <a name="gres"></a>TQStringList::gres ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;before, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;after, bool&nbsp;cs = true )
</h3>
Replaces every occurrence of the string <em>before</em> in the strings
that constitute the string list with the string <em>after</em>. Returns
a reference to the string list.
-<p> If <em>cs</em> is TRUE, the search is case sensitive; otherwise the
+<p> If <em>cs</em> is true, the search is case sensitive; otherwise the
search is case insensitive.
<p> Example:
<pre>
@@ -259,23 +259,23 @@ text to the text), or a TQMap&lt;int,TQString&gt; to sort the strings by
some integer index, etc.
<p>Example: <a href="themes-example.html#x341">themes/themes.cpp</a>.
-<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split"></a>TQStringList::split ( const&nbsp;<a href="tqregexp.html">TQRegExp</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split"></a>TQStringList::split ( const&nbsp;<a href="tqregexp.html">TQRegExp</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )<tt> [static]</tt>
</h3>
Splits the string <em>str</em> into strings wherever the <a href="tqregexp.html#regular-expression">regular expression</a> <em>sep</em> occurs, and returns the list of those strings.
-<p> If <em>allowEmptyEntries</em> is TRUE, a null string is inserted in
+<p> If <em>allowEmptyEntries</em> is true, a null string is inserted in
the list wherever the separator matches twice without intervening
text.
<p> For example, if you split the string "a,,b,c" on commas, <a href="#split">split</a>()
returns the three-item list "a", "b", "c" if <em>allowEmptyEntries</em>
-is FALSE (the default), and the four-item list "a", "", "b", "c"
-if <em>allowEmptyEntries</em> is TRUE.
+is false (the default), and the four-item list "a", "", "b", "c"
+if <em>allowEmptyEntries</em> is true.
<p> If <em>sep</em> does not match anywhere in <em>str</em>, split() returns a
single element list with the element containing the single string
<em>str</em>.
<p> <p>See also <a href="#join">join</a>() and <a href="tqstring.html#section">TQString::section</a>().
<p>Examples: <a href="tutorial2-03.html#x2552">chart/element.cpp</a>, <a href="dirview-example.html#x1703">dirview/dirview.cpp</a>, and <a href="httpd-example.html#x733">network/httpd/httpd.cpp</a>.
-<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split-2"></a>TQStringList::split ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split-2"></a>TQStringList::split ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> This version of the function uses a <a href="tqstring.html">TQString</a> as separator, rather
@@ -283,12 +283,12 @@ than a <a href="tqregexp.html#regular-expression">regular expression</a>.
<p> If <em>sep</em> is an empty string, the return value is a list of
one-character strings: <a href="#split">split</a>( TQString( "" ), "four" ) returns the
four-item list, "f", "o", "u", "r".
-<p> If <em>allowEmptyEntries</em> is TRUE, a null string is inserted in
+<p> If <em>allowEmptyEntries</em> is true, a null string is inserted in
the list wherever the separator matches twice without intervening
text.
<p> <p>See also <a href="#join">join</a>() and <a href="tqstring.html#section">TQString::section</a>().
-<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split-3"></a>TQStringList::split ( const&nbsp;<a href="tqchar.html">TQChar</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="split-3"></a>TQStringList::split ( const&nbsp;<a href="tqchar.html">TQChar</a>&nbsp;&amp;&nbsp;sep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str, bool&nbsp;allowEmptyEntries = false )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> This version of the function uses a <a href="tqchar.html">TQChar</a> as separator, rather