From d03e3f5a2f7a35bd5e3cbe63dc66db767c2e1fd4 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Tue, 6 Jan 2026 02:10:19 +0100
Subject: Replace TRUE/FALSE with boolean values true/false. Finishing the
 remaining renames from #158.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 tderesources/caldav/job.cpp     | 2 +-
 tderesources/carddav/job.cpp    | 2 +-
 tderesources/carddav/writer.cpp | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tderesources/caldav/job.cpp b/tderesources/caldav/job.cpp
index 354898ae..d44f6105 100644
--- a/tderesources/caldav/job.cpp
+++ b/tderesources/caldav/job.cpp
@@ -52,7 +52,7 @@ CalDavJob::~CalDavJob() {
 void CalDavJob::enableCaldavDebug(runtime_info* rt) {
     if (rt && rt->options) {
         rt->options->debug = 0; // if debug = 1, it causes major CPU overhead
-        rt->options->verify_ssl_certificate = FALSE;
+        rt->options->verify_ssl_certificate = 0;
     }
 }
 
diff --git a/tderesources/carddav/job.cpp b/tderesources/carddav/job.cpp
index 98f26941..51e090d9 100644
--- a/tderesources/carddav/job.cpp
+++ b/tderesources/carddav/job.cpp
@@ -51,7 +51,7 @@ CardDavJob::~CardDavJob() {
 void CardDavJob::enableCarddavDebug(runtime_info* rt) {
     if (rt && rt->options) {
         rt->options->debug = 0; // if debug = 1, it causes major CPU overhead
-        rt->options->verify_ssl_certificate = FALSE;
+        rt->options->verify_ssl_certificate = 0;
     }
 }
 
diff --git a/tderesources/carddav/writer.cpp b/tderesources/carddav/writer.cpp
index a90665d1..345d3f66 100644
--- a/tderesources/carddav/writer.cpp
+++ b/tderesources/carddav/writer.cpp
@@ -58,8 +58,8 @@ int CardDavWriter::runJob(runtime_info* RT) {
             res = pushObjects(mChanged, carddav_modify_object_by_uri, OK, RT);
         if (OK == res) {
             kdDebug() << "pushing deleted objects" << '\n';
-            while (mDeleted.contains("BEGIN:VCARD", TRUE) > 0) {
-                int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
+            while (mDeleted.contains("BEGIN:VCARD", true) > 0) {
+                int endLocation = mDeleted.find("END:VCARD", 0, true);
                 TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
                 mDeleted = mDeleted.remove(0, endLocation+9);
                 if (getUseURI() == false)
@@ -82,8 +82,8 @@ int CardDavWriter::runJob(runtime_info* RT) {
                 res = pushObjects(mChanged, carddav_add_object, OK, RT);
             if (OK == res) {
                 kdDebug() << "pushing deleted objects" << '\n';
-                while (mDeleted.contains("BEGIN:VCARD", TRUE) > 0) {
-                    int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
+                while (mDeleted.contains("BEGIN:VCARD", true) > 0) {
+                    int endLocation = mDeleted.find("END:VCARD", 0, true);
                     TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
                     mDeleted = mDeleted.remove(0, endLocation+9);
                     if (getUseURI() == false)
-- 
cgit v1.2.3

