diff options
Diffstat (limited to 'doc/html/tutorial1-02.html')
-rw-r--r-- | doc/html/tutorial1-02.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html index aaf95ee6b..cf2792e4b 100644 --- a/doc/html/tutorial1-02.html +++ b/doc/html/tutorial1-02.html @@ -44,7 +44,7 @@ now go on to make the application quit properly when the user tells it to. #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qfont-h.html">ntqfont.h</a>> +#include <<a href="tqfont-h.html">tqfont.h</a>> int main( int argc, char **argv ) @@ -67,9 +67,9 @@ int main( int argc, char **argv ) <p> <h2> Line-by-line Walkthrough </h2> -<a name="1"></a><p> <pre> #include <<a href="qfont-h.html">ntqfont.h</a>> +<a name="1"></a><p> <pre> #include <<a href="tqfont-h.html">tqfont.h</a>> </pre> -<p> Since this program uses <a href="ntqfont.html">TQFont</a>, it needs to include ntqfont.h. TQt's font +<p> Since this program uses <a href="tqfont.html">TQFont</a>, it needs to include tqfont.h. TQt's font abstraction is rather different from the horror provided by X, and loading and using fonts has been highly optimized. <p> <pre> <a href="ntqpushbutton.html">TQPushButton</a> quit( "Quit", 0 ); @@ -80,7 +80,7 @@ We still pass 0 as the parent, since the button is a top-level window. <p> <pre> <a name="x2292"></a> quit.<a href="tqwidget.html#resize">resize</a>( 75, 30 ); </pre> <p> We've chosen another size for the button since the text is a bit -shorter than "Hello world!". We could also have used <a href="ntqfontmetrics.html">TQFontMetrics</a> +shorter than "Hello world!". We could also have used <a href="tqfontmetrics.html">TQFontMetrics</a> to set right size. <p> <pre> <a name="x2293"></a> quit.<a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); </pre> |