summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-03.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/tutorial1-03.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/tutorial1-03.html')
-rw-r--r--doc/html/tutorial1-03.html48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html
index b760c089c..f7f46a23b 100644
--- a/doc/html/tutorial1-03.html
+++ b/doc/html/tutorial1-03.html
@@ -41,27 +41,27 @@ body { background: #ffffff; color: black; }
**
****************************************************************/
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">qpushbutton.h</a>&gt;
-#include &lt;<a href="qfont-h.html">qfont.h</a>&gt;
-#include &lt;<a href="qvbox-h.html">qvbox.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="qfont-h.html">ntqfont.h</a>&gt;
+#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
int main( int argc, char **argv )
{
- <a href="qapplication.html">TQApplication</a> a( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
- <a href="qvbox.html">TQVBox</a> box;
- box.<a href="qwidget.html#resize">resize</a>( 200, 120 );
+ <a href="ntqvbox.html">TQVBox</a> box;
+ box.<a href="ntqwidget.html#resize">resize</a>( 200, 120 );
- <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
- quit.<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ <a href="ntqpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
+ quit.<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- TQObject::<a href="qobject.html#connect">connect</a>( &amp;quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), &amp;a, SLOT(<a href="qapplication.html#quit">quit</a>()) );
+ TQObject::<a href="ntqobject.html#connect">connect</a>( &amp;quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &amp;a, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
- a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;box );
- box.<a href="qwidget.html#show">show</a>();
+ a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;box );
+ box.<a href="ntqwidget.html#show">show</a>();
- return a.<a href="qapplication.html#exec">exec</a>();
+ return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>
@@ -69,36 +69,36 @@ int main( int argc, char **argv )
<p> <h2> Line-by-line Walkthrough
</h2>
-<a name="1"></a><p> <pre> #include &lt;<a href="qvbox-h.html">qvbox.h</a>&gt;
+<a name="1"></a><p> <pre> #include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
</pre>
-<p> We add an include of qvbox.h to get the layout class we'll use.
-<p> <pre> <a href="qvbox.html">TQVBox</a> box;
+<p> We add an include of ntqvbox.h to get the layout class we'll use.
+<p> <pre> <a href="ntqvbox.html">TQVBox</a> box;
</pre>
-<p> Here we simply create a vertical box container. The <a href="qvbox.html">TQVBox</a> arranges
+<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="qwidget.html#sizePolicy">TQWidget::sizePolicy</a>().
-<p> <pre> <a name="x2300"></a> box.<a href="qwidget.html#resize">resize</a>( 200, 120 );
+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 );
</pre>
<p> We set its width to 200 pixels and the height to 120 pixels.
-<p> <pre> <a href="qpushbutton.html">TQPushButton</a> quit( "Quit", &amp;box );
+<p> <pre> <a href="ntqpushbutton.html">TQPushButton</a> quit( "Quit", &amp;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
+<p> This <a href="ntqpushbutton.html">TQPushButton</a> is created with both a text ("Quit") and a parent
(box). A child widget is always on top of its parent. When
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="qwidget.html#show">show</a>();
+<p> <pre> <a name="x2302"></a> box.<a href="ntqwidget.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="qwidget.html#hide">TQWidget::hide</a>()).
+(except those on which you have done an explicit <a href="ntqwidget.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="qwidget.html#sizeHint">TQWidget::sizeHint</a>() and <a href="qwidget.html#setSizePolicy">TQWidget::setSizePolicy</a>() for more information about these functions.)
+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.)
<p> (See <a href="tutorial1-01.html#compiling">Compiling</a> for how to create a
makefile and build the application.)
<p> <h2> Exercises