diff options
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 |