diff options
Diffstat (limited to 'doc/man/man3/tqcustomevent.3qt')
-rw-r--r-- | doc/man/man3/tqcustomevent.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqcustomevent.3qt b/doc/man/man3/tqcustomevent.3qt index a3e3dddaf..77da419d8 100644 --- a/doc/man/man3/tqcustomevent.3qt +++ b/doc/man/man3/tqcustomevent.3qt @@ -31,7 +31,7 @@ Inherits TQEvent. .SH DESCRIPTION The TQCustomEvent class provides support for custom events. .PP -TQCustomEvent is a generic event class for user-defined events. User defined events can be sent to widgets or other TQObject instances using QApplication::postEvent() or QApplication::sendEvent(). Subclasses of TQObject can easily receive custom events by implementing the TQObject::customEvent() event handler function. +TQCustomEvent is a generic event class for user-defined events. User defined events can be sent to widgets or other TQObject instances using TQApplication::postEvent() or TQApplication::sendEvent(). Subclasses of TQObject can easily receive custom events by implementing the TQObject::customEvent() event handler function. .PP TQCustomEvent objects should be created with a type ID that uniquely identifies the event type. To avoid clashes with the Qt-defined events types, the value should be at least as large as the value of the "User" entry in the TQEvent::Type enum. .PP @@ -67,7 +67,7 @@ Example: .br ColorChangeEvent* ce = new ColorChangeEvent( blue ); .br - QApplication::postEvent( receiver, ce ); // TQt will delete it when done + TQApplication::postEvent( receiver, ce ); // TQt will delete it when done .br .br // To receive an event of this custom event type: @@ -89,7 +89,7 @@ Example: .br .fi .PP -See also TQWidget::customEvent(), QApplication::notify(), and Event Classes. +See also TQWidget::customEvent(), TQApplication::notify(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQCustomEvent::TQCustomEvent ( int type )" Constructs a custom event object with event type \fItype\fR. The value of \fItype\fR must be at least as large as TQEvent::User. The data pointer is set to 0. |