diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
commit | 1702a6daff27f5d3e6fdac16962d1828df6ca270 (patch) | |
tree | b451256c2cc2e22e895251bac6ec1e4bdfd40e09 /doc/html/tagreader-example.html | |
parent | 5fffa30386502b5423e45c2ed5e6af756b11c7b4 (diff) | |
download | tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.tar.gz tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.zip |
Rename nt* dom and xml related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tagreader-example.html')
-rw-r--r-- | doc/html/tagreader-example.html | 24 |
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 <<a href="qxml-h.html">ntqxml.h</a>> +#include <<a href="tqxml-h.html">tqxml.h</a>> 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>&, const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>& , - const <a href="qxmlattributes.html">TQXmlAttributes</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>& ); private: @@ -90,22 +90,22 @@ private: #include <stdio.h> #include <<a href="qstring-h.html">ntqstring.h</a>> -<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>&, const <a href="ntqstring.html">TQString</a>&, +<a name="x1904"></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, - const <a href="qxmlattributes.html">TQXmlAttributes</a>& ) + const <a href="tqxmlattributes.html">TQXmlAttributes</a>& ) { 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>&, const <a href="ntqstring.html">TQString</a>&, const <a href="ntqstring.html">TQString</a>& ) +<a name="x1902"></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>& ) { indent.remove( (uint)0, 4 ); return TRUE; @@ -126,7 +126,7 @@ private: #include "structureparser.h" #include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qxml-h.html">ntqxml.h</a>> +#include <<a href="tqxml-h.html">tqxml.h</a>> #include <<a href="qwindowdefs-h.html">ntqwindowdefs.h</a>> 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>( &handler ); + <a href="tqxmlsimplereader.html">TQXmlSimpleReader</a> reader; +<a name="x1906"></a> reader.<a href="tqxmlreader.html#setContentHandler">setContentHandler</a>( &handler ); for ( int i=1; i < argc; i++ ) { <a href="ntqfile.html">TQFile</a> xmlFile( argv[i] ); - <a href="qxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); -<a name="x1905"></a> reader.<a href="qxmlsimplereader.html#parse">parse</a>( source ); + <a href="tqxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); +<a name="x1905"></a> reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source ); } return 0; } |