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-08 19:38:03 +0900 |
| commit | 7d612f7c91d55501276a385a30dbadb121e7bd9f (patch) | |
| tree | 4c6f1546e16db32779dfbf5c9e107b938faee6bb /src/kernel/tqeventloop_x11.cpp | |
| parent | 5a863a8932d14b99c5f838c4efa1618070d71b29 (diff) | |
| download | tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.tar.gz tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqeventloop_x11.cpp')
| -rw-r--r-- | src/kernel/tqeventloop_x11.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/tqeventloop_x11.cpp b/src/kernel/tqeventloop_x11.cpp index 97fb570dd..74014ddbd 100644 --- a/src/kernel/tqeventloop_x11.cpp +++ b/src/kernel/tqeventloop_x11.cpp @@ -152,7 +152,7 @@ bool TQEventLoop::processEvents( ProcessEventsFlags flags ) // also flushes output buffer while ( XPending( TQPaintDevice::x11AppDisplay() ) ) { if ( d->shortcut ) { - return FALSE; + return false; } XNextEvent( TQPaintDevice::x11AppDisplay(), &event ); @@ -194,25 +194,25 @@ bool TQEventLoop::processEvents( ProcessEventsFlags flags ) nevents++; if ( tqApp->x11ProcessEvent( &event ) == 1 ) - return TRUE; + return true; } } } } if ( d->shortcut ) { - return FALSE; + return false; } TQApplication::sendPostedEvents(); const uint exclude_all = ExcludeSocketNotifiers | ExcludeTimers; if ( nevents > 0 && ( flags & exclude_all ) == exclude_all && ( flags & WaitForMore ) ) { - return TRUE; + return true; } // don't block if exitLoop() or exit()/quit() has been called. - bool canWait = d->exitloop || d->quitnow ? FALSE : (flags & WaitForMore); + bool canWait = d->exitloop || d->quitnow ? false : (flags & WaitForMore); // Process timers and socket notifiers - the common UNIX stuff @@ -346,7 +346,7 @@ bool TQEventLoop::processEvents( ProcessEventsFlags flags ) static const char *t[] = { "Read", "Write", "Exception" }; tqWarning("TQSocketNotifier: invalid socket %d and type '%s', disabling...", sn->fd, t[type]); - sn->obj->setEnabled(FALSE); + sn->obj->setEnabled(false); } sn = list->next(); |
