From f0635eebccb5520e01faff7e9406a98d46dd0f8c Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Thu, 5 Feb 2026 20:36:13 +0100
Subject: DEB compiz-trinity: Replace TRUE/FALSE with boolean values
 true/false.
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>
---
 .../compiz-trinity-0.8.4/debian/changelog          |   6 +
 .../debian/patches/113-tqt-rename-true-false.diff  | 174 +++++++++++++++++++++
 .../compiz-trinity-0.8.4/debian/patches/series     |   1 +
 3 files changed, 181 insertions(+)
 create mode 100644 debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff

diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
index 8a38037b..24c446c3 100644
--- a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
@@ -1,3 +1,9 @@
+compiz-trinity (0.8.4-3debian14.0.0+18~a) forky; urgency=low
+
+  * Replace TRUE/FALSE with boolean values true/false.
+
+ -- Slávek Banko <slavek.banko@axis.cz>  Thu, 05 Feb 2026 20:35:50 +0100
+
 compiz-trinity (0.8.4-3debian14.0.0+17~a) forky; urgency=low
 
   * Adjust after renaming ksimpleconfig -> tdesimpleconfig
diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff
new file mode 100644
index 00000000..c0081f14
--- /dev/null
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff
@@ -0,0 +1,174 @@
+Index: b/tde/window-decorator/decorator.cpp
+===================================================================
+--- a/tde/window-decorator/decorator.cpp
++++ b/tde/window-decorator/decorator.cpp
+@@ -568,7 +568,7 @@
+ 	if (client->handleMap ())
+ 	{
+ 	    if (!mIdleTimer.isActive ())
+-		mIdleTimer.start (0, TRUE);
++		mIdleTimer.start (0, true);
+ 	}
+     } break;
+     case ConfigureNotify: {
+@@ -589,7 +589,7 @@
+ 	if (client->handleConfigure (TQSize (xce->width, xce->height)))
+ 	{
+ 	    if (!mIdleTimer.isActive ())
+-		mIdleTimer.start (0, TRUE);
++		mIdleTimer.start (0, true);
+ 	}
+     } break;
+     case SelectionRequest:
+@@ -801,7 +801,7 @@
+ 	    if (client->pixmapId ())
+ 	    {
+ 		if (!mIdleTimer.isActive ())
+-		    mIdleTimer.start (0, TRUE);
++		    mIdleTimer.start (0, true);
+ 	    }
+ 
+ 	    return true;
+Index: b/tde/window-decorator/utils.cpp
+===================================================================
+--- a/tde/window-decorator/utils.cpp
++++ b/tde/window-decorator/utils.cpp
+@@ -155,7 +155,7 @@
+ 
+     KWD::trapXError ();
+     result = XGetWindowProperty (tqt_xdisplay (), id, property,
+-				 0L, 1L, FALSE, XA_CARDINAL, &actual, &format,
++				 0L, 1L, false, XA_CARDINAL, &actual, &format,
+ 				 &n, &left, &data);
+     if (KWD::popXError ())
+ 	return defaultValue;
+Index: b/tde/window-decorator/window.cpp
+===================================================================
+--- a/tde/window-decorator/window.cpp
++++ b/tde/window-decorator/window.cpp
+@@ -102,8 +102,8 @@
+ 	{
+ 	    mName = wInfo.visibleName ();
+ 
+-	    mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, TRUE),
+-			       KWin::icon (mClientId, 32, 32, TRUE));
++	    mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, true),
++			       KWin::icon (mClientId, 32, 32, true));
+ 	    mOpacity = readPropertyShort (mClientId, Atoms::netWmWindowOpacity,
+ 					  0xffff);
+ 	}
+@@ -413,7 +413,7 @@
+     bool		  active = isActive ();
+ 
+     if (!mSupportTakeFocus)
+-	active = TRUE;
++	active = true;
+ 
+     switch (qme->button ()) {
+     case TQt::LeftButton:
+@@ -1097,7 +1097,7 @@
+     if (!force)
+     {
+ 	if (w == width () && h == height ())
+-	    return FALSE;
++	    return false;
+     }
+ 
+     /* reset shape */
+@@ -1192,7 +1192,7 @@
+     mDecor->widget ()->show ();
+     mDecor->widget ()->repaint ();
+ 
+-    return TRUE;
++    return true;
+ }
+ 
+ void
+@@ -1225,33 +1225,33 @@
+ KWD::Window::handleMap (void)
+ {
+     if (!mPendingMap)
+-	return FALSE;
++	return false;
+ 
+     mPendingMap = 0;
+     if (mPendingConfigure)
+-	return FALSE;
++	return false;
+ 
+     rebindPixmap ();
+ 
+-    return TRUE;
++    return true;
+ }
+ 
+ bool
+ KWD::Window::handleConfigure (TQSize size)
+ {
+     if (!mPendingConfigure)
+-	return FALSE;
++	return false;
+ 
+     if (size != mSize)
+-	return FALSE;
++	return false;
+ 
+     mPendingConfigure = 0;
+     if (mPendingConfigure || mPendingMap)
+-	return FALSE;
++	return false;
+ 
+     rebindPixmap ();
+ 
+-    return TRUE;
++    return true;
+ }
+ 
+ void
+@@ -1791,8 +1791,8 @@
+ void
+ KWD::Window::updateIcons (void)
+ {
+-    mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, TRUE),
+-		       KWin::icon (mClientId, 32, 32, TRUE));
++    mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, true),
++		       KWin::icon (mClientId, 32, 32, true));
+     mDecor->iconChange ();
+ }
+ 
+@@ -1995,7 +1995,7 @@
+ 				    r2.handle (),
+ 				    (unsigned short) (alpha * 0xffff),
+ 				    shade_alpha,
+-				    TRUE);
++				    true);
+     }
+ 
+     xOff = 0;
+@@ -2018,7 +2018,7 @@
+ 				    r2.handle (),
+ 				    (unsigned short) (alpha * 0xffff),
+ 				    shade_alpha,
+-				    TRUE);
++				    true);
+     }
+ 
+     xOff = 0;
+@@ -2041,7 +2041,7 @@
+ 				    r2.handle (),
+ 				    (unsigned short) (alpha * 0xffff),
+ 				    shade_alpha,
+-				    TRUE);
++				    true);
+     }
+ 
+     xOff = mContext.extents.left + mGeometry.width ();
+@@ -2064,7 +2064,7 @@
+ 				    r2.handle (),
+ 				    (unsigned short) (alpha * 0xffff),
+ 				    shade_alpha,
+-				    TRUE);
++				    true);
+     }
+ 
+     mDamage = TQRegion ();
diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
index 316d9715..f42df2ce 100644
--- a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
@@ -33,3 +33,4 @@ kubuntu_04_trinity.patch
 110-rename-kstandarddirs.diff
 111-remove-dbus-tqt-1-dependency.diff
 112-rename-ksimpleconfig.diff
+113-tqt-rename-true-false.diff
-- 
cgit v1.2.3

