diff options
Diffstat (limited to 'doc/tutorial.doc')
-rw-r--r-- | doc/tutorial.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial.doc b/doc/tutorial.doc index c015928c9..5ed29990f 100644 --- a/doc/tutorial.doc +++ b/doc/tutorial.doc @@ -445,18 +445,18 @@ imminent death.) The setGeometry() call does the same as move() and resize() did in the previous chapters. -\printline qApp +\printline tqApp \printline } Because the MyWidget class doesn't know about the application object, it -has to connect to Qt's pointer to it, \c qApp. +has to connect to Qt's pointer to it, \c tqApp. A widget is a software component and should know as little as possible about its environment in order to be as general and reusable as possible. Knowing the name of the application object would break this principle, -so Qt offers an alias, qApp, for the cases in which a component such as +so Qt offers an alias, tqApp, for the cases in which a component such as MyWidget needs to talk to the application object. \printuntil } |