summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-05.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:07:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:22:42 +0900
commit8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch)
treeb95884617b9a37accc843676d5d42be4116a3f54 /doc/html/tutorial1-05.html
parent68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff)
downloadtqt-8ac0e970.tar.gz
tqt-8ac0e970.zip
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-05.html')
-rw-r--r--doc/html/tutorial1-05.html14
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-&gt;<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ quit-&gt;<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>( &amp;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.