summaryrefslogtreecommitdiffstats
path: root/doc/application-walkthrough.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/application-walkthrough.doc')
-rw-r--r--doc/application-walkthrough.doc16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/application-walkthrough.doc b/doc/application-walkthrough.doc
index d7afbc1e2..3dcd87e10 100644
--- a/doc/application-walkthrough.doc
+++ b/doc/application-walkthrough.doc
@@ -43,8 +43,8 @@
\title Walkthrough: A Simple Application
-This walkthrough shows simple use of \l QMainWindow, \l QMenuBar, \l
-QPopupMenu, \l QToolBar and \l QStatusBar - classes that every
+This walkthrough shows simple use of \l TQMainWindow, \l TQMenuBar, \l
+TQPopupMenu, \l TQToolBar and \l TQStatusBar - classes that every
modern application window tends to use. (See also \link tutorial2.html
Tutorial #2\endlink.)
@@ -59,7 +59,7 @@ Here's the header file in full:
\include application/application.h
-It declares a class that inherits \l QMainWindow, with slots and private
+It declares a class that inherits \l TQMainWindow, with slots and private
variables. The class pre-declaration of \l TQTextEdit at the beginning
(instead of an include) helps to speed up compilation. With this
trick, \c{make depend} won't insist on recompiling every \c .cpp file that
@@ -129,7 +129,7 @@ compile them into the binary. This is what we are doing here.
\printline ApplicationWindow::ApplicationWindow
\printuntil {
-\e ApplicationWindow inherits QMainWindow, the TQt class that provides
+\e ApplicationWindow inherits TQMainWindow, the TQt class that provides
typical application main windows, with menu bars, toolbars, etc.
\printuntil QPrinter
@@ -144,7 +144,7 @@ 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
them.
-\printline QToolBar
+\printline TQToolBar
We create a toolbar in \e this window ...
@@ -199,7 +199,7 @@ this is not necessary.
\printuntil &File
-Next we create a \l QPopupMenu for the \e File menu and
+Next we create a \l TQPopupMenu for the \e File menu and
add it to the menu bar. With the ampersand in front of the letter F,
we allow the user to use the shortcut \e Alt+F to pop up this menu.
@@ -218,7 +218,7 @@ letter N as marked by the ampersand) or uses the
We populate the \e File menu with three more commands (\e Open, \e Save and
\e{Save As}), and set "What's This?" help for them. Note in particular
that "What's This?" help and pixmaps are used in both the toolbar (above)
-and the menu bar (here). (See QAction and the \c examples/action
+and the menu bar (here). (See TQAction and the \c examples/action
example for a shorter and easier approach.)
\printline insertSeparator(
@@ -260,7 +260,7 @@ side of the menu bar or not.
Now we create a simple text-editor, set the initial focus to it,
and make it the window's central widget.
-\l QMainWindow::centralWidget() is the heart of the entire application:
+\l TQMainWindow::centralWidget() is the heart of the entire application:
It's what menu bar, statusbar and toolbars are all arranged around. Since
the central widget is a text editing widget, we can now reveal that
our simple application is a text editor. :)