diff options
Diffstat (limited to 'doc/tutorial2.doc')
-rw-r--r-- | doc/tutorial2.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial2.doc b/doc/tutorial2.doc index 66ec3266d..8b8a93ab6 100644 --- a/doc/tutorial2.doc +++ b/doc/tutorial2.doc @@ -138,10 +138,10 @@ Although the \c Element class is a purely internal data class, it toolkit, but it provides many non-GUI classes to support most aspects of application programming. We use \c tqcolor.h so that we can hold the paint color and text color in the \c Element class. The use of \c -ntqnamespace.h is slightly obscure. Most TQt classes are derived from the +tqnamespace.h is slightly obscure. Most TQt classes are derived from the \link ntqt.html Qt\endlink superclass which contains various enumerations. The \c Element class does not derive from \link ntqt.html -Qt\endlink, so we need to include \c ntqnamespace.h to have access to +Qt\endlink, so we need to include \c tqnamespace.h to have access to the TQt enum names. An alternative approach would have been to have made \c Element a \link ntqt.html Qt\endlink subclass. We include \c tqstring.h to make use of Qt's Unicode strings. As a convenience we @@ -613,7 +613,7 @@ the user wishes to load. If we get a filename we call load(). This function calls the static TQFileDialog::getSaveFileName() to get the name of the file to save the data in. If the file exists we use a -QMessageBox::warning() to notify the user and give them the option of +TQMessageBox::warning() to notify the user and give them the option of abandoning the save. If the file is to be saved we update the recently opened files list and call fileSave() (covered in \link tutorial2-07.html File Handling\endlink) to perform the save. |