diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:05:18 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:13:05 +0900 |
| commit | a4ebd73f48610ed351c9c53f3646d0597f8ea7bc (patch) | |
| tree | 2edd219eef4cb8f35bb3844d06902ae8b2fcb565 /src/tools/tqwaitcondition_unix.cpp | |
| parent | 7d612f7c91d55501276a385a30dbadb121e7bd9f (diff) | |
| download | tqt-rename/true-false-9.tar.gz tqt-rename/true-false-9.zip | |
Replace TRUE/FALSE with boolean values true/false - part 9rename/true-false-9
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqwaitcondition_unix.cpp')
| -rw-r--r-- | src/tools/tqwaitcondition_unix.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/tqwaitcondition_unix.cpp b/src/tools/tqwaitcondition_unix.cpp index 78fdb16bc..8067c4ace 100644 --- a/src/tools/tqwaitcondition_unix.cpp +++ b/src/tools/tqwaitcondition_unix.cpp @@ -216,10 +216,10 @@ void TQWaitCondition::wakeAll() block until either of these conditions is met: \list \i Another thread signals it using wakeOne() or wakeAll(). This - function will return TRUE in this case. + function will return true in this case. \i \a time milliseconds has elapsed. If \a time is ULONG_MAX (the default), then the wait will never timeout (the event must be - signalled). This function will return FALSE if the wait timed + signalled). This function will return false if the wait timed out. \endlist @@ -265,10 +265,10 @@ bool TQWaitCondition::wait(unsigned long time) will block until either of these conditions is met: \list \i Another thread signals it using wakeOne() or wakeAll(). This - function will return TRUE in this case. + function will return true in this case. \i \a time milliseconds has elapsed. If \a time is ULONG_MAX (the default), then the wait will never timeout (the event must be - signalled). This function will return FALSE if the wait timed + signalled). This function will return false if the wait timed out. \endlist @@ -281,14 +281,14 @@ bool TQWaitCondition::wait(unsigned long time) bool TQWaitCondition::wait(TQMutex *mutex, unsigned long time) { if (! mutex) - return FALSE; + return false; if (mutex->d->type() == Q_MUTEX_RECURSIVE) { #ifdef QT_CHECK_RANGE tqWarning("Wait condition warning: using recursive mutexes with\n" " wait conditions is undefined!"); #endif - return FALSE; + return false; } int ret; |
