summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-01.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-01.html')
-rw-r--r--doc/html/tutorial1-01.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tutorial1-01.html b/doc/html/tutorial1-01.html
index db3221177..ffdff0b36 100644
--- a/doc/html/tutorial1-01.html
+++ b/doc/html/tutorial1-01.html
@@ -41,20 +41,20 @@ The picture above is a snapshot of this program.
**
****************************************************************/
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
int main( int argc, char **argv )
{
- <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
+ <a href="tqapplication.html">TQApplication</a> a( argc, argv );
<a href="tqpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
hello.<a href="tqwidget.html#resize">resize</a>( 100, 30 );
- a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
+ a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
hello.<a href="tqwidget.html#show">show</a>();
- return a.<a href="ntqapplication.html#exec">exec</a>();
+ return a.<a href="tqapplication.html#exec">exec</a>();
}
</pre>
@@ -62,9 +62,9 @@ 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">ntqapplication.h</a>&gt;
+<a name="1"></a><p> <pre> #include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
</pre>
-<p> This line includes the <a href="ntqapplication.html">TQApplication</a> class definition. There has to be
+<p> This line includes the <a href="tqapplication.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.
@@ -76,7 +76,7 @@ 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="tqwidget.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="ntqapplication.html#setStyle">look and feel</a> and many minor
+<a href="tqapplication.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="tqpixmap.html">TQPixmap</a>.
<p> <pre> int main( int argc, char **argv )
@@ -90,12 +90,12 @@ 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="ntqapplication.html">TQApplication</a> a( argc, argv );
+<p> <pre> <a href="tqapplication.html">TQApplication</a> a( argc, argv );
</pre>
-<p> <tt>a</tt> is this program's <a href="ntqapplication.html">TQApplication</a>. Here it is created and processes
+<p> <tt>a</tt> is this program's <a href="tqapplication.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="ntqapplication.html#argv">TQApplication::argv</a>() documentation for details.
+<tt>argv</tt> (and <tt>argc</tt> is decremented accordingly). See the <a href="tqapplication.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="tqpushbutton.html">TQPushButton</a> hello( "Hello world!", 0 );
@@ -110,7 +110,7 @@ window, inside which the button should be located).
<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="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;hello );
+<p> <pre> <a name="x2284"></a> a.<a href="tqapplication.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.
@@ -119,7 +119,7 @@ the user closes a main widget, the application exits.
</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="ntqapplication.html#exec">exec</a>();
+<p> <pre> <a name="x2283"></a> return a.<a href="tqapplication.html#exec">exec</a>();
</pre>
<p> This is where main() passes control to TQt, and exec() will return when
the application exits.