diff options
Diffstat (limited to 'doc/html/tqobject.html')
-rw-r--r-- | doc/html/tqobject.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index d1098dbc3..85cb488d0 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p> <p><tt>#include <<a href="tqobject-h.html">tqobject.h</a>></tt> <p>Inherits <a href="tqt.html">TQt</a>. --<p>Inherited by <a href="tqaccel.html">TQAccel</a>, <a href="tqaccessibleobject.html">TQAccessibleObject</a>, <a href="tqaction.html">TQAction</a>, <a href="ntqapplication.html">TQApplication</a>, <a href="tqassistantclient.html">TQAssistantClient</a>, <a href="tqdatapump.html">TQDataPump</a>, <a href="tqwidget.html">TQWidget</a>, <a href="tqcanvas.html">TQCanvas</a>, <a href="tqstyle.html">TQStyle</a>, <a href="tqclipboard.html">TQClipboard</a>, <a href="tqdns.html">TQDns</a>, <a href="tqlayout.html">TQLayout</a>, <a href="tqdragobject.html">TQDragObject</a>, <a href="tqeditorfactory.html">TQEditorFactory</a>, <a href="tqeventloop.html">TQEventLoop</a>, <a href="tqfileiconprovider.html">TQFileIconProvider</a>, <a href="tqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="tqnetworkoperation.html">TQNetworkOperation</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="tqprocess.html">TQProcess</a>, <a href="tqserversocket.html">TQServerSocket</a>, <a href="tqsessionmanager.html">TQSessionManager</a>, <a href="tqsignal.html">TQSignal</a>, <a href="tqsignalmapper.html">TQSignalMapper</a>, <a href="tqsocket.html">TQSocket</a>, <a href="tqsocketnotifier.html">TQSocketNotifier</a>, <a href="tqsound.html">TQSound</a>, <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqldriver.html">TQSqlDriver</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="tqstylesheet.html">TQStyleSheet</a>, <a href="tqtimer.html">TQTimer</a>, <a href="tqtooltipgroup.html">TQToolTipGroup</a>, <a href="tqtranslator.html">TQTranslator</a>, <a href="tqurloperator.html">TQUrlOperator</a>, and <a href="tqvalidator.html">TQValidator</a>. +-<p>Inherited by <a href="tqaccel.html">TQAccel</a>, <a href="tqaccessibleobject.html">TQAccessibleObject</a>, <a href="tqaction.html">TQAction</a>, <a href="tqapplication.html">TQApplication</a>, <a href="tqassistantclient.html">TQAssistantClient</a>, <a href="tqdatapump.html">TQDataPump</a>, <a href="tqwidget.html">TQWidget</a>, <a href="tqcanvas.html">TQCanvas</a>, <a href="tqstyle.html">TQStyle</a>, <a href="tqclipboard.html">TQClipboard</a>, <a href="tqdns.html">TQDns</a>, <a href="tqlayout.html">TQLayout</a>, <a href="tqdragobject.html">TQDragObject</a>, <a href="tqeditorfactory.html">TQEditorFactory</a>, <a href="tqeventloop.html">TQEventLoop</a>, <a href="tqfileiconprovider.html">TQFileIconProvider</a>, <a href="tqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="tqnetworkoperation.html">TQNetworkOperation</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="tqprocess.html">TQProcess</a>, <a href="tqserversocket.html">TQServerSocket</a>, <a href="tqsessionmanager.html">TQSessionManager</a>, <a href="tqsignal.html">TQSignal</a>, <a href="tqsignalmapper.html">TQSignalMapper</a>, <a href="tqsocket.html">TQSocket</a>, <a href="tqsocketnotifier.html">TQSocketNotifier</a>, <a href="tqsound.html">TQSound</a>, <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqldriver.html">TQSqlDriver</a>, <a href="tqsqlform.html">TQSqlForm</a>, <a href="tqstylesheet.html">TQStyleSheet</a>, <a href="tqtimer.html">TQTimer</a>, <a href="tqtooltipgroup.html">TQToolTipGroup</a>, <a href="tqtranslator.html">TQTranslator</a>, <a href="tqurloperator.html">TQUrlOperator</a>, and <a href="tqvalidator.html">TQValidator</a>. <p><a href="tqobject-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -231,7 +231,7 @@ child events. <p> Child events are sent to objects when children are inserted or removed. <p> Note that events with <a href="tqevent.html#type">TQEvent::type</a>() <a href="tqevent.html#Type-enum">TQEvent::ChildInserted</a> are -posted (with <a href="ntqapplication.html#postEvent">TQApplication::postEvent</a>()) to make sure that the +posted (with <a href="tqapplication.html#postEvent">TQApplication::postEvent</a>()) to make sure that the child's construction is completed before this function is called. <p> If a child is removed immediately after it is inserted, the <tt>ChildInserted</tt> event may be suppressed, but the <tt>ChildRemoved</tt> event will always be sent. In such cases it is possible that there @@ -239,7 +239,7 @@ will be a <tt>ChildRemoved</tt> event without a corresponding <tt>ChildInserted< <p> If you change state based on <tt>ChildInserted</tt> events, call <a href="tqwidget.html#constPolish">TQWidget::constPolish</a>(), or do <pre> - TQApplication::<a href="ntqapplication.html#sendPostedEvents">sendPostedEvents</a>( this, TQEvent::ChildInserted ); + TQApplication::<a href="tqapplication.html#sendPostedEvents">sendPostedEvents</a>( this, TQEvent::ChildInserted ); </pre> in functions that depend on the state. One notable example is @@ -484,7 +484,7 @@ This virtual function receives events to an object and should return TRUE if the event <em>e</em> was recognized and processed. <p> The <a href="#event">event</a>() function can be reimplemented to customize the behavior of an object. -<p> <p>See also <a href="#installEventFilter">installEventFilter</a>(), <a href="#timerEvent">timerEvent</a>(), <a href="ntqapplication.html#sendEvent">TQApplication::sendEvent</a>(), <a href="ntqapplication.html#postEvent">TQApplication::postEvent</a>(), and <a href="tqwidget.html#event">TQWidget::event</a>(). +<p> <p>See also <a href="#installEventFilter">installEventFilter</a>(), <a href="#timerEvent">timerEvent</a>(), <a href="tqapplication.html#sendEvent">TQApplication::sendEvent</a>(), <a href="tqapplication.html#postEvent">TQApplication::postEvent</a>(), and <a href="tqwidget.html#event">TQWidget::event</a>(). <p>Reimplemented in <a href="tqwidget.html#event">TQWidget</a>. <h3 class=fn>bool <a name="eventFilter"></a>TQObject::eventFilter ( <a href="tqobject.html">TQObject</a> * watched, <a href="tqevent.html">TQEvent</a> * e )<tt> [virtual]</tt> @@ -521,7 +521,7 @@ TRUE; otherwise return FALSE. if ( obj == textEdit ) { if ( e->type() == TQEvent::KeyPress ) { <a href="tqkeyevent.html">TQKeyEvent</a> *k = (TQKeyEvent*)ev; - <a href="ntqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="tqkeyevent.html#key">key</a>() ); + <a href="tqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="tqkeyevent.html#key">key</a>() ); return TRUE; } else { return FALSE; @@ -615,7 +615,7 @@ monitored objects: if ( e->type() == TQEvent::KeyPress ) { // special processing for key press <a href="tqkeyevent.html">TQKeyEvent</a> *k = (TQKeyEvent *)e; - <a href="ntqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="tqkeyevent.html#key">key</a>() ); + <a href="tqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="tqkeyevent.html#key">key</a>() ); return TRUE; // eat event } else { // standard event processing @@ -856,7 +856,7 @@ used to find out which timer was activated. void MyObject::<a href="#timerEvent">timerEvent</a>( <a href="tqtimerevent.html">TQTimerEvent</a> *e ) { - <a href="ntqapplication.html#qDebug">tqDebug</a>( "timer event, id %d", e-><a href="tqtimerevent.html#timerId">timerId</a>() ); + <a href="tqapplication.html#qDebug">tqDebug</a>( "timer event, id %d", e-><a href="tqtimerevent.html#timerId">timerId</a>() ); } </pre> @@ -891,7 +891,7 @@ context. installed <em>before</em> calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior. -<p> <p>See also <a href="#trUtf8">trUtf8</a>(), <a href="ntqapplication.html#translate">TQApplication::translate</a>(), and <a href="i18n.html">Internationalization with TQt</a>. +<p> <p>See also <a href="#trUtf8">trUtf8</a>(), <a href="tqapplication.html#translate">TQApplication::translate</a>(), and <a href="i18n.html">Internationalization with TQt</a>. <p>Example: <a href="tqdialog.html#x2130">network/networkprotocol/view.cpp</a>. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="trUtf8"></a>TQObject::trUtf8 ( const char * sourceText, const char * comment )<tt> [static]</tt> @@ -905,7 +905,7 @@ version. It is otherwise identical to <a href="#tr">tr</a>(<em>sourceText</em>, installed <em>before</em> calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior. -<p> <p>See also <a href="#tr">tr</a>() and <a href="ntqapplication.html#translate">TQApplication::translate</a>(). +<p> <p>See also <a href="#tr">tr</a>() and <a href="tqapplication.html#translate">TQApplication::translate</a>(). <hr><h2>Property Documentation</h2> <h3 class=fn><a href="tqcstring.html">TQCString</a> <a name="name-prop"></a>name</h3> @@ -917,11 +917,11 @@ function. The object name is not very useful in the current version of TQt, but will become increasingly important in the future. <p> If the object does not have a name, the <a href="#name">name</a>() function returns -"unnamed", so printf() (used in <a href="ntqapplication.html#qDebug">tqDebug</a>()) will not be asked to +"unnamed", so printf() (used in <a href="tqapplication.html#qDebug">tqDebug</a>()) will not be asked to output a null pointer. If you want a null pointer to be returned for unnamed objects, you can call name( 0 ). <p> <pre> - <a href="ntqapplication.html#qDebug">tqDebug</a>( "MyClass::setPrecision(): (%s) invalid precision %f", + <a href="tqapplication.html#qDebug">tqDebug</a>( "MyClass::setPrecision(): (%s) invalid precision %f", <a href="#name">name</a>(), newPrecision ); </pre> |