summaryrefslogtreecommitdiffstats
path: root/doc/html/tagreader-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tagreader-example.html')
-rw-r--r--doc/html/tagreader-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tagreader-example.html b/doc/html/tagreader-example.html
index a7c939c68..947d614e2 100644
--- a/doc/html/tagreader-example.html
+++ b/doc/html/tagreader-example.html
@@ -54,16 +54,16 @@ indented corresponding to their nesting
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
-#include &lt;<a href="qxml-h.html">ntqxml.h</a>&gt;
+#include &lt;<a href="tqxml-h.html">tqxml.h</a>&gt;
class TQString;
-class StructureParser : public <a href="qxmldefaulthandler.html">TQXmlDefaultHandler</a>
+class StructureParser : public <a href="tqxmldefaulthandler.html">TQXmlDefaultHandler</a>
{
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; ,
- const <a href="qxmlattributes.html">TQXmlAttributes</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; );
private:
@@ -90,22 +90,22 @@ private:
#include &lt;stdio.h&gt;
#include &lt;<a href="qstring-h.html">ntqstring.h</a>&gt;
-<a name="x1903"></a>bool StructureParser::<a href="qxmlcontenthandler.html#startDocument">startDocument</a>()
+<a name="x1903"></a>bool StructureParser::<a href="tqxmlcontenthandler.html#startDocument">startDocument</a>()
{
indent = "";
return TRUE;
}
-<a name="x1904"></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;,
+<a name="x1904"></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,
- const <a href="qxmlattributes.html">TQXmlAttributes</a>&amp; )
+ const <a href="tqxmlattributes.html">TQXmlAttributes</a>&amp; )
{
printf( "%s%s\n", (const char*)indent, (const char*)qName );
indent += " ";
return TRUE;
}
-<a name="x1902"></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; )
+<a name="x1902"></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; )
{
indent.remove( (uint)0, 4 );
return TRUE;
@@ -126,7 +126,7 @@ private:
#include "structureparser.h"
#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="tqxml-h.html">tqxml.h</a>&gt;
#include &lt;<a href="qwindowdefs-h.html">ntqwindowdefs.h</a>&gt;
int main( int argc, char **argv )
@@ -136,12 +136,12 @@ int main( int argc, char **argv )
return 1;
}
StructureParser handler;
- <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> reader;
-<a name="x1906"></a> reader.<a href="qxmlreader.html#setContentHandler">setContentHandler</a>( &amp;handler );
+ <a href="tqxmlsimplereader.html">TQXmlSimpleReader</a> reader;
+<a name="x1906"></a> reader.<a href="tqxmlreader.html#setContentHandler">setContentHandler</a>( &amp;handler );
for ( int i=1; i &lt; argc; i++ ) {
<a href="ntqfile.html">TQFile</a> xmlFile( argv[i] );
- <a href="qxmlinputsource.html">TQXmlInputSource</a> source( &amp;xmlFile );
-<a name="x1905"></a> reader.<a href="qxmlsimplereader.html#parse">parse</a>( source );
+ <a href="tqxmlinputsource.html">TQXmlInputSource</a> source( &amp;xmlFile );
+<a name="x1905"></a> reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source );
}
return 0;
}