diff options
Diffstat (limited to 'doc/html/tutorial1-05.html')
-rw-r--r-- | doc/html/tutorial1-05.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index 2eef720d6..37fd0791f 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -52,15 +52,15 @@ by using signals and slots, and how to handle resize events. class MyWidget : public <a href="ntqvbox.html">TQVBox</a> { public: - MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; -<a name="f553"></a>MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<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="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); - 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 ) ); <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); @@ -79,7 +79,7 @@ int main( int argc, char **argv ) MyWidget w; a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); - w.<a href="ntqwidget.html#show">show</a>(); + w.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> @@ -102,15 +102,15 @@ here because we use TQt's automatic layout support. <p> <pre> class MyWidget : public <a href="ntqvbox.html">TQVBox</a> { public: - MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; </pre> <p> <a name="constructor"></a> -<pre> MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<pre> MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { </pre> -<p> MyWidget is now derived from <a href="ntqvbox.html">TQVBox</a> instead of <a href="ntqwidget.html">TQWidget</a>. That way we use +<p> MyWidget is now derived from <a href="ntqvbox.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. |