summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustomevent.3qt
diff options
context:
space:
mode:
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 5eb72bc64..aa7f5d26a 100644
--- a/doc/man/man3/tqcustomevent.3qt
+++ b/doc/man/man3/tqcustomevent.3qt
@@ -31,7 +31,7 @@ Inherits QEvent.
.SH DESCRIPTION
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 QObject instances using QApplication::postEvent() or QApplication::sendEvent(). Subclasses of QObject can easily receive custom events by implementing the QObject::customEvent() event handler function.
+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.
.PP
@@ -49,15 +49,15 @@ Example:
.br
public:
.br
- ColorChangeEvent( QColor color )
+ ColorChangeEvent( TQColor color )
.br
: QCustomEvent( 65432 ), c( color ) {}
.br
- QColor color() const { return c; }
+ TQColor color() const { return c; }
.br
private:
.br
- QColor c;
+ TQColor c;
.br
};
.br
@@ -89,7 +89,7 @@ Example:
.br
.fi
.PP
-See also QWidget::customEvent(), QApplication::notify(), and Event Classes.
+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.