summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-05.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /doc/html/tutorial1-05.html
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-05.html')
-rw-r--r--doc/html/tutorial1-05.html6
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-&gt;<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-&gt;<a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 );
slider-&gt;<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