diff options
Diffstat (limited to 'doc/application-walkthrough.doc')
-rw-r--r-- | doc/application-walkthrough.doc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/application-walkthrough.doc b/doc/application-walkthrough.doc index 443e6f86b..841285661 100644 --- a/doc/application-walkthrough.doc +++ b/doc/application-walkthrough.doc @@ -51,7 +51,7 @@ Tutorial #2\endlink.) It also illustrates some aspects of \l QWhatsThis (for simple help) and a typical \c main() using \l QApplication. -Finally, it shows a typical print function based on \l QPrinter. +Finally, it shows a typical print function based on \l TQPrinter. \section1 The declaration of ApplicationWindow @@ -132,13 +132,13 @@ compile them into the binary. This is what we are doing here. \e ApplicationWindow inherits TQMainWindow, the TQt class that provides typical application main windows, with menu bars, toolbars, etc. -\printuntil QPrinter +\printuntil TQPrinter The application example can print things, and we chose to have a -QPrinter object lying around so that when the user changes a setting +TQPrinter object lying around so that when the user changes a setting during one printing, the new setting will be the default next time. -\printline QPixmap +\printline TQPixmap For the sake of simplicity, our example only has a few commands in the toolbar. The above variables are used to hold an icon for each of |