From d73937a9f779e2aafa6c392f94c9c29aa32b78fd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 23 Sep 2023 12:42:20 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit b35e0845dc9b3c8b9a5e52a682c769f383933fae) --- doc/man/man3/tqcustomevent.3qt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/man/man3/tqcustomevent.3qt') 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. -- cgit v1.2.3