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 b7db3f3be..8de8fa42e 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -62,7 +62,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); @@ -70,7 +70,7 @@ public: slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 ); slider-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - <a href="ntqobject.html#connect">connect</a>( slider, SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), lcd, SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) ); + <a href="ntqobject.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)) ); } int main( int argc, char **argv ) @@ -126,7 +126,7 @@ fashion. This instance is set up to display two digits and to be a child of <p> <a href="ntqslider.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. -<p> <pre> <a name="x2317"></a><a name="x2314"></a> <a href="ntqobject.html#connect">connect</a>( slider, SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), lcd, SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) ); +<p> <pre> <a name="x2317"></a><a name="x2314"></a> <a href="ntqobject.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)) ); </pre> <p> Here we use the <a href="signalsandslots.html">signal/slot mechanism</a> to connect the slider's valueChanged() signal to the LCD number's |