diff options
Diffstat (limited to 'doc/html/tutorial1-05.html')
-rw-r--r-- | doc/html/tutorial1-05.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index b2aca825a..dcf6cf7be 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -47,9 +47,9 @@ by using signals and slots, and how to handle resize events. #include <<a href="tqlcdnumber-h.html">tqlcdnumber.h</a>> #include <<a href="tqfont-h.html">tqfont.h</a>> -#include <<a href="qvbox-h.html">ntqvbox.h</a>> +#include <<a href="tqvbox-h.html">tqvbox.h</a>> -class MyWidget : public <a href="ntqvbox.html">TQVBox</a> +class MyWidget : public <a href="tqvbox.html">TQVBox</a> { public: MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); @@ -57,7 +57,7 @@ public: <a name="f553"></a>MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqvbox.html">TQVBox</a>( parent, name ) + : <a href="tqvbox.html">TQVBox</a>( parent, name ) { <a href="tqpushbutton.html">TQPushButton</a> *quit = new <a href="tqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); @@ -94,12 +94,12 @@ int main( int argc, char **argv ) #include <<a href="tqlcdnumber-h.html">tqlcdnumber.h</a>> #include <<a href="tqfont-h.html">tqfont.h</a>> - #include <<a href="qvbox-h.html">ntqvbox.h</a>> + #include <<a href="tqvbox-h.html">tqvbox.h</a>> </pre> <p> Three new include files are shown here. tqslider.h and tqlcdnumber.h are there -because we use two new widgets, <a href="tqslider.html">TQSlider</a> and <a href="tqlcdnumber.html">TQLCDNumber</a>. ntqvbox.h is +because we use two new widgets, <a href="tqslider.html">TQSlider</a> and <a href="tqlcdnumber.html">TQLCDNumber</a>. tqvbox.h is here because we use TQt's automatic layout support. -<p> <pre> class MyWidget : public <a href="ntqvbox.html">TQVBox</a> +<p> <pre> class MyWidget : public <a href="tqvbox.html">TQVBox</a> { public: MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); @@ -107,10 +107,10 @@ here because we use TQt's automatic layout support. </pre> <p> <a name="constructor"></a> <pre> MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqvbox.html">TQVBox</a>( parent, name ) + : <a href="tqvbox.html">TQVBox</a>( parent, name ) { </pre> -<p> MyWidget is now derived from <a href="ntqvbox.html">TQVBox</a> instead of <a href="tqwidget.html">TQWidget</a>. That way we use +<p> MyWidget is now derived from <a href="tqvbox.html">TQVBox</a> instead of <a href="tqwidget.html">TQWidget</a>. That way we use the layout of the TQVBox (which places all of its children vertically inside itself). Resizes are now handled automatically by the TQVBox and therefore by MyWidget, too. |