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.3qt36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index 1ed6f43e..49b13fad 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -11,11 +11,11 @@ TQObject \- The base class of all TQt objects
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.</p>
.PP
-\fC#include <ntqobject.h>\fR
+\fC#include <tqobject.h>\fR
.PP
Inherits Qt.
.PP
-Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, QCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, QEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, QObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, QSqlDatabase, QSqlDriver, QSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator.
+Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, QCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, QEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, QSqlDatabase, QSqlDriver, QSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator.
.PP
.SS "Public Members"
.in +1c
@@ -77,10 +77,10 @@ Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient,
.BI "TQObject * \fBchild\fR ( const char * objName, const char * inheritsClass = 0, bool recursiveSearch = TRUE )"
.br
.ti -1c
-.BI "const QObjectList * \fBchildren\fR () const"
+.BI "const TQObjectList * \fBchildren\fR () const"
.br
.ti -1c
-.BI "QObjectList * \fBqueryList\fR ( const char * inheritsClass = 0, const char * objName = 0, bool regexpMatch = TRUE, bool recursiveSearch = TRUE ) const"
+.BI "TQObjectList * \fBqueryList\fR ( const char * inheritsClass = 0, const char * objName = 0, bool regexpMatch = TRUE, bool recursiveSearch = TRUE ) const"
.br
.ti -1c
.BI "virtual void \fBinsertChild\fR ( TQObject * obj )"
@@ -143,7 +143,7 @@ Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient,
.BI "TQString \fBtrUtf8\fR ( const char * sourceText, const char * comment )"
.br
.ti -1c
-.BI "const QObjectList * \fBobjectTrees\fR ()"
+.BI "const TQObjectList * \fBobjectTrees\fR ()"
.br
.ti -1c
.BI "bool \fBconnect\fR ( const TQObject * sender, const char * signal, const TQObject * receiver, const char * member )"
@@ -199,13 +199,13 @@ The TQObject class is the base class of all TQt objects.
.PP
TQObject is the heart of the TQt object model. The central feature in this model is a very powerful mechanism for seamless object communication called signals and slots. You can connect a signal to a slot with connect() and destroy the connection with disconnect(). To avoid never ending notification loops you can temporarily block signals with blockSignals(). The protected functions connectNotify() and disconnectNotify() make it possible to track connections.
.PP
-QObjects organize themselves in object trees. When you create a TQObject with another object as parent, the object will automatically do an insertChild() on the parent and thus show up in the parent's children() list. The parent takes ownership of the object i.e. it will automatically delete its children in its destructor. You can look for an object by name and optionally type using child() or queryList(), and get the list of tree roots using objectTrees().
+TQObjects organize themselves in object trees. When you create a TQObject with another object as parent, the object will automatically do an insertChild() on the parent and thus show up in the parent's children() list. The parent takes ownership of the object i.e. it will automatically delete its children in its destructor. You can look for an object by name and optionally type using child() or queryList(), and get the list of tree roots using objectTrees().
.PP
Every object has an object name() and can report its className() and whether it inherits() another class in the TQObject inheritance hierarchy.
.PP
-When an object is deleted, it emits a destroyed() signal. You can catch this signal to avoid dangling references to QObjects. The QGuardedPtr class provides an elegant way to use this feature.
+When an object is deleted, it emits a destroyed() signal. You can catch this signal to avoid dangling references to TQObjects. The QGuardedPtr class provides an elegant way to use this feature.
.PP
-QObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented to catch child events.
+TQObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented to catch child events.
.PP
Last but not least, TQObject provides the basic timer support in Qt; see QTimer for high-level support for timers.
.PP
@@ -213,7 +213,7 @@ Notice that the TQ_OBJECT macro is mandatory for any object that implements sign
.PP
All TQt widgets inherit TQObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than inherits( "TQWidget" ).
.PP
-Some TQObject functions, e.g. children(), objectTrees() and queryList() return a QObjectList. A QObjectList is a QPtrList of QObjects. QObjectLists support the same operations as QPtrLists and have an iterator class, QObjectListIt.
+Some TQObject functions, e.g. children(), objectTrees() and queryList() return a TQObjectList. A TQObjectList is a QPtrList of TQObjects. TQObjectLists support the same operations as QPtrLists and have an iterator class, TQObjectListIt.
.PP
See also Object Model.
.SH MEMBER FUNCTION DOCUMENTATION
@@ -275,10 +275,10 @@ in functions that depend on the state. One notable example is TQWidget::sizeHint
See also event() and QChildEvent.
.PP
Reimplemented in QMainWindow and QSplitter.
-.SH "const QObjectList * TQObject::children () const"
+.SH "const TQObjectList * TQObject::children () const"
Returns a list of child objects, or 0 if this object has no children.
.PP
-The QObjectList class is defined in the ntqobjectlist.h header file.
+The TQObjectList class is defined in the tqobjectlist.h header file.
.PP
The first child added is the first object in the list and the last child added is the last object in the list, i.e. new children are appended at the end.
.PP
@@ -752,10 +752,10 @@ This is an overloaded member function, provided for convenience. It behaves esse
Returns the name of this object, or \fIdefaultName\fR if the object does not have a name.
.SH "QCString TQObject::normalizeSignalSlot ( const char * signalSlot )\fC [static protected]\fR"
Normlizes the signal or slot definition \fIsignalSlot\fR by removing unnecessary whitespace.
-.SH "const QObjectList * TQObject::objectTrees ()\fC [static]\fR"
+.SH "const TQObjectList * TQObject::objectTrees ()\fC [static]\fR"
Returns a pointer to the list of all object trees (their root objects), or 0 if there are no objects.
.PP
-The QObjectList class is defined in the ntqobjectlist.h header file.
+The TQObjectList class is defined in the tqobjectlist.h header file.
.PP
The most recent root object created is the first object in the list and the first root object added is the last object in the list.
.PP
@@ -774,7 +774,7 @@ Information about all available properties are provided through the metaObject()
See also setProperty(), QVariant::isValid(), metaObject(), QMetaObject::propertyNames(), and QMetaObject::property().
.PP
Example: qutlook/centralwidget.cpp.
-.SH "QObjectList * TQObject::queryList ( const char * inheritsClass = 0, const char * objName = 0, bool regexpMatch = TRUE, bool recursiveSearch = TRUE ) const"
+.SH "TQObjectList * TQObject::queryList ( const char * inheritsClass = 0, const char * objName = 0, bool regexpMatch = TRUE, bool recursiveSearch = TRUE ) const"
Searches the children and optionally grandchildren of this object, and returns a list of those objects that are named or that match \fIobjName\fR and inherit \fIinheritsClass\fR. If \fIinheritsClass\fR is 0 (the default), all classes match. If \fIobjName\fR is 0 (the default), all object names match.
.PP
If \fIregexpMatch\fR is TRUE (the default), \fIobjName\fR is a regular expression that the objects's names must match. The syntax is that of a QRegExp. If \fIregexpMatch\fR is FALSE, \fIobjName\fR is a string and object names must match it exactly.
@@ -789,9 +789,9 @@ This somewhat contrived example disables all the buttons in this window:
.PP
.nf
.br
- QObjectList *l = topLevelWidget()->queryList( "QButton" );
+ TQObjectList *l = topLevelWidget()->queryList( "QButton" );
.br
- QObjectListIt it( *l ); // iterate over the buttons
+ TQObjectListIt it( *l ); // iterate over the buttons
.br
TQObject *obj;
.br
@@ -810,7 +810,7 @@ This somewhat contrived example disables all the buttons in this window:
.br
.fi
.PP
-The QObjectList class is defined in the ntqobjectlist.h header file.
+The TQObjectList class is defined in the tqobjectlist.h header file.
.PP
\fBWarning:\fR Delete the list as soon you have finished using it. The list contains pointers that may become invalid at almost any time without notice (as soon as the user closes a window you may have dangling pointers, for example).
.PP
@@ -977,7 +977,7 @@ Returns 0 if there is no such child.
.fi
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqobject.html
+.BR http://doc.trolltech.com/tqobject.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the