diff options
Diffstat (limited to 'doc/html/dclock-example.html')
-rw-r--r-- | doc/html/dclock-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/dclock-example.html b/doc/html/dclock-example.html index 2a614d05d..e33951470 100644 --- a/doc/html/dclock-example.html +++ b/doc/html/dclock-example.html @@ -60,7 +60,7 @@ public: DigitalClock( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); protected: // event handlers - void timerEvent( <a href="qtimerevent.html">TQTimerEvent</a> * ); + void timerEvent( <a href="tqtimerevent.html">TQTimerEvent</a> * ); void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); private slots: // internal slots @@ -92,7 +92,7 @@ private: // internal data *****************************************************************************/ #include "dclock.h" -#include <<a href="qdatetime-h.html">ntqdatetime.h</a>> +#include <<a href="tqdatetime-h.html">tqdatetime.h</a>> // @@ -117,9 +117,9 @@ private: // internal data // and another one for switching back from date mode to time mode. // -<a name="x1102"></a>void DigitalClock::<a href="tqobject.html#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> *e ) +<a name="x1102"></a>void DigitalClock::<a href="tqobject.html#timerEvent">timerEvent</a>( <a href="tqtimerevent.html">TQTimerEvent</a> *e ) { -<a name="x1105"></a> if ( e-><a href="qtimerevent.html#timerId">timerId</a>() == showDateTimer ) // stop showing date +<a name="x1105"></a> if ( e-><a href="tqtimerevent.html#timerId">timerId</a>() == showDateTimer ) // stop showing date stopDate(); else { // normal timer if ( showDateTimer == -1 ) // not showing date @@ -147,9 +147,9 @@ 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 name="x1098"></a> <a href="tqdate.html">TQDate</a> date = TQDate::<a href="tqdate.html#currentDate">currentDate</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 name="x1103"></a><a name="x1100"></a><a name="x1099"></a> s.<a href="tqstring.html#sprintf">sprintf</a>( "%2d %2d", date.<a href="tqdate.html#month">month</a>(), date.<a href="tqdate.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="tqstring.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="tqtime.html#currentTime">currentTime</a>().toString().left(5); if ( !showingColon ) s[2] = ' '; if ( s[0] == '0' ) |