summaryrefslogtreecommitdiffstats
path: root/src/tdebluezioslave
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 /src/tdebluezioslave
parent41bb1cfae4f841e5d9120c63f421031134fccedc (diff)
downloadtdebluez-fa28128e.tar.gz
tdebluez-fa28128e.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 662db66bfd2c1ede73dc9b5f6867247948055e5e)
Diffstat (limited to 'src/tdebluezioslave')
-rw-r--r--src/tdebluezioslave/obex/obex.cpp12
1 files changed, 6 insertions, 6 deletions
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;
}
}