diff options
Diffstat (limited to 'doc/tutorial.doc')
| -rw-r--r-- | doc/tutorial.doc | 24 | 
1 files changed, 12 insertions, 12 deletions
| diff --git a/doc/tutorial.doc b/doc/tutorial.doc index 7821fbdde..57f1482bb 100644 --- a/doc/tutorial.doc +++ b/doc/tutorial.doc @@ -98,9 +98,9 @@ The picture above is a snapshot of this program.  \skipto include  \printline qapp -This line includes the QApplication class definition. There has to be -exactly one QApplication object in every application that uses Qt. -QApplication manages various application-wide resources, such as the +This line includes the TQApplication class definition. There has to be +exactly one TQApplication object in every application that uses Qt. +TQApplication manages various application-wide resources, such as the  default font and cursor.  \printline tqpushbutton @@ -113,7 +113,7 @@ TQPushButton is a classical GUI push button that the user can press  and release. It manages its own look and feel, like every other \l  TQWidget. A widget is a user interface object that can process user  input and draw graphics. The programmer can change both the overall -\link QApplication::setStyle() look and feel\endlink and many minor +\link TQApplication::setStyle() look and feel\endlink and many minor  properties of it (such as color), as well as the widget's content. A  TQPushButton can show either a text or a \l TQPixmap. @@ -130,20 +130,20 @@ array of command-line arguments. This is a C/C++ feature. It is not  specific to Qt; however, TQt needs to process these arguments (see  following). -\printline QApplication +\printline TQApplication -\c a is this program's QApplication. Here it is created and processes +\c a is this program's TQApplication. Here it is created and processes  some of the command-line arguments (such as -display under X Window).  Note that all command-line arguments recognized by TQt are removed from  \c argv (and \c argc is decremented accordingly). See the \l -QApplication::argv() documentation for details. +TQApplication::argv() documentation for details. -<strong>Note:</strong> It is essential that the QApplication object be +<strong>Note:</strong> It is essential that the TQApplication object be  created before any window-system parts of TQt are used.  \printline TQPushButton -Here, \e after the QApplication, comes the first window-system code: A +Here, \e after the TQApplication, comes the first window-system code: A  push button is created.  The button is set up to display the text "Hello world!" and be a @@ -258,7 +258,7 @@ Here we choose a new font for the button, an 18-point bold font from  the Times family. Note that we create the font on the spot.  It is also possible to change the default font (using \l -QApplication::setFont()) for the whole application. +TQApplication::setFont()) for the whole application.  \printline connect @@ -1256,12 +1256,12 @@ this time.  \printline main  \printline {  \printline CustomColor -\printline QApplication +\printline TQApplication  We tell TQt that we want a different color-allocation strategy for this  program. There is no single correct color-allocation strategy. Because  this program uses an unusual yellow but not many colors, \c -CustomColor is best. There are several other allocation strategies; you can read about them in the \l QApplication::setColorSpec() +CustomColor is best. There are several other allocation strategies; you can read about them in the \l TQApplication::setColorSpec()  documentation.  Mostly you can ignore this, since the default is good. Occasionally | 
