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-29 22:58:05 +0900 |
| commit | a88d4d648a4ae2d7d7abd23916b49b41c1a867f3 (patch) | |
| tree | 73aacc657e135ab179010d102fdbd7a0a9edc40d /libtdepim/kregexp3.h | |
| parent | 409b67ac0559a06dc58da81fc90f0ba959d6068c (diff) | |
| download | tdepim-a88d4d64.tar.gz tdepim-a88d4d64.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8f878546e0a859e78dfc2c6ff7f08507347a76ea)
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 ); }; |
