diff options
Diffstat (limited to 'doc/html/ntqtimer.html')
-rw-r--r-- | doc/html/ntqtimer.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/ntqtimer.html b/doc/html/ntqtimer.html index b67890351..920d95ffc 100644 --- a/doc/html/ntqtimer.html +++ b/doc/html/ntqtimer.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQTimer class provides timer signals and single-shot timers. <a href="#details">More...</a> <p><tt>#include <<a href="qtimer-h.html">ntqtimer.h</a>></tt> -<p>Inherits <a href="ntqobject.html">TQObject</a>. +<p>Inherits <a href="tqobject.html">TQObject</a>. <p><a href="qtimer-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -71,7 +71,7 @@ parent object is destroyed. <p> Example: <pre> TQTimer *timer = new TQTimer( myObject ); - <a href="ntqobject.html#connect">connect</a>( timer, TQ_SIGNAL(<a href="#timeout">timeout</a>()), myObject, TQ_SLOT(timerDone()) ); + <a href="tqobject.html#connect">connect</a>( timer, TQ_SIGNAL(<a href="#timeout">timeout</a>()), myObject, TQ_SLOT(timerDone()) ); timer-><a href="#start">start</a>( 2000, TRUE ); // 2 seconds single-shot timer </pre> @@ -84,7 +84,7 @@ processed. user interface: <pre> TQTimer *t = new TQTimer( myObject ); - <a href="ntqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="#timeout">timeout</a>()), TQ_SLOT(processOneThing()) ); + <a href="tqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="#timeout">timeout</a>()), TQ_SLOT(processOneThing()) ); t-><a href="#start">start</a>( 0, FALSE ); </pre> @@ -99,17 +99,17 @@ that null events will eventually be replaced by threading. system and hardware. Most platforms support an accuracy of 20ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. -<p> An alternative to using TQTimer is to call <a href="ntqobject.html#startTimer">TQObject::startTimer</a>() -for your object and reimplement the <a href="ntqobject.html#timerEvent">TQObject::timerEvent</a>() event -handler in your class (which must, of course, inherit <a href="ntqobject.html">TQObject</a>). -The disadvantage is that <a href="ntqobject.html#timerEvent">timerEvent</a>() does not support such +<p> An alternative to using TQTimer is to call <a href="tqobject.html#startTimer">TQObject::startTimer</a>() +for your object and reimplement the <a href="tqobject.html#timerEvent">TQObject::timerEvent</a>() event +handler in your class (which must, of course, inherit <a href="tqobject.html">TQObject</a>). +The disadvantage is that <a href="tqobject.html#timerEvent">timerEvent</a>() does not support such high-level features as single-shot timers or signals. <p> Some operating systems limit the number of timers that may be used; TQt tries to work around these limitations. <p>See also <a href="events.html">Event Classes</a> and <a href="time.html">Time and Date</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQTimer"></a>TQTimer::TQTimer ( <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQTimer"></a>TQTimer::TQTimer ( <a href="tqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Constructs a timer called <em>name</em>, with the parent <em>parent</em>. <p> Note that the parent object's destructor will destroy this timer @@ -133,11 +133,11 @@ otherwise it will be started. FALSE. <p>Example: <a href="tutorial1-11.html#x2376">t11/cannon.cpp</a>. -<h3 class=fn>void <a name="singleShot"></a>TQTimer::singleShot ( int msec, <a href="ntqobject.html">TQObject</a> * receiver, const char * member )<tt> [static]</tt> +<h3 class=fn>void <a name="singleShot"></a>TQTimer::singleShot ( int msec, <a href="tqobject.html">TQObject</a> * receiver, const char * member )<tt> [static]</tt> </h3> This static function calls a slot after a given time interval. <p> It is very convenient to use this function because you do not need -to bother with a <a href="ntqobject.html#timerEvent">timerEvent</a> or +to bother with a <a href="tqobject.html#timerEvent">timerEvent</a> or to create a local TQTimer object. <p> Example: <pre> |