summaryrefslogtreecommitdiffstats
path: root/tqt/tqextscintillalexerproperties.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:59:21 +0900
commit3f2dc73d5a565121db00f4a0f050a48910b51623 (patch)
tree3a2f1b4b88fc316e2c3d87b5e83058cb346b2852 /tqt/tqextscintillalexerproperties.cpp
parent3c23eba2e71e6aebeb7ff5091fc69d050170e1d1 (diff)
downloadtqscintilla-master.tar.gz
tqscintilla-master.zip
Replace TRUE/FALSE with boolean values true/falseHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt/tqextscintillalexerproperties.cpp')
-rw-r--r--tqt/tqextscintillalexerproperties.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqt/tqextscintillalexerproperties.cpp b/tqt/tqextscintillalexerproperties.cpp
index 1acc9c6..aed15ab 100644
--- a/tqt/tqextscintillalexerproperties.cpp
+++ b/tqt/tqextscintillalexerproperties.cpp
@@ -32,7 +32,7 @@
// The ctor.
TQextScintillaLexerProperties::TQextScintillaLexerProperties(TQObject *parent,const char *name)
- : TQextScintillaLexer(parent,name), fold_compact(TRUE)
+ : TQextScintillaLexer(parent,name), fold_compact(true)
{
}
@@ -156,16 +156,16 @@ void TQextScintillaLexerProperties::refreshProperties()
// Read properties from the settings.
bool TQextScintillaLexerProperties::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;
}
@@ -174,17 +174,17 @@ bool TQextScintillaLexerProperties::readProperties(TQSettings &qs,const TQString
// Write properties to the settings.
bool TQextScintillaLexerProperties::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 TQextScintillaLexerProperties::foldCompact() const
{
return fold_compact;