summaryrefslogtreecommitdiffstats
path: root/tqt/tqextscintillaapis.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/tqextscintillaapis.cpp
parent3c23eba2e71e6aebeb7ff5091fc69d050170e1d1 (diff)
downloadtqscintilla-3f2dc73d5a565121db00f4a0f050a48910b51623.tar.gz
tqscintilla-3f2dc73d5a565121db00f4a0f050a48910b51623.zip
Replace TRUE/FALSE with boolean values true/falseHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt/tqextscintillaapis.cpp')
-rw-r--r--tqt/tqextscintillaapis.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqt/tqextscintillaapis.cpp b/tqt/tqextscintillaapis.cpp
index 635b439..06622f5 100644
--- a/tqt/tqextscintillaapis.cpp
+++ b/tqt/tqextscintillaapis.cpp
@@ -30,7 +30,7 @@
// The ctor.
-TQextScintillaAPIs::TQextScintillaAPIs() : sorted(TRUE), ctcursor(0)
+TQextScintillaAPIs::TQextScintillaAPIs() : sorted(true), ctcursor(0)
{
}
@@ -47,7 +47,7 @@ bool TQextScintillaAPIs::load(const TQString &fname)
TQFile f(fname);
if (!f.open(IO_ReadOnly))
- return FALSE;
+ return false;
TQTextStream ts(&f);
@@ -61,9 +61,9 @@ bool TQextScintillaAPIs::load(const TQString &fname)
apis.append(line);
}
- sorted = FALSE;
+ sorted = false;
- return TRUE;
+ return true;
}
@@ -71,7 +71,7 @@ bool TQextScintillaAPIs::load(const TQString &fname)
void TQextScintillaAPIs::add(const TQString &entry)
{
apis.append(entry);
- sorted = FALSE;
+ sorted = false;
}
@@ -79,7 +79,7 @@ void TQextScintillaAPIs::add(const TQString &entry)
void TQextScintillaAPIs::clear()
{
apis.clear();
- sorted = TRUE;
+ sorted = true;
}
@@ -208,6 +208,6 @@ void TQextScintillaAPIs::ensureSorted()
if (!sorted)
{
apis.sort();
- sorted = TRUE;
+ sorted = true;
}
}