diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:24:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:59:21 +0900 |
commit | 3f2dc73d5a565121db00f4a0f050a48910b51623 (patch) | |
tree | 3a2f1b4b88fc316e2c3d87b5e83058cb346b2852 /tqt/tqextscintillaapis.cpp | |
parent | 3c23eba2e71e6aebeb7ff5091fc69d050170e1d1 (diff) | |
download | tqscintilla-3f2dc73d5a565121db00f4a0f050a48910b51623.tar.gz tqscintilla-3f2dc73d5a565121db00f4a0f050a48910b51623.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt/tqextscintillaapis.cpp')
-rw-r--r-- | tqt/tqextscintillaapis.cpp | 14 |
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; } } |