summaryrefslogtreecommitdiffstats
path: root/doc/html/dclock-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/dclock-example.html')
-rw-r--r--doc/html/dclock-example.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/dclock-example.html b/doc/html/dclock-example.html
index e162bc9f..2a614d05 100644
--- a/doc/html/dclock-example.html
+++ b/doc/html/dclock-example.html
@@ -148,8 +148,8 @@ void <a name="f372"></a>DigitalClock::showDate()
if ( showDateTimer != -1 ) // already showing date
return;
<a name="x1098"></a> <a href="qdate.html">TQDate</a> date = TQDate::<a href="qdate.html#currentDate">currentDate</a>();
- <a href="ntqstring.html">TQString</a> s;
-<a name="x1103"></a><a name="x1100"></a><a name="x1099"></a> s.<a href="ntqstring.html#sprintf">sprintf</a>( "%2d %2d", date.<a href="qdate.html#month">month</a>(), date.<a href="qdate.html#day">day</a>() );
+ <a href="tqstring.html">TQString</a> s;
+<a name="x1103"></a><a name="x1100"></a><a name="x1099"></a> s.<a href="tqstring.html#sprintf">sprintf</a>( "%2d %2d", date.<a href="qdate.html#month">month</a>(), date.<a href="qdate.html#day">day</a>() );
<a href="ntqlcdnumber.html#display">display</a>( s ); // sets the LCD number/text
showDateTimer = <a href="tqobject.html#startTimer">startTimer</a>( 2000 ); // keep this state for 2 secs
}
@@ -172,7 +172,7 @@ void <a name="f373"></a>DigitalClock::stopDate()
void <a name="f374"></a>DigitalClock::showTime()
{
showingColon = !showingColon; // toggle/blink colon
-<a name="x1104"></a> <a href="ntqstring.html">TQString</a> s = TQTime::<a href="qtime.html#currentTime">currentTime</a>().toString().left(5);
+<a name="x1104"></a> <a href="tqstring.html">TQString</a> s = TQTime::<a href="qtime.html#currentTime">currentTime</a>().toString().left(5);
if ( !showingColon )
s[2] = ' ';
if ( s[0] == '0' )