summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustomevent.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-23 12:42:20 +0900
committerMichele Calgaro <[email protected]>2023-09-24 20:14:25 +0900
commitd73937a9f779e2aafa6c392f94c9c29aa32b78fd (patch)
treee2c52ad435e8cca696acae34b1f451e934675a64 /doc/man/man3/tqcustomevent.3qt
parenteb42871e999672a8fad5793733c58be05928c8ea (diff)
downloadtqt3-r14.1.1.tar.gz
tqt3-r14.1.1.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b35e0845dc9b3c8b9a5e52a682c769f383933fae)
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.