summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-14.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-14.html')
-rw-r--r--doc/html/tutorial1-14.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html
index b155373eb..957e99832 100644
--- a/doc/html/tutorial1-14.html
+++ b/doc/html/tutorial1-14.html
@@ -221,12 +221,12 @@ keys. Note that an accelerator is a child of a widget and will be
destroyed when that widget is destroyed. <a href="qaccel.html">TQAccel</a> is <em>not</em> a widget
and has no visible effect on its parent.
<p> We define two shortcut keys. We want the slot fire() to be called
-when the user presses Enter, and we want the application to tquit when
+when the user presses Enter, and we want the application to quit when
key Ctrl+Q is pressed. Because Enter is sometimes Return and there
are even keyboards with <em>both</em> keys, we make both Enter and Return
invoke fire().
<p> <pre> accel-&gt;<a href="qaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="qaccel.html#insertItem">insertItem</a>( CTRL+Key_Q ),
- qApp, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+ qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) );
</pre>
<p> And then we set up Ctrl+Q to do the same thing as Alt+Q. Some
people are more used to Ctrl+Q (and anyway it shows how do do it).
@@ -234,7 +234,7 @@ people are more used to Ctrl+Q (and anyway it shows how do do it).
TQt. They're actually TQt::Key_Enter, etc., but practically all classes
inherit the <a href="qt.html">TQt</a> namespace class.
<p> <pre> <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
- <a name="x2441"></a> grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( tquit, 0, 0 );
+ <a name="x2441"></a> grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( box, 1, 1 );
<a name="x2442"></a> grid-&gt;<a href="qgridlayout.html#setColStretch">setColStretch</a>( 1, 10 );
</pre>