diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-08 15:17:51 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-14 17:51:59 +0900 |
| commit | 3a477fb70884668d163f6631a73c8ab894928bcc (patch) | |
| tree | 0ac0327df978cf22b7a1f495f0649591bb39ed2a /src/kernel/qlock.cpp | |
| parent | e4085a83c143eb366d0364596297b322476cc652 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 8r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7d612f7c91d55501276a385a30dbadb121e7bd9f)
Diffstat (limited to 'src/kernel/qlock.cpp')
| -rw-r--r-- | src/kernel/qlock.cpp | 14 |
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 } |
