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.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html
index 6ad3faebf..6e1712f1c 100644
--- a/doc/html/tutorial1-14.html
+++ b/doc/html/tutorial1-14.html
@@ -197,9 +197,9 @@ matrix and return TRUE if it is inside the original barrel rectangle.
</h3>
<a name="1-3"></a><p>
-<p> <pre> #include &lt;<a href="qaccel-h.html">ntqaccel.h</a>&gt;
+<p> <pre> #include &lt;<a href="tqaccel-h.html">tqaccel.h</a>&gt;
</pre>
-<p> We include the class definition of <a href="ntqaccel.html">TQAccel</a>.
+<p> We include the class definition of <a href="tqaccel.html">TQAccel</a>.
<p> <pre> <a href="tqvbox.html">TQVBox</a> *box = new <a href="tqvbox.html">TQVBox</a>( this, "cannonFrame" );
box-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken );
cannonField = new CannonField( box, "cannonField" );
@@ -208,24 +208,24 @@ matrix and return TRUE if it is inside the original barrel rectangle.
<tt>CannonField</tt> as a child of that box. Because nothing else is in the
box, the effect is that the <a href="tqvbox.html">TQVBox</a> will put a frame around the
CannonField.
-<p> <pre> <a href="ntqaccel.html">TQAccel</a> *accel = new <a href="ntqaccel.html">TQAccel</a>( this );
- <a name="x2438"></a><a name="x2437"></a> accel-&gt;<a href="ntqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="ntqaccel.html#insertItem">insertItem</a>( Key_Enter ),
+<p> <pre> <a href="tqaccel.html">TQAccel</a> *accel = new <a href="tqaccel.html">TQAccel</a>( this );
+ <a name="x2438"></a><a name="x2437"></a> accel-&gt;<a href="tqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="tqaccel.html#insertItem">insertItem</a>( Key_Enter ),
this, TQ_SLOT(fire()) );
- accel-&gt;<a href="ntqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="ntqaccel.html#insertItem">insertItem</a>( Key_Return ),
+ accel-&gt;<a href="tqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="tqaccel.html#insertItem">insertItem</a>( Key_Return ),
this, TQ_SLOT(fire()) );
</pre>
<p> Here we create and set up an accelerator. An accelerator is an object
that intercepts keyboard events to an application and calls slots if
certain keys are pressed. This mechanism is also called shortcut
keys. Note that an accelerator is a child of a widget and will be
-destroyed when that widget is destroyed. <a href="ntqaccel.html">TQAccel</a> is <em>not</em> a widget
+destroyed when that widget is destroyed. <a href="tqaccel.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 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="ntqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="ntqaccel.html#insertItem">insertItem</a>( CTRL+Key_Q ),
+<p> <pre> accel-&gt;<a href="tqaccel.html#connectItem">connectItem</a>( accel-&gt;<a href="tqaccel.html#insertItem">insertItem</a>( CTRL+Key_Q ),
tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
</pre>
<p> And then we set up Ctrl+Q to do the same thing as Alt+Q. Some