summaryrefslogtreecommitdiffstats
path: root/doc/html/tagreader-with-features-example.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/tagreader-with-features-example.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/tagreader-with-features-example.html')
-rw-r--r--doc/html/tagreader-with-features-example.html72
1 files changed, 36 insertions, 36 deletions
diff --git a/doc/html/tagreader-with-features-example.html b/doc/html/tagreader-with-features-example.html
index d9828953..9cf36b37 100644
--- a/doc/html/tagreader-with-features-example.html
+++ b/doc/html/tagreader-with-features-example.html
@@ -52,8 +52,8 @@ $Id: qt/structureparser.h 3.3.8 edited May 27 2003 $
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
-#include &lt;<a href="qxml-h.html">qxml.h</a>&gt;
-#include &lt;<a href="qptrstack-h.html">qptrstack.h</a>&gt;
+#include &lt;<a href="qxml-h.html">ntqxml.h</a>&gt;
+#include &lt;<a href="qptrstack-h.html">ntqptrstack.h</a>&gt;
class TQListView;
class TQListViewItem;
@@ -62,16 +62,16 @@ class TQString;
class StructureParser: public <a href="qxmldefaulthandler.html">TQXmlDefaultHandler</a>
{
public:
- StructureParser( <a href="qlistview.html">TQListView</a> * );
- 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; ,
+ StructureParser( <a href="ntqlistview.html">TQListView</a> * );
+ 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; );
- void setListView( <a href="qlistview.html">TQListView</a> * );
+ void setListView( <a href="ntqlistview.html">TQListView</a> * );
private:
- <a href="qptrstack.html">TQPtrStack</a>&lt;TQListViewItem&gt; stack;
- <a href="qlistview.html">TQListView</a> * table;
+ <a href="ntqptrstack.html">TQPtrStack</a>&lt;TQListViewItem&gt; stack;
+ <a href="ntqlistview.html">TQListView</a> * table;
};
#endif
@@ -85,16 +85,16 @@ $Id: qt/structureparser.cpp 3.3.8 edited May 27 2003 $
#include "structureparser.h"
-#include &lt;<a href="qstring-h.html">qstring.h</a>&gt;
-#include &lt;<a href="qlistview-h.html">qlistview.h</a>&gt;
+#include &lt;<a href="qstring-h.html">ntqstring.h</a>&gt;
+#include &lt;<a href="qlistview-h.html">ntqlistview.h</a>&gt;
-<a name="f528"></a>StructureParser::StructureParser( <a href="qlistview.html">TQListView</a> * t )
+<a name="f528"></a>StructureParser::StructureParser( <a href="ntqlistview.html">TQListView</a> * t )
: <a href="qxmldefaulthandler.html">TQXmlDefaultHandler</a>()
{
setListView( t );
}
-void <a name="f529"></a>StructureParser::setListView( <a href="qlistview.html">TQListView</a> * t )
+void <a name="f529"></a>StructureParser::setListView( <a href="ntqlistview.html">TQListView</a> * t )
{
table = t;
table-&gt;setSorting( -1 );
@@ -102,9 +102,9 @@ void <a name="f529"></a>StructureParser::setListView( <a href="qlistview.html">T
table-&gt;addColumn( "Namespace" );
}
-<a name="x1971"></a>bool StructureParser::<a href="qxmlcontenthandler.html#startElement">startElement</a>( const <a href="qstring.html">TQString</a>&amp; namespaceURI,
- const <a href="qstring.html">TQString</a>&amp; ,
- const <a href="qstring.html">TQString</a>&amp; qName,
+<a name="x1971"></a>bool StructureParser::<a href="qxmlcontenthandler.html#startElement">startElement</a>( const <a href="ntqstring.html">TQString</a>&amp; namespaceURI,
+ 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; attributes)
{
<a href="qlistviewitem.html">TQListViewItem</a> * element;
@@ -130,8 +130,8 @@ void <a name="f529"></a>StructureParser::setListView( <a href="qlistview.html">T
return TRUE;
}
-<a name="x1970"></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; )
+<a name="x1970"></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; )
{
stack.pop();
return TRUE;
@@ -151,31 +151,31 @@ void <a name="f529"></a>StructureParser::setListView( <a href="qlistview.html">T
*****************************************************************************/
#include "structureparser.h"
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#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="qlistview-h.html">qlistview.h</a>&gt;
-#include &lt;<a href="qgrid-h.html">qgrid.h</a>&gt;
-#include &lt;<a href="qmainwindow-h.html">qmainwindow.h</a>&gt;
-#include &lt;<a href="qlabel-h.html">qlabel.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.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="qlistview-h.html">ntqlistview.h</a>&gt;
+#include &lt;<a href="qgrid-h.html">ntqgrid.h</a>&gt;
+#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
+#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
int main( int argc, char **argv )
{
- <a href="qapplication.html">TQApplication</a> app( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv );
- <a href="qfile.html">TQFile</a> xmlFile( argc == 2 ? argv[1] : "fnord.xml" );
+ <a href="ntqfile.html">TQFile</a> xmlFile( argc == 2 ? argv[1] : "fnord.xml" );
<a href="qxmlinputsource.html">TQXmlInputSource</a> source( &amp;xmlFile );
<a href="qxmlsimplereader.html">TQXmlSimpleReader</a> reader;
- <a href="qgrid.html">TQGrid</a> * container = new <a href="qgrid.html">TQGrid</a>( 3 );
+ <a href="ntqgrid.html">TQGrid</a> * container = new <a href="ntqgrid.html">TQGrid</a>( 3 );
- <a href="qlistview.html">TQListView</a> * nameSpace = new <a href="qlistview.html">TQListView</a>( container, "table_namespace" );
+ <a href="ntqlistview.html">TQListView</a> * nameSpace = new <a href="ntqlistview.html">TQListView</a>( container, "table_namespace" );
StructureParser * handler = new StructureParser( nameSpace );
<a name="x1977"></a> reader.<a href="qxmlreader.html#setContentHandler">setContentHandler</a>( handler );
<a name="x1976"></a> reader.<a href="qxmlsimplereader.html#parse">parse</a>( source );
- <a href="qlistview.html">TQListView</a> * namespacePrefix = new <a href="qlistview.html">TQListView</a>( container,
+ <a href="ntqlistview.html">TQListView</a> * namespacePrefix = new <a href="ntqlistview.html">TQListView</a>( container,
"table_namespace_prefix" );
handler-&gt;setListView( namespacePrefix );
<a name="x1978"></a> reader.<a href="qxmlsimplereader.html#setFeature">setFeature</a>( "http://xml.org/sax/features/namespace-prefixes",
@@ -183,37 +183,37 @@ int main( int argc, char **argv )
<a name="x1975"></a> source.<a href="qxmlinputsource.html#reset">reset</a>();
reader.<a href="qxmlsimplereader.html#parse">parse</a>( source );
- <a href="qlistview.html">TQListView</a> * prefix = new <a href="qlistview.html">TQListView</a>( container, "table_prefix");
+ <a href="ntqlistview.html">TQListView</a> * prefix = new <a href="ntqlistview.html">TQListView</a>( container, "table_prefix");
handler-&gt;setListView( prefix );
reader.<a href="qxmlsimplereader.html#setFeature">setFeature</a>( "http://xml.org/sax/features/namespaces", FALSE );
source.<a href="qxmlinputsource.html#reset">reset</a>();
reader.<a href="qxmlsimplereader.html#parse">parse</a>( source );
// namespace label
- (void) new <a href="qlabel.html">TQLabel</a>(
+ (void) new <a href="ntqlabel.html">TQLabel</a>(
"Default:\n"
"http://xml.org/sax/features/namespaces: TRUE\n"
"http://xml.org/sax/features/namespace-prefixes: FALSE\n",
container );
// namespace prefix label
- (void) new <a href="qlabel.html">TQLabel</a>(
+ (void) new <a href="ntqlabel.html">TQLabel</a>(
"\n"
"http://xml.org/sax/features/namespaces: TRUE\n"
"http://xml.org/sax/features/namespace-prefixes: TRUE\n",
container );
// prefix label
- (void) new <a href="qlabel.html">TQLabel</a>(
+ (void) new <a href="ntqlabel.html">TQLabel</a>(
"\n"
"http://xml.org/sax/features/namespaces: FALSE\n"
"http://xml.org/sax/features/namespace-prefixes: TRUE\n",
container );
- app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( container );
- container-&gt;<a href="qwidget.html#show">show</a>();
- return app.<a href="qapplication.html#exec">exec</a>();
+ app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( container );
+ container-&gt;<a href="ntqwidget.html#show">show</a>();
+ return app.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>