diff options
Diffstat (limited to 'doc/html/tqobject.html')
-rw-r--r-- | doc/html/tqobject.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index 3fc79af4b..5fb9afa04 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -36,7 +36,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="ntqt.html">TQt</a>. --<p>Inherited by <a href="ntqaccel.html">TQAccel</a>, <a href="qaccessibleobject.html">TQAccessibleObject</a>, <a href="ntqaction.html">TQAction</a>, <a href="ntqapplication.html">TQApplication</a>, <a href="ntqassistantclient.html">TQAssistantClient</a>, <a href="qdatapump.html">TQDataPump</a>, <a href="tqwidget.html">TQWidget</a>, <a href="tqcanvas.html">TQCanvas</a>, <a href="tqstyle.html">TQStyle</a>, <a href="ntqclipboard.html">TQClipboard</a>, <a href="ntqdns.html">TQDns</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="ntqdragobject.html">TQDragObject</a>, <a href="tqeditorfactory.html">TQEditorFactory</a>, <a href="ntqeventloop.html">TQEventLoop</a>, <a href="qfileiconprovider.html">TQFileIconProvider</a>, <a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="qnetworkoperation.html">TQNetworkOperation</a>, <a href="qnpinstance.html">TQNPInstance</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="ntqprocess.html">TQProcess</a>, <a href="ntqserversocket.html">TQServerSocket</a>, <a href="ntqsessionmanager.html">TQSessionManager</a>, <a href="ntqsignal.html">TQSignal</a>, <a href="ntqsignalmapper.html">TQSignalMapper</a>, <a href="ntqsocket.html">TQSocket</a>, <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, <a href="ntqsound.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="ntqtimer.html">TQTimer</a>, <a href="qtooltipgroup.html">TQToolTipGroup</a>, <a href="ntqtranslator.html">TQTranslator</a>, <a href="ntqurloperator.html">TQUrlOperator</a>, and <a href="ntqvalidator.html">TQValidator</a>. +-<p>Inherited by <a href="ntqaccel.html">TQAccel</a>, <a href="qaccessibleobject.html">TQAccessibleObject</a>, <a href="ntqaction.html">TQAction</a>, <a href="ntqapplication.html">TQApplication</a>, <a href="ntqassistantclient.html">TQAssistantClient</a>, <a href="qdatapump.html">TQDataPump</a>, <a href="tqwidget.html">TQWidget</a>, <a href="tqcanvas.html">TQCanvas</a>, <a href="tqstyle.html">TQStyle</a>, <a href="ntqclipboard.html">TQClipboard</a>, <a href="ntqdns.html">TQDns</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="ntqdragobject.html">TQDragObject</a>, <a href="tqeditorfactory.html">TQEditorFactory</a>, <a href="ntqeventloop.html">TQEventLoop</a>, <a href="qfileiconprovider.html">TQFileIconProvider</a>, <a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>, <a href="qnetworkoperation.html">TQNetworkOperation</a>, <a href="qnpinstance.html">TQNPInstance</a>, <a href="tqobjectcleanuphandler.html">TQObjectCleanupHandler</a>, <a href="ntqprocess.html">TQProcess</a>, <a href="ntqserversocket.html">TQServerSocket</a>, <a href="ntqsessionmanager.html">TQSessionManager</a>, <a href="ntqsignal.html">TQSignal</a>, <a href="ntqsignalmapper.html">TQSignalMapper</a>, <a href="ntqsocket.html">TQSocket</a>, <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, <a href="ntqsound.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="qtooltipgroup.html">TQToolTipGroup</a>, <a href="ntqtranslator.html">TQTranslator</a>, <a href="ntqurloperator.html">TQUrlOperator</a>, and <a href="ntqvalidator.html">TQValidator</a>. <p><a href="tqobject-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -146,7 +146,7 @@ of other objects. See <a href="#installEventFilter">installEventFilter</a>() and details. A convenience handler, <a href="#childEvent">childEvent</a>(), can be reimplemented to catch child events. <p> Last but not least, TQObject provides the basic timer support in -TQt; see <a href="ntqtimer.html">TQTimer</a> for high-level support for timers. +TQt; see <a href="tqtimer.html">TQTimer</a> for high-level support for timers. <p> Notice that the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro is mandatory for any object that implements signals, slots or properties. You also need to run the <a href="moc.html">moc program (Meta Object Compiler)</a> on the @@ -561,7 +561,7 @@ returns FALSE. <p> A class is considered to inherit itself. <p> Example: <pre> - <a href="ntqtimer.html">TQTimer</a> *t = new <a href="ntqtimer.html">TQTimer</a>; // TQTimer inherits TQObject + <a href="tqtimer.html">TQTimer</a> *t = new <a href="tqtimer.html">TQTimer</a>; // TQTimer inherits TQObject t-><a href="#inherits">inherits</a>( "TQTimer" ); // returns TRUE t-><a href="#inherits">inherits</a>( "TQObject" ); // returns TRUE t-><a href="#inherits">inherits</a>( "TQButton" ); // returns FALSE @@ -648,7 +648,7 @@ Returns TRUE if this object is an instance of the class <em>clname</em>; otherwise returns FALSE. <p> Example: <pre> - <a href="ntqtimer.html">TQTimer</a> *t = new <a href="ntqtimer.html">TQTimer</a>; // TQTimer inherits TQObject + <a href="tqtimer.html">TQTimer</a> *t = new <a href="tqtimer.html">TQTimer</a>; // TQTimer inherits TQObject t-><a href="#isA">isA</a>( "TQTimer" ); // returns TRUE t-><a href="#isA">isA</a>( "TQObject" ); // returns FALSE </pre> @@ -675,7 +675,7 @@ Kills all timers that this object has started. <p> <b>Warning:</b> Using this function can cause hard-to-find bugs: it kills timers started by sub- and superclasses as well as those started by you, which is often not what you want. We recommend using a -<a href="ntqtimer.html">TQTimer</a> or perhaps <a href="#killTimer">killTimer</a>(). +<a href="tqtimer.html">TQTimer</a> or perhaps <a href="#killTimer">killTimer</a>(). <p> <p>See also <a href="#timerEvent">timerEvent</a>(), <a href="#startTimer">startTimer</a>(), and <a href="#killTimer">killTimer</a>(). <h3 class=fn><a href="ntqmetaobject.html">TQMetaObject</a> * <a name="metaObject"></a>TQObject::metaObject () const<tt> [virtual]</tt> @@ -830,10 +830,10 @@ it could not start a timer. <a href="#killTimer">killTimer</a>() or <a href="#killTimers">killTimers</a>() is called. If <em>interval</em> is 0, then the timer event occurs once every time there are no more window system events to process. -<p> The virtual <a href="#timerEvent">timerEvent</a>() function is called with the <a href="qtimerevent.html">TQTimerEvent</a> +<p> The virtual <a href="#timerEvent">timerEvent</a>() function is called with the <a href="tqtimerevent.html">TQTimerEvent</a> event parameter class when a timer event occurs. Reimplement this function to get timer events. -<p> If multiple timers are running, the <a href="qtimerevent.html#timerId">TQTimerEvent::timerId</a>() can be +<p> If multiple timers are running, the <a href="tqtimerevent.html#timerId">TQTimerEvent::timerId</a>() can be used to find out which timer was activated. <p> Example: <pre> @@ -844,7 +844,7 @@ used to find out which timer was activated. MyObject( TQObject *parent = 0, const char *name = 0 ); protected: - void timerEvent( <a href="qtimerevent.html">TQTimerEvent</a> * ); + void timerEvent( <a href="tqtimerevent.html">TQTimerEvent</a> * ); }; MyObject::MyObject( TQObject *parent, const char *name ) @@ -855,13 +855,13 @@ used to find out which timer was activated. <a href="#startTimer">startTimer</a>( 60000 ); // 1-minute timer } - void MyObject::<a href="#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> *e ) + 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="qtimerevent.html#timerId">timerId</a>() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "timer event, id %d", e-><a href="tqtimerevent.html#timerId">timerId</a>() ); } </pre> -<p> Note that <a href="ntqtimer.html">TQTimer</a>'s accuracy depends on the underlying operating +<p> Note that <a href="tqtimer.html">TQTimer</a>'s accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20 ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. @@ -869,11 +869,11 @@ number of timer clicks, it will silently discard some. one-shot timers and timer signals instead of events. <p> <p>See also <a href="#timerEvent">timerEvent</a>(), <a href="#killTimer">killTimer</a>(), <a href="#killTimers">killTimers</a>(), <a href="ntqeventloop.html#awake">TQEventLoop::awake</a>(), and <a href="ntqeventloop.html#aboutToBlock">TQEventLoop::aboutToBlock</a>(). -<h3 class=fn>void <a name="timerEvent"></a>TQObject::timerEvent ( <a href="qtimerevent.html">TQTimerEvent</a> * )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="timerEvent"></a>TQObject::timerEvent ( <a href="tqtimerevent.html">TQTimerEvent</a> * )<tt> [virtual protected]</tt> </h3> This event handler can be reimplemented in a subclass to receive timer events for the object. -<p> <a href="ntqtimer.html">TQTimer</a> provides a higher-level interface to the timer +<p> <a href="tqtimer.html">TQTimer</a> provides a higher-level interface to the timer functionality, and also more general information about timers. <p> <p>See also <a href="#startTimer">startTimer</a>(), <a href="#killTimer">killTimer</a>(), <a href="#killTimers">killTimers</a>(), and <a href="#event">event</a>(). |