diff options
Diffstat (limited to 'doc/man/man3/tqcustomevent.3qt')
-rw-r--r-- | doc/man/man3/tqcustomevent.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqcustomevent.3qt b/doc/man/man3/tqcustomevent.3qt index aa7f5d26a..1c57c1e31 100644 --- a/doc/man/man3/tqcustomevent.3qt +++ b/doc/man/man3/tqcustomevent.3qt @@ -9,9 +9,9 @@ .SH NAME QCustomEvent \- Support for custom events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -33,7 +33,7 @@ The QCustomEvent class provides support for custom events. .PP QCustomEvent 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. .PP -QCustomEvent 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 QEvent::Type enum. +QCustomEvent 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 QCustomEvent contains a generic void* data member that may be used for transferring event-specific data to the receiver. Note that since events are normally delivered asynchronously, the data pointer, if used, must remain valid until the event has been received and processed. .PP @@ -92,9 +92,9 @@ Example: See also TQWidget::customEvent(), QApplication::notify(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QCustomEvent::QCustomEvent ( int type )" -Constructs a custom event object with event type \fItype\fR. The value of \fItype\fR must be at least as large as QEvent::User. The data pointer is set to 0. +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. .SH "QCustomEvent::QCustomEvent ( Type type, void * data )" -Constructs a custom event object with the event type \fItype\fR and a pointer to \fIdata\fR. (Note that any int value may safely be cast to QEvent::Type). +Constructs a custom event object with the event type \fItype\fR and a pointer to \fIdata\fR. (Note that any int value may safely be cast to TQEvent::Type). .SH "void * QCustomEvent::data () const" Returns a pointer to the generic event data. .PP |