summaryrefslogtreecommitdiffstats
path: root/src/kernel/qlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qlock.cpp')
-rw-r--r--src/kernel/qlock.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp
index 948e7602f..1a3c78a5c 100644
--- a/src/kernel/qlock.cpp
+++ b/src/kernel/qlock.cpp
@@ -105,9 +105,9 @@ public:
Creates a lock. \a filename is the file path of the Unix-domain
socket the TQt/Embedded client is using. \a id is the name of the
- particular lock to be created on that socket. If \a create is TRUE
+ particular lock to be created on that socket. If \a create is true
the lock is to be created (as the TQt/Embedded server does); if \a
- create is FALSE the lock should exist already (as the TQt/Embedded
+ create is false the lock should exist already (as the TQt/Embedded
client expects).
*/
@@ -176,7 +176,7 @@ TQLock::~TQLock()
/*!
\fn bool TQLock::isValid() const
- Returns TRUE if the lock constructor was succesful; returns FALSE if
+ Returns true if the lock constructor was succesful; returns false if
the lock could not be created or was not available to connect to.
*/
@@ -185,7 +185,7 @@ bool TQLock::isValid() const
#ifndef TQT_NO_QWS_MULTIPROCESS
return (data->id != -1);
#else
- return TRUE;
+ return true;
#endif
}
@@ -284,8 +284,8 @@ void TQLock::unlock()
/*!
\fn bool TQLock::locked() const
- Returns TRUE if the lock is currently held by the current process;
- otherwise returns FALSE.
+ Returns true if the lock is currently held by the current process;
+ otherwise returns false.
*/
bool TQLock::locked() const
@@ -293,6 +293,6 @@ bool TQLock::locked() const
#ifndef TQT_NO_QWS_MULTIPROCESS
return (data->count > 0);
#else
- return FALSE;
+ return false;
#endif
}