diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
commit | fef846914f8db6dc117e206ef913d519bf6bb33e (patch) | |
tree | d6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/html/dclock-example.html | |
parent | 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff) | |
download | tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip |
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/dclock-example.html')
-rw-r--r-- | doc/html/dclock-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/dclock-example.html b/doc/html/dclock-example.html index e33951470..3351f25e1 100644 --- a/doc/html/dclock-example.html +++ b/doc/html/dclock-example.html @@ -50,10 +50,10 @@ and date. #ifndef DCLOCK_H #define DCLOCK_H -#include <<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>> +#include <<a href="tqlcdnumber-h.html">tqlcdnumber.h</a>> -class DigitalClock : public <a href="ntqlcdnumber.html">TQLCDNumber</a> // digital clock widget +class DigitalClock : public <a href="tqlcdnumber.html">TQLCDNumber</a> // digital clock widget { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: @@ -100,7 +100,7 @@ private: // internal data // <a name="f371"></a>DigitalClock::DigitalClock( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqlcdnumber.html">TQLCDNumber</a>( parent, name ) + : <a href="tqlcdnumber.html">TQLCDNumber</a>( parent, name ) { showingColon = FALSE; <a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Raised ); @@ -150,7 +150,7 @@ void <a name="f372"></a>DigitalClock::showDate() <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="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 + <a href="tqlcdnumber.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 } @@ -177,7 +177,7 @@ void <a name="f374"></a>DigitalClock::showTime() s[2] = ' '; if ( s[0] == '0' ) s[0] = ' '; - <a href="ntqlcdnumber.html#display">display</a>( s ); // set LCD number/text + <a href="tqlcdnumber.html#display">display</a>( s ); // set LCD number/text } </pre> |