summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 11:29:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 18:55:59 +0900
commitfa28128ee34b01aceb51920d6fd455107d486d8a (patch)
treec787866b4f80231c25870b7a77544e722d66bb0e
parent41bb1cfae4f841e5d9120c63f421031134fccedc (diff)
downloadtdebluez-fa28128ee34b01aceb51920d6fd455107d486d8a.tar.gz
tdebluez-fa28128ee34b01aceb51920d6fd455107d486d8a.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 662db66bfd2c1ede73dc9b5f6867247948055e5e)
-rw-r--r--src/tdebluez/devicesetupwizard.cpp4
-rw-r--r--src/tdebluezioslave/obex/obex.cpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/tdebluez/devicesetupwizard.cpp b/src/tdebluez/devicesetupwizard.cpp
index c4e15d0..72a813b 100644
--- a/src/tdebluez/devicesetupwizard.cpp
+++ b/src/tdebluez/devicesetupwizard.cpp
@@ -71,12 +71,12 @@ DeviceSetupWizard::DeviceSetupWizard(ObjectManagerImpl* _manager) :
m_config = TDEGlobal::config();
// create the first ListView
- tQListViewSrc->setRootIsDecorated(TRUE);
+ tQListViewSrc->setRootIsDecorated(true);
tQListViewSrc->setSelectionMode(TQListView::Multi);
tQListViewSrc->clear();
// create the second ListView
- tQListViewDst->setRootIsDecorated(TRUE);
+ tQListViewDst->setRootIsDecorated(true);
tQListViewDst->setSelectionMode(TQListView::Multi);
tQListViewDst->clear();
diff --git a/src/tdebluezioslave/obex/obex.cpp b/src/tdebluezioslave/obex/obex.cpp
index 63d6082..1a00b89 100644
--- a/src/tdebluezioslave/obex/obex.cpp
+++ b/src/tdebluezioslave/obex/obex.cpp
@@ -164,9 +164,9 @@ UDSEntry Obex::createUDSEntry(const TQMap<TQString, TQT_DBusData> &map)
if (mit.key() == "Group-perm")
{
TQString v = mit.data().toVariant().value.toString();
- if (v.contains('R', FALSE))
+ if (v.contains('R', false))
mode |= S_IRGRP;
- if (v.contains('W', FALSE))
+ if (v.contains('W', false))
mode |= S_IWGRP;
}
if (mit.key() == "Modified")
@@ -193,9 +193,9 @@ UDSEntry Obex::createUDSEntry(const TQMap<TQString, TQT_DBusData> &map)
if (mit.key() == "Other-perm")
{
TQString v = mit.data().toVariant().value.toString();
- if (v.contains('R', FALSE))
+ if (v.contains('R', false))
mode |= S_IROTH;
- if (v.contains('W', FALSE))
+ if (v.contains('W', false))
mode |= S_IWOTH;
}
if (mit.key() == "Type")
@@ -214,9 +214,9 @@ UDSEntry Obex::createUDSEntry(const TQMap<TQString, TQT_DBusData> &map)
if (mit.key() == "User-perm")
{
TQString v = mit.data().toVariant().value.toString();
- if (v.contains('R', FALSE))
+ if (v.contains('R', false))
mode |= S_IRUSR;
- if (v.contains('W', FALSE))
+ if (v.contains('W', false))
mode |= S_IWUSR;
}
}