From 87d29563e3ccdeb7fea0197e262e667ef323ff9c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jul 2024 14:56:09 +0900 Subject: Rename utility class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqstringlist.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/tqstringlist.html') diff --git a/doc/html/tqstringlist.html b/doc/html/tqstringlist.html index bf928e53a..a6dce0d47 100644 --- a/doc/html/tqstringlist.html +++ b/doc/html/tqstringlist.html @@ -108,7 +108,7 @@ string (with an optional separator) using join(), e.g.

You can sort the list with sort(), and extract a new list which contains only those strings which contain a particular substring -(or match a particular regular expression) using the grep() +(or match a particular regular expression) using the grep() functions, e.g.

     fonts.sort();
@@ -191,10 +191,10 @@ case is ignored.
  
 

See also TQString::find(). -

TQStringList TQStringList::grep ( const TQRegExp & rx ) const +

TQStringList TQStringList::grep ( const TQRegExp & rx ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

Returns a list of all the strings that match the regular expression rx. +

Returns a list of all the strings that match the regular expression rx.

See also TQString::find().

TQStringList & TQStringList::gres ( const TQString & before, const TQString & after, bool cs = TRUE ) @@ -214,7 +214,7 @@ search is case insensitive.

See also TQString::replace(). -

TQStringList & TQStringList::gres ( const TQRegExp & rx, const TQString & after ) +

TQStringList & TQStringList::gres ( const TQRegExp & rx, const TQString & after )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Replaces every occurrence of the regexp rx in the string @@ -227,7 +227,7 @@ with after. Returns a reference to the string list. // list == ["olpha", "beta", "gamma", "epsilon"]

-

For regexps containing capturing parentheses, occurrences of \1, +

For regexps containing capturing parentheses, occurrences of \1, \2, ..., in after are replaced with rx.cap(1), cap(2), ...

Example: @@ -260,9 +260,9 @@ text to the text), or a TQMap<int,TQString> to sort the strings by some integer index, etc.

Example: themes/themes.cpp. -

TQStringList TQStringList::split ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE ) [static] +

TQStringList TQStringList::split ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE ) [static]

-Splits the string str into strings wherever the regular expression sep occurs, and returns the list of those strings. +Splits the string str into strings wherever the regular expression sep occurs, and returns the list of those strings.

If allowEmptyEntries is TRUE, a null string is inserted in the list wherever the separator matches twice without intervening text. @@ -280,7 +280,7 @@ single element list with the element containing the single string This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

This version of the function uses a TQString as separator, rather -than a regular expression. +than a regular expression.

If sep is an empty string, the return value is a list of one-character strings: split( TQString( "" ), "four" ) returns the four-item list, "f", "o", "u", "r". @@ -293,7 +293,7 @@ text. This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

This version of the function uses a TQChar as separator, rather -than a regular expression. +than a regular expression.

See also join() and TQString::section(). -- cgit v1.2.3