From 8f878546e0a859e78dfc2c6ff7f08507347a76ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Apr 2025 16:55:48 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- libtdepim/kregexp3.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libtdepim/kregexp3.h') 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 ); }; -- cgit v1.2.3