summaryrefslogtreecommitdiffstats
path: root/doc/html/xml-sax-walkthrough.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/xml-sax-walkthrough.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/xml-sax-walkthrough.html')
-rw-r--r--doc/html/xml-sax-walkthrough.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/xml-sax-walkthrough.html b/doc/html/xml-sax-walkthrough.html
index d9a2e0c23..cd26dc90f 100644
--- a/doc/html/xml-sax-walkthrough.html
+++ b/doc/html/xml-sax-walkthrough.html
@@ -66,7 +66,7 @@ provides an implementation that does not change the parsing behavior):
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
-#include &lt;<a href="qxml-h.html">qxml.h</a>&gt;
+#include &lt;<a href="qxml-h.html">ntqxml.h</a>&gt;
class TQString;
@@ -74,12 +74,12 @@ class StructureParser : public <a href="qxmldefaulthandler.html">TQXmlDefaultHan
{
public:
bool startDocument();
- bool startElement( const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp; ,
+ 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; ,
const <a href="qxmlattributes.html">TQXmlAttributes</a>&amp; );
- bool endElement( const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</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; );
private:
- <a href="qstring.html">TQString</a> indent;
+ <a href="ntqstring.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">qstring.h</a>&gt;
+ #include &lt;<a href="qstring-h.html">ntqstring.h</a>&gt;
</pre>
<p> First we overload <a href="qxmlcontenthandler.html#startDocument">TQXmlContentHandler::startDocument</a>() with a non-empty version.
<p> <pre> <a name="x2137"></a>bool StructureParser::<a href="qxmlcontenthandler.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="qxmlcontenthandler.html#startElement">TQXmlContentHandler::startElement</a>().
-<p> <pre> <a name="x2138"></a>bool StructureParser::<a href="qxmlcontenthandler.html#startElement">startElement</a>( const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp;,
- const <a href="qstring.html">TQString</a>&amp; qName,
+<p> <pre> <a name="x2138"></a>bool StructureParser::<a href="qxmlcontenthandler.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,
const <a href="qxmlattributes.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="qxmlcontenthandler.html#endElement">TQXmlContentHandler::endElement</a>().
-<p> <pre> <a name="x2136"></a>bool StructureParser::<a href="qxmlcontenthandler.html#endElement">endElement</a>( const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp;, const <a href="qstring.html">TQString</a>&amp; )
+<p> <pre> <a name="x2136"></a>bool StructureParser::<a href="qxmlcontenthandler.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; )
{
indent.remove( (uint)0, 4 );
return TRUE;
@@ -144,9 +144,9 @@ program.
<p>
<p> <pre> #include "structureparser.h"
- #include &lt;<a href="qfile-h.html">qfile.h</a>&gt;
- #include &lt;<a href="qxml-h.html">qxml.h</a>&gt;
- #include &lt;<a href="qwindowdefs-h.html">qwindowdefs.h</a>&gt;
+ #include &lt;<a href="qfile-h.html">ntqfile.h</a>&gt;
+ #include &lt;<a href="qxml-h.html">ntqxml.h</a>&gt;
+ #include &lt;<a href="qwindowdefs-h.html">ntqwindowdefs.h</a>&gt;
int main( int argc, char **argv )
{
@@ -169,7 +169,7 @@ we simply register it as the content handler of our choice.
<p> <pre> for ( int i=1; i &lt; argc; i++ ) {
</pre>
<p> Successively we deal with all files given as command line arguments.
-<p> <pre> <a href="qfile.html">TQFile</a> xmlFile( argv[i] );
+<p> <pre> <a href="ntqfile.html">TQFile</a> xmlFile( argv[i] );
<a href="qxmlinputsource.html">TQXmlInputSource</a> source( &amp;xmlFile );
</pre>
<p> Then we create a