From 015b36e07410f5f8a7eefecc24d57717cb90e01d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 21 Mar 2025 13:07:16 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- src/libs/themeengine/themeengine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libs/themeengine') diff --git a/src/libs/themeengine/themeengine.cpp b/src/libs/themeengine/themeengine.cpp index 3f5ff65c..8d874067 100644 --- a/src/libs/themeengine/themeengine.cpp +++ b/src/libs/themeengine/themeengine.cpp @@ -836,7 +836,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("BannerBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->bannerBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->bannerBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("BannerBorderColor")); @@ -905,7 +905,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailRegularBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->thumbRegBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->thumbRegBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailRegularBorderColor")); @@ -974,7 +974,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailSelectedBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->thumbSelBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->thumbSelBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailSelectedBorderColor")); @@ -1043,7 +1043,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewRegularBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->listRegBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->listRegBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewRegularBorderColor")); @@ -1112,7 +1112,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewSelectedBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->listSelBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->listSelBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewSelectedBorderColor")); -- cgit v1.2.3