summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-14.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-25 15:36:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-29 22:23:36 +0900
commit0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 (patch)
tree0ef68a6a92087957855c7607ac176821d10d049d /doc/html/tutorial1-14.html
parent7b1d2ad2df8cd011b487c43336aa67639fa359c9 (diff)
downloadtqt-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.tar.gz
tqt-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.zip
Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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