From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqevent.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tqevent.html') diff --git a/doc/html/tqevent.html b/doc/html/tqevent.html index 0c9b46753..2e0b64efd 100644 --- a/doc/html/tqevent.html +++ b/doc/html/tqevent.html @@ -56,9 +56,9 @@ event classes. Event objects contain event parameters. system events from the event queue, translates them into TQEvents and sends the translated events to TQObjects.

In general, events come from the underlying window system -(spontaneous() returns TRUE) but it is also possible to manually +(spontaneous() returns true) but it is also possible to manually send events using TQApplication::sendEvent() and -TQApplication::postEvent() (spontaneous() returns FALSE). +TQApplication::postEvent() (spontaneous() returns false).

TQObjects 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; @@ -171,8 +171,8 @@ it will be removed from the list of events to be posted.

bool TQEvent::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.

Type TQEvent::type () const

-- cgit v1.2.3