summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-03.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial2-03.html')
-rw-r--r--doc/html/tutorial2-03.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial2-03.html b/doc/html/tutorial2-03.html
index 4cdcb4960..04cc3f1c9 100644
--- a/doc/html/tutorial2-03.html
+++ b/doc/html/tutorial2-03.html
@@ -153,8 +153,8 @@ index; (see <a href="debug.html">Debugging</a>).
<a name="1"></a><p> (Extracts from <tt>element.h</tt>.)
<p>
-<pre> TQTextStream &amp;operator&lt;&lt;( <a href="ntqtextstream.html">TQTextStream</a>&amp;, const Element&amp; );
- TQTextStream &amp;operator&gt;&gt;( <a href="ntqtextstream.html">TQTextStream</a>&amp;, Element&amp; );
+<pre> TQTextStream &amp;operator&lt;&lt;( <a href="tqtextstream.html">TQTextStream</a>&amp;, const Element&amp; );
+ TQTextStream &amp;operator&gt;&gt;( <a href="tqtextstream.html">TQTextStream</a>&amp;, Element&amp; );
</pre>
<p> To make our <tt>Element</tt> class more self-contained we provide overloads
for the &lt;&lt; and &gt;&gt; operators so that <tt>Element</tt>s may be written to
@@ -168,9 +168,9 @@ filter the data using a scripting language.
<pre> #include "element.h"
#include &lt;<a href="tqstringlist-h.html">tqstringlist.h</a>&gt;
- #include &lt;<a href="qtextstream-h.html">ntqtextstream.h</a>&gt;
+ #include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
</pre>
-<p> Our implementation of the operators requires the inclusion of <a href="qtextstream-h.html">ntqtextstream.h</a> and <a href="tqstringlist-h.html">tqstringlist.h</a>.
+<p> Our implementation of the operators requires the inclusion of <a href="tqtextstream-h.html">tqtextstream.h</a> and <a href="tqstringlist-h.html">tqstringlist.h</a>.
<p> <pre> const char FIELD_SEP = ':';
const char PROPOINT_SEP = ';';
const char XY_SEP = ',';
@@ -190,7 +190,7 @@ label text. For example:
<p> There's no problem having whitespace and field separators in label
text due to the way we read <tt>Element</tt> data.
-<p> <pre> TQTextStream &amp;operator&lt;&lt;( <a href="ntqtextstream.html">TQTextStream</a> &amp;s, const Element &amp;element )
+<p> <pre> TQTextStream &amp;operator&lt;&lt;( <a href="tqtextstream.html">TQTextStream</a> &amp;s, const Element &amp;element )
{
s &lt;&lt; element.value() &lt;&lt; FIELD_SEP
&lt;&lt; element.valueColor().name() &lt;&lt; FIELD_SEP
@@ -210,9 +210,9 @@ text due to the way we read <tt>Element</tt> data.
<p> Writing elements is straight-forward. Each member is written followed
by a field separator. The points are written as comma separated (<tt>XY_SEP</tt>) x, y pairs, each pair separated by the <tt>PROPOINT_SEP</tt>
separator. The final field is the label followed by a newline.
-<p> <pre> TQTextStream &amp;operator&gt;&gt;( <a href="ntqtextstream.html">TQTextStream</a> &amp;s, Element &amp;element )
+<p> <pre> TQTextStream &amp;operator&gt;&gt;( <a href="tqtextstream.html">TQTextStream</a> &amp;s, Element &amp;element )
{
- <a name="x2553"></a> <a href="tqstring.html">TQString</a> data = s.<a href="ntqtextstream.html#readLine">readLine</a>();
+ <a name="x2553"></a> <a href="tqstring.html">TQString</a> data = s.<a href="tqtextstream.html#readLine">readLine</a>();
element.setValue( Element::INVALID );
int errors = 0;