summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-01.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-01.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/tutorial1-01.html')
-rw-r--r--doc/html/tutorial1-01.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/tutorial1-01.html b/doc/html/tutorial1-01.html
index 97005180a..fe3509061 100644
--- a/doc/html/tutorial1-01.html
+++ b/doc/html/tutorial1-01.html
@@ -42,20 +42,20 @@ The picture above is a snapshot of this program.
**
****************************************************************/
-#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="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.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="qpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
- hello.<a href="qwidget.html#resize">resize</a>( 100, 30 );
+ <a href="ntqpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
+ hello.<a href="ntqwidget.html#resize">resize</a>( 100, 30 );
- a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
- hello.<a href="qwidget.html#show">show</a>();
- return a.<a href="qapplication.html#exec">exec</a>();
+ a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
+ hello.<a href="ntqwidget.html#show">show</a>();
+ return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>
@@ -63,23 +63,23 @@ int main( int argc, char **argv )
<p> <h2> Line-by-line Walkthrough
</h2>
-<a name="1"></a><p> <pre> #include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
+<a name="1"></a><p> <pre> #include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
</pre>
-<p> This line includes the <a href="qapplication.html">TQApplication</a> class definition. There has to be
+<p> This line includes the <a href="ntqapplication.html">TQApplication</a> class definition. There has to be
exactly one TQApplication object in every application that uses TQt.
TQApplication manages various application-wide resources, such as the
default font and cursor.
-<p> <pre> #include &lt;<a href="qpushbutton-h.html">qpushbutton.h</a>&gt;
+<p> <pre> #include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
</pre>
-<p> This line includes the <a href="qpushbutton.html">TQPushButton</a> class definition. The
+<p> This line includes the <a href="ntqpushbutton.html">TQPushButton</a> class definition. The
<a href="hierarchy.html">reference documentation</a> for each class
mentions at the top which file needs to be included to use that class.
<p> TQPushButton is a classical GUI push button that the user can press
-and release. It manages its own look and feel, like every other <a href="qwidget.html">TQWidget</a>. A widget is a user interface object that can process user
+and release. It manages its own look and feel, like every other <a href="ntqwidget.html">TQWidget</a>. A widget is a user interface object that can process user
input and draw graphics. The programmer can change both the overall
-<a href="qapplication.html#setStyle">look and feel</a> and many minor
+<a href="ntqapplication.html#setStyle">look and feel</a> and many minor
properties of it (such as color), as well as the widget's content. A
-TQPushButton can show either a text or a <a href="qpixmap.html">TQPixmap</a>.
+TQPushButton can show either a text or a <a href="ntqpixmap.html">TQPixmap</a>.
<p> <pre> int main( int argc, char **argv )
{
</pre>
@@ -91,36 +91,36 @@ program about the user's actions via events.
array of command-line arguments. This is a C/C++ feature. It is not
specific to TQt; however, TQt needs to process these arguments (see
following).
-<p> <pre> <a href="qapplication.html">TQApplication</a> a( argc, argv );
+<p> <pre> <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
</pre>
-<p> <tt>a</tt> is this program's <a href="qapplication.html">TQApplication</a>. Here it is created and processes
+<p> <tt>a</tt> is this program's <a href="ntqapplication.html">TQApplication</a>. Here it is created and processes
some of the command-line arguments (such as -display under X Window).
Note that all command-line arguments recognized by TQt are removed from
-<tt>argv</tt> (and <tt>argc</tt> is decremented accordingly). See the <a href="qapplication.html#argv">TQApplication::argv</a>() documentation for details.
+<tt>argv</tt> (and <tt>argc</tt> is decremented accordingly). See the <a href="ntqapplication.html#argv">TQApplication::argv</a>() documentation for details.
<p> <strong>Note:</strong> It is essential that the TQApplication object be
created before any window-system parts of TQt are used.
-<p> <pre> <a href="qpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
+<p> <pre> <a href="ntqpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
</pre>
<p> Here, <em>after</em> the TQApplication, comes the first window-system code: A
push button is created.
<p> The button is set up to display the text "Hello world!" and be a
window of its own (because the constructor specifies 0 for the parent
window, inside which the button should be located).
-<p> <pre> <a name="x2285"></a> hello.<a href="qwidget.html#resize">resize</a>( 100, 30 );
+<p> <pre> <a name="x2285"></a> hello.<a href="ntqwidget.html#resize">resize</a>( 100, 30 );
</pre>
<p> The button is set up to be 100 pixels wide and 30 pixels high (plus the
window system frame). In this case we don't care about the button's
position, and we accept the default value.
-<p> <pre> <a name="x2284"></a> a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
+<p> <pre> <a name="x2284"></a> a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
</pre>
<p> The push button is chosen as the main widget for the application. If
the user closes a main widget, the application exits.
<p> You don't have to have a main widget, but most programs do have one.
-<p> <pre> <a name="x2286"></a> hello.<a href="qwidget.html#show">show</a>();
+<p> <pre> <a name="x2286"></a> hello.<a href="ntqwidget.html#show">show</a>();
</pre>
<p> A widget is never visible when you create it. You must call show() to
make it visible.
-<p> <pre> <a name="x2283"></a> return a.<a href="qapplication.html#exec">exec</a>();
+<p> <pre> <a name="x2283"></a> return a.<a href="ntqapplication.html#exec">exec</a>();
</pre>
<p> This is where main() passes control to TQt, and exec() will return when
the application exits.