summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustomevent.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 21:06:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-28 18:25:42 +0900
commit8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (patch)
treefb639fd5c35cb99f87172bc61484f5bf74b6beb9 /doc/man/man3/tqcustomevent.3qt
parent0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (diff)
downloadtqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.tar.gz
tqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.zip
Rename environment class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqcustomevent.3qt')
-rw-r--r--doc/man/man3/tqcustomevent.3qt10
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