diff options
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. |
