diff options
Diffstat (limited to 'doc/html/tutorial1-05.html')
-rw-r--r-- | doc/html/tutorial1-05.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index dcf6cf7be..521968609 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -67,7 +67,7 @@ public: <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="tqrangecontrol.html#setRange">setRange</a>( 0, 99 ); 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)) ); @@ -120,12 +120,12 @@ therefore by MyWidget, too. fashion. This instance is set up to display two digits and to be a child of <em>this</em>. It is named "lcd". <p> <pre> <a href="tqslider.html">TQSlider</a> * slider = new <a href="tqslider.html">TQSlider</a>( Horizontal, this, "slider" ); - <a name="x2315"></a> slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 ); + <a name="x2315"></a> slider-><a href="tqrangecontrol.html#setRange">setRange</a>( 0, 99 ); <a name="x2316"></a> slider-><a href="tqslider.html#setValue">setValue</a>( 0 ); </pre> <p> <a href="tqslider.html">TQSlider</a> is a classical slider; the user can use the widget to drag something to adjust an integer value in a range. Here we create a -horizontal one, set its range to 0-99 (inclusive, see the <a href="ntqrangecontrol.html#setRange">TQSlider::setRange</a>() documentation) and its initial value to 0. +horizontal one, set its range to 0-99 (inclusive, see the <a href="tqrangecontrol.html#setRange">TQSlider::setRange</a>() documentation) and its initial value to 0. <p> <pre> <a name="x2317"></a><a name="x2314"></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> Here we use the <a href="signalsandslots.html">signal/slot mechanism</a> |