diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqcstring.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqcstring.html')
-rw-r--r-- | doc/html/ntqcstring.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ntqcstring.html b/doc/html/ntqcstring.html index ad502586..82faf839 100644 --- a/doc/html/ntqcstring.html +++ b/doc/html/ntqcstring.html @@ -155,7 +155,7 @@ The price of doing this is that some algorithms will perform badly. For example, <a href="#append">append</a>() is O(length()) since it scans for a null terminator. Although you might use TQCString for text that is never exposed to the user, for most purposes, and especially for -user-visible text, you should use <a href="ntqstring.html">TQString</a>. TQString provides +user-visible text, you should use <a href="tqstring.html">TQString</a>. TQString provides <a href="shclass.html#implicit-sharing">implicit sharing</a>, Unicode and other <a href="i18n.html#internationalization">internationalization</a> support, and is well optimized. <p> Note that for the TQCString methods that take a <tt>const char *</tt> @@ -200,12 +200,12 @@ both strings contain only ASCII characters. (If <tt>$LC_CTYPE</tt> is set, most Unix systems do "the right thing".) Functions that this affects include <a href="#contains">contains</a>(), <a href="#find">find</a>(), <a href="#findRev">findRev</a>(), <a href="#operator-lt">operator<</a>(), <a href="#operator-lt-eq">operator<=</a>(), <a href="#operator-gt">operator></a>(), <a href="#operator-gt-eq">operator>=</a>(), <a href="#lower">lower</a>() and <a href="#upper">upper</a>(). -<p> This issue does not apply to <a href="ntqstring.html">TQString</a>s since they represent +<p> This issue does not apply to <a href="tqstring.html">TQString</a>s since they represent characters using Unicode. </blockquote> <p> <p> Performance note: The TQCString methods for <a href="ntqregexp.html">TQRegExp</a> searching are -implemented by converting the TQCString to a <a href="ntqstring.html">TQString</a> and performing +implemented by converting the TQCString to a <a href="tqstring.html">TQString</a> and performing the search on that. This implies a <a href="shclass.html#deep-copy">deep copy</a> of the TQCString data. If you are going to perform many TQRegExp searches on a large TQCString, you will get better performance by converting the @@ -283,15 +283,15 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Counts the number of overlapping occurrences of <em>rx</em> in the string. <p> Example: <pre> - <a href="ntqstring.html">TQString</a> s = "banana and panama"; + <a href="tqstring.html">TQString</a> s = "banana and panama"; <a href="ntqregexp.html">TQRegExp</a> r = TQRegExp( "a[nm]a", TRUE, FALSE ); - s.<a href="ntqstring.html#contains">contains</a>( r ); // 4 matches + s.<a href="tqstring.html#contains">contains</a>( r ); // 4 matches </pre> <p> <p>See also <a href="#find">find</a>() and <a href="#findRev">findRev</a>(). <p> <b>Warning:</b> If you want to apply this function repeatedly to the same -string it is more efficient to convert the string to a <a href="ntqstring.html">TQString</a> and +string it is more efficient to convert the string to a <a href="tqstring.html">TQString</a> and apply the function to that. <h3 class=fn><a href="ntqcstring.html">TQCString</a> <a name="copy"></a>TQCString::copy () const @@ -337,7 +337,7 @@ starting at position <em>index</em>. <p> Returns the position of the next match, or -1 if <em>rx</em> was not found. <p> <b>Warning:</b> If you want to apply this function repeatedly to the same -string it is more efficient to convert the string to a <a href="ntqstring.html">TQString</a> and +string it is more efficient to convert the string to a <a href="tqstring.html">TQString</a> and apply the function to that. <h3 class=fn>int <a name="findRev"></a>TQCString::findRev ( char c, int index = -1, bool cs = TRUE ) const @@ -368,7 +368,7 @@ starting at position <em>index</em> and searching backwards. <p> Returns the position of the next match (backwards), or -1 if <em>rx</em> was not found. <p> <b>Warning:</b> If you want to apply this function repeatedly to the same -string it is more efficient to convert the string to a <a href="ntqstring.html">TQString</a> and +string it is more efficient to convert the string to a <a href="tqstring.html">TQString</a> and apply the function to that. <h3 class=fn><a href="ntqcstring.html">TQCString</a> & <a name="insert"></a>TQCString::insert ( uint index, char c ) @@ -564,18 +564,18 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns a reference to the string. <p> Example: <pre> - <a href="ntqstring.html">TQString</a> s = "banana"; - s.<a href="ntqstring.html#replace">replace</a>( TQRegExp("a.*a"), "" ); // becomes "b" + <a href="tqstring.html">TQString</a> s = "banana"; + s.<a href="tqstring.html#replace">replace</a>( TQRegExp("a.*a"), "" ); // becomes "b" s = "banana"; - s.<a href="ntqstring.html#replace">replace</a>( TQRegExp("^[bn]a"), "X" ); // becomes "Xnana" + s.<a href="tqstring.html#replace">replace</a>( TQRegExp("^[bn]a"), "X" ); // becomes "Xnana" s = "banana"; - s.<a href="ntqstring.html#replace">replace</a>( TQRegExp("^[bn]a"), "" ); // becomes "nana" + s.<a href="tqstring.html#replace">replace</a>( TQRegExp("^[bn]a"), "" ); // becomes "nana" </pre> <p> <b>Warning:</b> If you want to apply this function repeatedly to the same -string it is more efficient to convert the string to a <a href="ntqstring.html">TQString</a> and +string it is more efficient to convert the string to a <a href="tqstring.html">TQString</a> and apply the function to that. <h3 class=fn><a href="ntqcstring.html">TQCString</a> & <a name="replace-3"></a>TQCString::replace ( char c, const char * after ) @@ -668,7 +668,7 @@ and returns a reference to the string. character <em>f</em>, and the precision (number of digits after the decimal point) is specified with <em>prec</em>. <p> The valid formats for <em>f</em> are 'e', 'E', 'f', 'g' and 'G'. The -formats are the same as for <a href="#sprintf">sprintf</a>(); they are explained in <a href="ntqstring.html#arg">TQString::arg</a>(). +formats are the same as for <a href="#sprintf">sprintf</a>(); they are explained in <a href="tqstring.html#arg">TQString::arg</a>(). <h3 class=fn><a href="ntqcstring.html">TQCString</a> & <a name="setNum-2"></a>TQCString::setNum ( short n ) </h3> |