summaryrefslogtreecommitdiffstats
path: root/doc/html/xml-sax-walkthrough.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/xml-sax-walkthrough.html')
-rw-r--r--doc/html/xml-sax-walkthrough.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/xml-sax-walkthrough.html b/doc/html/xml-sax-walkthrough.html
index d1c4a50f2..9ae0b2c7b 100644
--- a/doc/html/xml-sax-walkthrough.html
+++ b/doc/html/xml-sax-walkthrough.html
@@ -74,12 +74,12 @@ class StructureParser : public <a href="tqxmldefaulthandler.html">TQXmlDefaultHa
{
public:
bool startDocument();
- bool startElement( const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp; ,
+ bool startElement( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp; ,
const <a href="tqxmlattributes.html">TQXmlAttributes</a>&amp; );
- bool endElement( const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp; );
+ bool endElement( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp; );
private:
- <a href="ntqstring.html">TQString</a> indent;
+ <a href="tqstring.html">TQString</a> indent;
};
#endif
@@ -94,7 +94,7 @@ get indentation right, there is nothing special about our new
<p> <pre> #include "structureparser.h"
#include &lt;stdio.h&gt;
- #include &lt;<a href="qstring-h.html">ntqstring.h</a>&gt;
+ #include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
</pre>
<p> First we overload <a href="tqxmlcontenthandler.html#startDocument">TQXmlContentHandler::startDocument</a>() with a non-empty version.
<p> <pre> <a name="x2137"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#startDocument">startDocument</a>()
@@ -111,8 +111,8 @@ reporting an error.
<p> Because we want to be informed when the parser comes
accross a start tag of an element and subsequently print it out, we
have to overload <a href="tqxmlcontenthandler.html#startElement">TQXmlContentHandler::startElement</a>().
-<p> <pre> <a name="x2138"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#startElement">startElement</a>( const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp;,
- const <a href="ntqstring.html">TQString</a>&amp; qName,
+<p> <pre> <a name="x2138"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#startElement">startElement</a>( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;,
+ const <a href="tqstring.html">TQString</a>&amp; qName,
const <a href="tqxmlattributes.html">TQXmlAttributes</a>&amp; )
{
printf( "%s%s\n", (const char*)indent, (const char*)qName );
@@ -131,7 +131,7 @@ it should be indented. Therefore we add four spaces to the
errors.
<p> The last functionality we need to add is the parser's behaviour when an
end tag occurs. This means overloading <a href="tqxmlcontenthandler.html#endElement">TQXmlContentHandler::endElement</a>().
-<p> <pre> <a name="x2136"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#endElement">endElement</a>( const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp;, const <a href="ntqstring.html">TQString</a>&amp; )
+<p> <pre> <a name="x2136"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#endElement">endElement</a>( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp; )
{
indent.remove( (uint)0, 4 );
return TRUE;