diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqevent.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqevent.3qt')
| -rw-r--r-- | doc/man/man3/tqevent.3qt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index f647ed966..90ae02295 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -38,7 +38,7 @@ The QEvent class is the base class of all event classes. Event objects contain e .PP Qt's main event loop (QApplication::exec()) fetches native window system events from the event queue, translates them into QEvents and sends the translated events to QObjects. .PP -In general, events come from the underlying window system (spontaneous() returns TRUE) but it is also possible to manually send events using QApplication::sendEvent() and QApplication::postEvent() (spontaneous() returns FALSE). +In general, events come from the underlying window system (spontaneous() returns true) but it is also possible to manually send events using QApplication::sendEvent() and QApplication::postEvent() (spontaneous() returns false). .PP QObjects receive events by having their TQObject::event() function called. The function can be reimplemented in subclasses to customize event handling and add additional event types; TQWidget::event() is a notable example. By default, events are dispatched to event handlers like TQObject::timerEvent() and TQWidget::mouseMoveEvent(). TQObject::installEventFilter() allows an object to intercept events destined for another object. .PP @@ -208,7 +208,7 @@ Contructs an event object of type \fItype\fR. .SH "QEvent::~QEvent ()\fC [virtual]\fR" Destroys the event. If it was posted, it will be removed from the list of events to be posted. .SH "bool QEvent::spontaneous () const" -Returns TRUE if the event originated outside the application, i.e. it is a system event; otherwise returns FALSE. +Returns true if the event originated outside the application, i.e. it is a system event; otherwise returns false. .SH "Type QEvent::type () const" Returns the event type. |
