summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}
}