summaryrefslogtreecommitdiffstats
path: root/doc/html/qtime.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qtime.html')
-rw-r--r--doc/html/qtime.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/qtime.html b/doc/html/qtime.html
index 856ba1da9..15f48a9af 100644
--- a/doc/html/qtime.html
+++ b/doc/html/qtime.html
@@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
<p>The TQTime class provides clock time functions.
<a href="#details">More...</a>
<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 &lt;<a href="qdatetime-h.html">qdatetime.h</a>&gt;</tt>
+<p><tt>#include &lt;<a href="qdatetime-h.html">ntqdatetime.h</a>&gt;</tt>
<p><a href="qtime-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -109,7 +109,7 @@ functions. Correspondingly, the number of (milli)seconds between
two times can be found using the <a href="#secsTo">secsTo</a>() or <a href="#msecsTo">msecsTo</a>() functions.
<p> TQTime can be used to measure a span of elapsed time using the
<a href="#start">start</a>(), <a href="#restart">restart</a>(), and <a href="#elapsed">elapsed</a>() functions.
-<p> <p>See also <a href="qdate.html">TQDate</a>, <a href="qdatetime.html">TQDateTime</a>, and <a href="time.html">Time and Date</a>.
+<p> <p>See also <a href="qdate.html">TQDate</a>, <a href="ntqdatetime.html">TQDateTime</a>, and <a href="time.html">Time and Date</a>.
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQTime"></a>TQTime::TQTime ()
@@ -150,15 +150,15 @@ than the time of this object (or earlier if <em>nsecs</em> is negative).
t = n.<a href="#addSecs">addSecs</a>( -15*60*60 ); // t == 23:00:00
</pre>
-<p> <p>See also <a href="#addMSecs">addMSecs</a>(), <a href="#secsTo">secsTo</a>(), and <a href="qdatetime.html#addSecs">TQDateTime::addSecs</a>().
+<p> <p>See also <a href="#addMSecs">addMSecs</a>(), <a href="#secsTo">secsTo</a>(), and <a href="ntqdatetime.html#addSecs">TQDateTime::addSecs</a>().
-<h3 class=fn><a href="qtime.html">TQTime</a> <a name="currentTime"></a>TQTime::currentTime ( <a href="qt.html#TimeSpec-enum">TQt::TimeSpec</a>&nbsp;ts )<tt> [static]</tt>
+<h3 class=fn><a href="qtime.html">TQTime</a> <a name="currentTime"></a>TQTime::currentTime ( <a href="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a>&nbsp;ts )<tt> [static]</tt>
</h3>
Returns the current time as reported by the system clock, for the
TimeSpec <em>ts</em>. The default TimeSpec is LocalTime.
<p> Note that the accuracy depends on the accuracy of the underlying
operating system; not all systems provide 1-millisecond accuracy.
-<p> <p>See also <a href="qt.html#TimeSpec-enum">TQt::TimeSpec</a>.
+<p> <p>See also <a href="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a>.
<p>Examples: <a href="aclock-example.html#x1201">aclock/aclock.cpp</a>, <a href="dclock-example.html#x1104">dclock/dclock.cpp</a>, <a href="tutorial1-12.html#x2398">t12/cannon.cpp</a>, and <a href="tictac-example.html#x40">tictac/tictac.cpp</a>.
<h3 class=fn><a href="qtime.html">TQTime</a> <a name="currentTime-2"></a>TQTime::currentTime ()<tt> [static]</tt>
@@ -182,11 +182,11 @@ undefined. This can happen when daylight savings time is turned on
or off.
<p> <p>See also <a href="#start">start</a>() and <a href="#restart">restart</a>().
-<h3 class=fn><a href="qtime.html">TQTime</a> <a name="fromString"></a>TQTime::fromString ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;s, <a href="qt.html#DateFormat-enum">TQt::DateFormat</a>&nbsp;f = TQt::TextDate )<tt> [static]</tt>
+<h3 class=fn><a href="qtime.html">TQTime</a> <a name="fromString"></a>TQTime::fromString ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;s, <a href="ntqt.html#DateFormat-enum">TQt::DateFormat</a>&nbsp;f = TQt::TextDate )<tt> [static]</tt>
</h3>
Returns the representation <em>s</em> as a TQTime using the format <em>f</em>,
or an invalid time if this is not possible.
-<p> <b>Warning:</b> Note that <a href="qt.html#DateFormat-enum">TQt::LocalDate</a> cannot be used here.
+<p> <b>Warning:</b> Note that <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a> cannot be used here.
<h3 class=fn>int <a name="hour"></a>TQTime::hour () const
</h3>
@@ -297,7 +297,7 @@ Returns the number of seconds from this time to <em>t</em> (which is
negative if <em>t</em> is earlier than this time).
<p> Because TQTime measures time within a day and there are 86400
seconds in a day, the result is always between -86400 and 86400.
-<p> <p>See also <a href="#addSecs">addSecs</a>() and <a href="qdatetime.html#secsTo">TQDateTime::secsTo</a>().
+<p> <p>See also <a href="#addSecs">addSecs</a>() and <a href="ntqdatetime.html#secsTo">TQDateTime::secsTo</a>().
<p>Example: <a href="tutorial1-12.html#x2399">t12/cannon.cpp</a>.
<h3 class=fn>bool <a name="setHMS"></a>TQTime::setHMS ( int&nbsp;h, int&nbsp;m, int&nbsp;s, int&nbsp;ms = 0 )
@@ -316,12 +316,12 @@ Sets this time to the current time. This is practical for timing:
TQTime t;
t.<a href="#start">start</a>();
some_lengthy_task();
- <a href="qapplication.html#qDebug">qDebug</a>( "Time elapsed: %d ms", t.<a href="#elapsed">elapsed</a>() );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( "Time elapsed: %d ms", t.<a href="#elapsed">elapsed</a>() );
</pre>
<p> <p>See also <a href="#restart">restart</a>(), <a href="#elapsed">elapsed</a>(), and <a href="#currentTime">currentTime</a>().
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="toString"></a>TQTime::toString ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;format ) const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQTime::toString ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;format ) const
</h3>
Returns the time as a string. The <em>format</em> parameter determines
the format of the result string.
@@ -350,31 +350,31 @@ the format of the result string.
<tr bgcolor="#f0f0f0"> <td valign="top">hh:mm:ss.zzz <td valign="top" colspan="1" rowspan="1"> 14:13:09.042
<tr bgcolor="#d0d0d0"> <td valign="top">h:m:s ap <td valign="top" colspan="1" rowspan="1"> 2:13:9 pm
</table></center>
-<p> If the time is an invalid time, then <a href="qstring.html#TQString-null">TQString::null</a> will be returned.
-<p> <p>See also <a href="qdate.html#toString">TQDate::toString</a>() and <a href="qdatetime.html#toString">TQDateTime::toString</a>().
+<p> If the time is an invalid time, then <a href="ntqstring.html#TQString-null">TQString::null</a> will be returned.
+<p> <p>See also <a href="qdate.html#toString">TQDate::toString</a>() and <a href="ntqdatetime.html#toString">TQDateTime::toString</a>().
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="toString-2"></a>TQTime::toString ( <a href="qt.html#DateFormat-enum">TQt::DateFormat</a>&nbsp;f = TQt::TextDate ) const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-2"></a>TQTime::toString ( <a href="ntqt.html#DateFormat-enum">TQt::DateFormat</a>&nbsp;f = TQt::TextDate ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns the time as a string. Milliseconds are not included. The
<em>f</em> parameter determines the format of the string.
-<p> If <em>f</em> is <a href="qt.html#DateFormat-enum">TQt::TextDate</a>, the string format is HH:MM:SS; e.g. 1
+<p> If <em>f</em> is <a href="ntqt.html#DateFormat-enum">TQt::TextDate</a>, the string format is HH:MM:SS; e.g. 1
second before midnight would be "23:59:59".
-<p> If <em>f</em> is <a href="qt.html#DateFormat-enum">TQt::ISODate</a>, the string format corresponds to the
+<p> If <em>f</em> is <a href="ntqt.html#DateFormat-enum">TQt::ISODate</a>, the string format corresponds to the
ISO 8601 extended specification for representations of dates,
which is also HH:MM:SS.
<p> If <em>f</em> is TQt::LocalDate, the string format depends on the locale
settings of the system.
-<p> If the time is an invalid time, then <a href="qstring.html#TQString-null">TQString::null</a> will be returned.
+<p> If the time is an invalid time, then <a href="ntqstring.html#TQString-null">TQString::null</a> will be returned.
<hr><h2>Related Functions</h2>
-<h3 class=fn><a href="qdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt"></a>operator&lt;&lt; ( <a href="qdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt"></a>operator&lt;&lt; ( <a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t )
</h3>
<p> Writes time <em>t</em> to the stream <em>s</em>.
<p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>.
-<h3 class=fn><a href="qdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt"></a>operator&gt;&gt; ( <a href="qdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, <a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt"></a>operator&gt;&gt; ( <a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, <a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t )
</h3>
<p> Reads a time from the stream <em>s</em> into <em>t</em>.