diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/tutorial1-02.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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> |