diff options
Diffstat (limited to 'doc/application-walkthrough.doc')
-rw-r--r-- | doc/application-walkthrough.doc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/application-walkthrough.doc b/doc/application-walkthrough.doc index 08669fd98..5d748995d 100644 --- a/doc/application-walkthrough.doc +++ b/doc/application-walkthrough.doc @@ -49,7 +49,7 @@ modern application window tends to use. (See also \link tutorial2.html Tutorial #2\endlink.) It also illustrates some aspects of \l TQWhatsThis (for simple help) and a -typical \c main() using \l QApplication. +typical \c main() using \l TQApplication. Finally, it shows a typical print function based on \l TQPrinter. @@ -77,11 +77,11 @@ Now we'll look at \c main.cpp in detail. \quotefile application/main.cpp \skipto argc \printline argc -\printline QApplication +\printline TQApplication -With the above line, we create a QApplication object with the usual +With the above line, we create a TQApplication object with the usual constructor and let it -parse \e argc and \e argv. QApplication itself takes care of X11-specific +parse \e argc and \e argv. TQApplication itself takes care of X11-specific command-line options like \e -geometry, so the program will automatically behave the way X clients are expected to. @@ -96,13 +96,13 @@ system caption to "Document 1", and \e show() it. \printline connect When the application's last window is closed, it should quit. Both -the signal and the slot are predefined members of QApplication. +the signal and the slot are predefined members of TQApplication. \printline exec Having completed the application's initialization, we start the main event loop (the GUI), and eventually return the error code -that QApplication returns when it leaves the event loop. +that TQApplication returns when it leaves the event loop. \printline } |