summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-03.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /doc/html/tutorial1-03.html
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'doc/html/tutorial1-03.html')
-rw-r--r--doc/html/tutorial1-03.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html
index b7bb972d0..b760c089c 100644
--- a/doc/html/tutorial1-03.html
+++ b/doc/html/tutorial1-03.html
@@ -53,10 +53,10 @@ int main( int argc, char **argv )
<a href="qvbox.html">TQVBox</a> box;
box.<a href="qwidget.html#resize">resize</a>( 200, 120 );
- <a href="qpushbutton.html">TQPushButton</a> tquit( "Quit", &amp;box );
- tquit.<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
+ quit.<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- TQObject::<a href="qobject.html#connect">connect</a>( &amp;tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), &amp;a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+ TQObject::<a href="qobject.html#connect">connect</a>( &amp;quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), &amp;a, SLOT(<a href="qapplication.html#quit">quit</a>()) );
a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;box );
box.<a href="qwidget.html#show">show</a>();
@@ -80,7 +80,7 @@ space according to each child's <a href="qwidget.html#sizePolicy">TQWidget::size
<p> <pre> <a name="x2300"></a> box.<a href="qwidget.html#resize">resize</a>( 200, 120 );
</pre>
<p> We set its width to 200 pixels and the height to 120 pixels.
-<p> <pre> <a href="qpushbutton.html">TQPushButton</a> tquit( "Quit", &amp;box );
+<p> <pre> <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
</pre>
<p> A child is born.
<p> This <a href="qpushbutton.html">TQPushButton</a> is created with both a text ("Quit") and a parent