summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqobject.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqobject.3qt')
-rw-r--r--doc/man/man3/tqobject.3qt30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index f52bbde23..64367ea3a 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.PP
Inherits Qt.
.PP
--Inherited by QAccel, QAccessibleObject, TQAction, QApplication, QAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, QLayout, TQDragObject, TQEditorFactory, QEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, QTranslator, TQUrlOperator, and QValidator.
+-Inherited by QAccel, QAccessibleObject, TQAction, QApplication, QAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, QLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and QValidator.
.PP
.SS "Public Members"
.in +1c
@@ -32,10 +32,10 @@ Inherits Qt.
.BI "virtual QMetaObject * \fBmetaObject\fR () const"
.br
.ti -1c
-.BI "virtual bool \fBevent\fR ( QEvent * e )"
+.BI "virtual bool \fBevent\fR ( TQEvent * e )"
.br
.ti -1c
-.BI "virtual bool \fBeventFilter\fR ( TQObject * watched, QEvent * e )"
+.BI "virtual bool \fBeventFilter\fR ( TQObject * watched, TQEvent * e )"
.br
.ti -1c
.BI "bool \fBisA\fR ( const char * clname ) const"
@@ -259,7 +259,7 @@ This event handler can be reimplemented in a subclass to receive child events.
.PP
Child events are sent to objects when children are inserted or removed.
.PP
-Note that events with QEvent::type() QEvent::ChildInserted are posted (with QApplication::postEvent()) to make sure that the child's construction is completed before this function is called.
+Note that events with TQEvent::type() TQEvent::ChildInserted are posted (with QApplication::postEvent()) to make sure that the child's construction is completed before this function is called.
.PP
If a child is removed immediately after it is inserted, the \fCChildInserted\fR event may be suppressed, but the \fCChildRemoved\fR event will always be sent. In such cases it is possible that there will be a \fCChildRemoved\fR event without a corresponding \fCChildInserted\fR event.
.PP
@@ -267,7 +267,7 @@ If you change state based on \fCChildInserted\fR events, call TQWidget::constPol
.PP
.nf
.br
- QApplication::sendPostedEvents( this, QEvent::ChildInserted );
+ QApplication::sendPostedEvents( this, TQEvent::ChildInserted );
.br
.fi
in functions that depend on the state. One notable example is TQWidget::sizeHint().
@@ -382,7 +382,7 @@ This virtual function is called when something has been connected to \fIsignal\f
.PP
See also connect() and disconnectNotify().
.SH "void TQObject::customEvent ( QCustomEvent * )\fC [virtual protected]\fR"
-This event handler can be reimplemented in a subclass to receive custom events. Custom events are user-defined events with a type value at least as large as the "User" item of the QEvent::Type enum, and is typically a QCustomEvent or QCustomEvent subclass.
+This event handler can be reimplemented in a subclass to receive custom events. Custom events are user-defined events with a type value at least as large as the "User" item of the TQEvent::Type enum, and is typically a QCustomEvent or QCustomEvent subclass.
.PP
See also event() and QCustomEvent.
.SH "void TQObject::deleteLater ()\fC [slot]\fR"
@@ -492,7 +492,7 @@ This function is useful for debugging, but does nothing if the library has been
Dumps a tree of children to the debug output.
.PP
This function is useful for debugging, but does nothing if the library has been compiled in release mode (i.e. without debugging information).
-.SH "bool TQObject::event ( QEvent * e )\fC [virtual]\fR"
+.SH "bool TQObject::event ( TQEvent * e )\fC [virtual]\fR"
This virtual function receives events to an object and should return TRUE if the event \fIe\fR was recognized and processed.
.PP
The event() function can be reimplemented to customize the behavior of an object.
@@ -500,7 +500,7 @@ The event() function can be reimplemented to customize the behavior of an object
See also installEventFilter(), timerEvent(), QApplication::sendEvent(), QApplication::postEvent(), and TQWidget::event().
.PP
Reimplemented in TQWidget.
-.SH "bool TQObject::eventFilter ( TQObject * watched, QEvent * e )\fC [virtual]\fR"
+.SH "bool TQObject::eventFilter ( TQObject * watched, TQEvent * e )\fC [virtual]\fR"
Filters events if this object has been installed as an event filter for the \fIwatched\fR object.
.PP
In your reimplementation of this function, if you want to filter the event \fIe\fR, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.
@@ -520,7 +520,7 @@ Example:
.br
protected:
.br
- bool eventFilter( TQObject *obj, QEvent *ev );
+ bool eventFilter( TQObject *obj, TQEvent *ev );
.br
.br
private:
@@ -545,13 +545,13 @@ Example:
}
.br
.br
- bool MyMainWindow::eventFilter( TQObject *obj, QEvent *ev )
+ bool MyMainWindow::eventFilter( TQObject *obj, TQEvent *ev )
.br
{
.br
if ( obj == textEdit ) {
.br
- if ( e->type() == QEvent::KeyPress ) {
+ if ( e->type() == TQEvent::KeyPress ) {
.br
QKeyEvent *k = (QKeyEvent*)ev;
.br
@@ -653,16 +653,16 @@ Here's a \fCKeyPressEater\fR class that eats the key presses of its monitored ob
.br
protected:
.br
- bool eventFilter( TQObject *o, QEvent *e );
+ bool eventFilter( TQObject *o, TQEvent *e );
.br
};
.br
.br
- bool KeyPressEater::eventFilter( TQObject *o, QEvent *e )
+ bool KeyPressEater::eventFilter( TQObject *o, TQEvent *e )
.br
{
.br
- if ( e->type() == QEvent::KeyPress ) {
+ if ( e->type() == TQEvent::KeyPress ) {
.br
// special processing for key press
.br
@@ -913,7 +913,7 @@ Note that TQTimer's accuracy depends on the underlying operating system and hard
.PP
The TQTimer class provides a high-level programming interface with one-shot timers and timer signals instead of events.
.PP
-See also timerEvent(), killTimer(), killTimers(), QEventLoop::awake(), and QEventLoop::aboutToBlock().
+See also timerEvent(), killTimer(), killTimers(), TQEventLoop::awake(), and TQEventLoop::aboutToBlock().
.SH "void TQObject::timerEvent ( TQTimerEvent * )\fC [virtual protected]\fR"
This event handler can be reimplemented in a subclass to receive timer events for the object.
.PP