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/tutorial1-06.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/tutorial1-06.html')
-rw-r--r-- | doc/html/tutorial1-06.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tutorial1-06.html b/doc/html/tutorial1-06.html index 288b6e6b6..58daffe70 100644 --- a/doc/html/tutorial1-06.html +++ b/doc/html/tutorial1-06.html @@ -44,9 +44,9 @@ widget as a child widget. ****************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qslider-h.html">ntqslider.h</a>> -#include <<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> +#include <<a href="tqslider-h.html">tqslider.h</a>> +#include <<a href="tqlcdnumber-h.html">tqlcdnumber.h</a>> #include <<a href="tqfont-h.html">tqfont.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="qgrid-h.html">ntqgrid.h</a>> @@ -60,11 +60,11 @@ public: <a name="f554"></a>LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { - <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); - <a href="ntqslider.html">TQSlider</a> * slider = new <a href="ntqslider.html">TQSlider</a>( Horizontal, this, "slider" ); + <a href="tqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="tqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); + <a href="tqslider.html">TQSlider</a> * slider = new <a href="tqslider.html">TQSlider</a>( Horizontal, this, "slider" ); slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 ); - slider-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), lcd, TQ_SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) ); + slider-><a href="tqslider.html#setValue">setValue</a>( 0 ); + <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="tqslider.html#valueChanged">valueChanged</a>(int)), lcd, TQ_SLOT(<a href="tqlcdnumber.html#display">display</a>(int)) ); } class MyWidget : public <a href="ntqvbox.html">TQVBox</a> @@ -77,7 +77,7 @@ public: <a name="f555"></a>MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { - <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); + <a href="tqpushbutton.html">TQPushButton</a> *quit = new <a href="tqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); @@ -115,11 +115,11 @@ constructor. This sort of widget is not very useful, so we'll add some API later <p> <pre> LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { - <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); - <a href="ntqslider.html">TQSlider</a> * slider = new <a href="ntqslider.html">TQSlider</a>( Horizontal, this, "slider" ); + <a href="tqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="tqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); + <a href="tqslider.html">TQSlider</a> * slider = new <a href="tqslider.html">TQSlider</a>( Horizontal, this, "slider" ); <a name="x2325"></a> slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 ); - <a name="x2326"></a> slider-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - <a name="x2327"></a><a name="x2324"></a> <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), lcd, TQ_SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) ); + <a name="x2326"></a> slider-><a href="tqslider.html#setValue">setValue</a>( 0 ); + <a name="x2327"></a><a name="x2324"></a> <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="tqslider.html#valueChanged">valueChanged</a>(int)), lcd, TQ_SLOT(<a href="tqlcdnumber.html#display">display</a>(int)) ); } </pre> <p> This is lifted straight from the @@ -136,7 +136,7 @@ is renamed. <p> <pre> MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { - <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); + <a href="tqpushbutton.html">TQPushButton</a> *quit = new <a href="tqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); <a name="x2328"></a> quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a name="x2321"></a> <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); |