summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustomevent.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-15 13:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 10:05:58 +0900
commit397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch)
tree0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/man/man3/tqcustomevent.3qt
parent755d46927cc6a5719e695aeb8133be6897de62d8 (diff)
downloadtqt-397b7afa.tar.gz
tqt-397b7afa.zip
Rename ntqapplication, ntqconfig and ntqmodules 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.3qt6
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.