summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustomevent.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
commitb35e0845dc9b3c8b9a5e52a682c769f383933fae (patch)
treee4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqcustomevent.3qt
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
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 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.