diff options
author | Timothy Pearson <[email protected]> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /doc/html/tutorial1-03.html | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-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.html | 8 |
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", &box ); - tquit.<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); + <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &box ); + quit.<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::<a href="qobject.html#connect">connect</a>( &tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), &a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) ); + TQObject::<a href="qobject.html#connect">connect</a>( &quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), &a, SLOT(<a href="qapplication.html#quit">quit</a>()) ); a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &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", &box ); +<p> <pre> <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &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 |