From 3f2dc73d5a565121db00f4a0f050a48910b51623 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Apr 2025 13:24:41 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- tqt/tqextscintillalexerlua.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tqt/tqextscintillalexerlua.cpp') diff --git a/tqt/tqextscintillalexerlua.cpp b/tqt/tqextscintillalexerlua.cpp index 97676fd..1b627bb 100644 --- a/tqt/tqextscintillalexerlua.cpp +++ b/tqt/tqextscintillalexerlua.cpp @@ -32,7 +32,7 @@ // The ctor. TQextScintillaLexerLua::TQextScintillaLexerLua(TQObject *parent, const char *name) - : TQextScintillaLexer(parent,name), fold_compact(TRUE) + : TQextScintillaLexer(parent,name), fold_compact(true) { } @@ -298,16 +298,16 @@ void TQextScintillaLexerLua::refreshProperties() // Read properties from the settings. bool TQextScintillaLexerLua::readProperties(TQSettings &qs,const TQString &prefix) { - int rc = TRUE; + bool rc = true; bool ok, flag; // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + flag = qs.readBoolEntry(prefix + "foldcompact",true,&ok); if (ok) fold_compact = flag; else - rc = FALSE; + rc = false; return rc; } @@ -316,17 +316,17 @@ bool TQextScintillaLexerLua::readProperties(TQSettings &qs,const TQString &prefi // Write properties to the settings. bool TQextScintillaLexerLua::writeProperties(TQSettings &qs,const TQString &prefix) const { - int rc = TRUE; + bool rc = true; // Write the fold compact flag. if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; + rc = false; return rc; } -// Return TRUE if folds are compact. +// Return true if folds are compact. bool TQextScintillaLexerLua::foldCompact() const { return fold_compact; -- cgit v1.2.3