diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-27 16:55:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-27 16:55:48 +0900 |
commit | 8f878546e0a859e78dfc2c6ff7f08507347a76ea (patch) | |
tree | f95c1e5a2f97a2e200be23cd5d6ffde91487bd1d /libtdepim/kregexp3.h | |
parent | 625d3c38cd3a49d07b6e1f511fe06d0792440791 (diff) | |
download | tdepim-8f878546e0a859e78dfc2c6ff7f08507347a76ea.tar.gz tdepim-8f878546e0a859e78dfc2c6ff7f08507347a76ea.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdepim/kregexp3.h')
-rw-r--r-- | libtdepim/kregexp3.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/kregexp3.h b/libtdepim/kregexp3.h index 1bb3ac21..85c94d77 100644 --- a/libtdepim/kregexp3.h +++ b/libtdepim/kregexp3.h @@ -82,8 +82,8 @@ public: KRegExp3() : TQRegExp() {} KRegExp3( const TQString & pattern, - bool caseSensitive = TRUE, - bool wildcard = FALSE ) + bool caseSensitive = true, + bool wildcard = false ) : TQRegExp( pattern, caseSensitive, wildcard ) {} KRegExp3( const TQRegExp & rx ) : TQRegExp( rx ) {} @@ -99,13 +99,13 @@ public: @param start Start position for the search. If @p start is negative, starts @p -(start) positions from the end of @p str. - @param global If @p TRUE, requests to replace all occurrences - of the regexp with @p replacementStr; if @p FALSE, + @param global If @p true, requests to replace all occurrences + of the regexp with @p replacementStr; if @p false, only the first occurrence will be replaced. Equivalent to the /g switch to perl's s/// operator. @return The modified string. */ TQString replace( const TQString & str, const TQString & replacementStr, - int start=0, bool global=TRUE ); + int start=0, bool global=true ); }; |