diff options
Diffstat (limited to 'doc/html/xml-sax-walkthrough.html')
-rw-r--r-- | doc/html/xml-sax-walkthrough.html | 14 |
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>&, const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>& , + bool startElement( const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>& , const <a href="tqxmlattributes.html">TQXmlAttributes</a>& ); - bool endElement( const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>& ); + bool endElement( const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>& ); 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 <stdio.h> - #include <<a href="qstring-h.html">ntqstring.h</a>> + #include <<a href="tqstring-h.html">tqstring.h</a>> </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>&, const <a href="ntqstring.html">TQString</a>&, - const <a href="ntqstring.html">TQString</a>& qName, +<p> <pre> <a name="x2138"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#startElement">startElement</a>( const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, + const <a href="tqstring.html">TQString</a>& qName, const <a href="tqxmlattributes.html">TQXmlAttributes</a>& ) { 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>&, const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>& ) +<p> <pre> <a name="x2136"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#endElement">endElement</a>( const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>& ) { indent.remove( (uint)0, 4 ); return TRUE; |