summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-13.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-23 14:04:45 +0900
committerMichele Calgaro <[email protected]>2024-05-27 16:08:54 +0900
commit04913ce7a46fd027856e83a96205fdc388742a19 (patch)
treea04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/html/tutorial1-13.html
parentc11c0f228b65f7471a26513ef8dbde413e75f8fa (diff)
downloadtqt3-04913ce7a46fd027856e83a96205fdc388742a19.tar.gz
tqt3-04913ce7a46fd027856e83a96205fdc388742a19.zip
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/tutorial1-13.html')
-rw-r--r--doc/html/tutorial1-13.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html
index 4e92f4642..6c566c5e4 100644
--- a/doc/html/tutorial1-13.html
+++ b/doc/html/tutorial1-13.html
@@ -256,15 +256,15 @@ class, which was last seen as MyWidget.
constructor to use it. (The <em>good</em> programmers at Trolltech never
forget this, but I do. Caveat programmor - if "programmor" is Latin,
at least. Anyway, back to the code.)
-<p> <pre> <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(hit()),
+<p> <pre> <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(hit()),
this, TQ_SLOT(hit()) );
- <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(missed()),
+ <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(missed()),
this, TQ_SLOT(missed()) );
</pre>
<p> This time we want to do something when the shot has hit or missed the
target. Thus we connect the hit() and missed() signals of the
CannonField to two protected slots with the same names in this class.
-<p> <pre> <a href="ntqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) );
+<p> <pre> <a href="tqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) );
</pre>
<p> Previously we connected the Shoot button's clicked() signal directly
to the CannonField's shoot() slot. This time we want to keep track of
@@ -272,7 +272,7 @@ the number of shots fired, so we connect it to a protected slot in
this class instead.
<p> Notice how easy it is to change the behavior of a program when you are
working with self-contained components.
-<p> <pre> <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(canShoot(bool)),
+<p> <pre> <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(canShoot(bool)),
<a name="x2416"></a> shoot, TQ_SLOT(<a href="ntqwidget.html#setEnabled">setEnabled</a>(bool)) );
</pre>
<p> We also use the cannonField's canShoot() signal to enable or disable
@@ -281,7 +281,7 @@ the Shoot button appropriately.
= new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;New Game", this, "newgame" );
restart-&gt;setFont( TQFont( "Times", 18, TQFont::Bold ) );
- <a href="ntqobject.html#connect">connect</a>( restart, TQ_SIGNAL(clicked()), this, TQ_SLOT(newGame()) );
+ <a href="tqobject.html#connect">connect</a>( restart, TQ_SIGNAL(clicked()), this, TQ_SLOT(newGame()) );
</pre>
<p> We create, set up, and connect the New Game button as we have done
with the other buttons. Clicking this button will activate the