summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-03.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-03.html')
-rw-r--r--doc/html/tutorial1-03.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html
index 9b04261cd..139746c3f 100644
--- a/doc/html/tutorial1-03.html
+++ b/doc/html/tutorial1-03.html
@@ -51,15 +51,15 @@ int main( int argc, char **argv )
<a href="ntqapplication.html">TQApplication</a> a( argc, argv );
<a href="ntqvbox.html">TQVBox</a> box;
- box.<a href="ntqwidget.html#resize">resize</a>( 200, 120 );
+ box.<a href="tqwidget.html#resize">resize</a>( 200, 120 );
<a href="ntqpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
- quit.<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ quit.<a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
TQObject::<a href="tqobject.html#connect">connect</a>( &amp;quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;box );
- box.<a href="ntqwidget.html#show">show</a>();
+ box.<a href="tqwidget.html#show">show</a>();
return a.<a href="ntqapplication.html#exec">exec</a>();
}
@@ -76,8 +76,8 @@ int main( int argc, char **argv )
</pre>
<p> Here we simply create a vertical box container. The <a href="ntqvbox.html">TQVBox</a> arranges
its child widgets in a vertical row, one above the other, handing out
-space according to each child's <a href="ntqwidget.html#sizePolicy">TQWidget::sizePolicy</a>().
-<p> <pre> <a name="x2300"></a> box.<a href="ntqwidget.html#resize">resize</a>( 200, 120 );
+space according to each child's <a href="tqwidget.html#sizePolicy">TQWidget::sizePolicy</a>().
+<p> <pre> <a name="x2300"></a> box.<a href="tqwidget.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="ntqpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
@@ -89,16 +89,16 @@ displayed, it is clipped by its parent's bounds.
<p> The parent widget, the TQVBox, automatically adds the child centered in
its box. Because nothing else is added, the button gets all the space
the parent has.
-<p> <pre> <a name="x2302"></a> box.<a href="ntqwidget.html#show">show</a>();
+<p> <pre> <a name="x2302"></a> box.<a href="tqwidget.html#show">show</a>();
</pre>
<p> When a parent widget is shown, it will call show for all its children
-(except those on which you have done an explicit <a href="ntqwidget.html#hide">TQWidget::hide</a>()).
+(except those on which you have done an explicit <a href="tqwidget.html#hide">TQWidget::hide</a>()).
<p> <h2> Behavior
</h2>
<a name="2"></a><p> The button no longer fills the entire widget. Instead, it gets a
"natural" size. This is because there is now a new top-level widget,
which uses the button's size hint and size change policy to set the
-button's size and position. (See <a href="ntqwidget.html#sizeHint">TQWidget::sizeHint</a>() and <a href="ntqwidget.html#setSizePolicy">TQWidget::setSizePolicy</a>() for more information about these functions.)
+button's size and position. (See <a href="tqwidget.html#sizeHint">TQWidget::sizeHint</a>() and <a href="tqwidget.html#setSizePolicy">TQWidget::setSizePolicy</a>() for more information about these functions.)
<p> (See <a href="tutorial1-01.html#compiling">Compiling</a> for how to create a
makefile and build the application.)
<p> <h2> Exercises