summaryrefslogtreecommitdiffstats
path: root/doc/html/tagreader-with-features-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tagreader-with-features-example.html')
-rw-r--r--doc/html/tagreader-with-features-example.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/tagreader-with-features-example.html b/doc/html/tagreader-with-features-example.html
index 90921c91b..f384b3ae3 100644
--- a/doc/html/tagreader-with-features-example.html
+++ b/doc/html/tagreader-with-features-example.html
@@ -62,16 +62,16 @@ class TQString;
class StructureParser: public <a href="tqxmldefaulthandler.html">TQXmlDefaultHandler</a>
{
public:
- StructureParser( <a href="ntqlistview.html">TQListView</a> * );
+ StructureParser( <a href="tqlistview.html">TQListView</a> * );
bool startElement( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp; ,
const <a href="tqxmlattributes.html">TQXmlAttributes</a>&amp; );
bool endElement( const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp;, const <a href="tqstring.html">TQString</a>&amp; );
- void setListView( <a href="ntqlistview.html">TQListView</a> * );
+ void setListView( <a href="tqlistview.html">TQListView</a> * );
private:
<a href="tqptrstack.html">TQPtrStack</a>&lt;TQListViewItem&gt; stack;
- <a href="ntqlistview.html">TQListView</a> * table;
+ <a href="tqlistview.html">TQListView</a> * table;
};
#endif
@@ -86,15 +86,15 @@ $Id: qt/structureparser.cpp 3.3.8 edited May 27 2003 $
#include "structureparser.h"
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
-#include &lt;<a href="qlistview-h.html">ntqlistview.h</a>&gt;
+#include &lt;<a href="tqlistview-h.html">tqlistview.h</a>&gt;
-<a name="f528"></a>StructureParser::StructureParser( <a href="ntqlistview.html">TQListView</a> * t )
+<a name="f528"></a>StructureParser::StructureParser( <a href="tqlistview.html">TQListView</a> * t )
: <a href="tqxmldefaulthandler.html">TQXmlDefaultHandler</a>()
{
setListView( t );
}
-void <a name="f529"></a>StructureParser::setListView( <a href="ntqlistview.html">TQListView</a> * t )
+void <a name="f529"></a>StructureParser::setListView( <a href="tqlistview.html">TQListView</a> * t )
{
table = t;
table-&gt;setSorting( -1 );
@@ -107,24 +107,24 @@ void <a name="f529"></a>StructureParser::setListView( <a href="ntqlistview.html"
const <a href="tqstring.html">TQString</a>&amp; qName,
const <a href="tqxmlattributes.html">TQXmlAttributes</a>&amp; attributes)
{
- <a href="qlistviewitem.html">TQListViewItem</a> * element;
+ <a href="tqlistviewitem.html">TQListViewItem</a> * element;
if ( ! stack.isEmpty() ){
- <a href="qlistviewitem.html">TQListViewItem</a> *lastChild = stack.top()-&gt;firstChild();
+ <a href="tqlistviewitem.html">TQListViewItem</a> *lastChild = stack.top()-&gt;firstChild();
if ( lastChild ) {
-<a name="x1965"></a> while ( lastChild-&gt;<a href="qlistviewitem.html#nextSibling">nextSibling</a>() )
- lastChild = lastChild-&gt;<a href="qlistviewitem.html#nextSibling">nextSibling</a>();
+<a name="x1965"></a> while ( lastChild-&gt;<a href="tqlistviewitem.html#nextSibling">nextSibling</a>() )
+ lastChild = lastChild-&gt;<a href="tqlistviewitem.html#nextSibling">nextSibling</a>();
}
- element = new <a href="qlistviewitem.html">TQListViewItem</a>( stack.top(), lastChild, qName, namespaceURI );
+ element = new <a href="tqlistviewitem.html">TQListViewItem</a>( stack.top(), lastChild, qName, namespaceURI );
} else {
- element = new <a href="qlistviewitem.html">TQListViewItem</a>( table, qName, namespaceURI );
+ element = new <a href="tqlistviewitem.html">TQListViewItem</a>( table, qName, namespaceURI );
}
stack.push( element );
-<a name="x1966"></a> element-&gt;<a href="qlistviewitem.html#setOpen">setOpen</a>( TRUE );
+<a name="x1966"></a> element-&gt;<a href="tqlistviewitem.html#setOpen">setOpen</a>( TRUE );
<a name="x1967"></a> if ( attributes.<a href="tqxmlattributes.html#length">length</a>() &gt; 0 ) {
for ( int i = 0 ; i &lt; attributes.<a href="tqxmlattributes.html#length">length</a>(); i++ ) {
-<a name="x1969"></a><a name="x1968"></a> new <a href="qlistviewitem.html">TQListViewItem</a>( element, attributes.<a href="tqxmlattributes.html#qName">qName</a>(i), attributes.<a href="tqxmlattributes.html#uri">uri</a>(i) );
+<a name="x1969"></a><a name="x1968"></a> new <a href="tqlistviewitem.html">TQListViewItem</a>( element, attributes.<a href="tqxmlattributes.html#qName">qName</a>(i), attributes.<a href="tqxmlattributes.html#uri">uri</a>(i) );
}
}
return TRUE;
@@ -154,8 +154,8 @@ void <a name="f529"></a>StructureParser::setListView( <a href="ntqlistview.html"
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqxml-h.html">tqxml.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="tqlistview-h.html">tqlistview.h</a>&gt;
+#include &lt;<a href="tqgrid-h.html">tqgrid.h</a>&gt;
#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
@@ -168,14 +168,14 @@ int main( int argc, char **argv )
<a href="tqxmlsimplereader.html">TQXmlSimpleReader</a> reader;
- <a href="ntqgrid.html">TQGrid</a> * container = new <a href="ntqgrid.html">TQGrid</a>( 3 );
+ <a href="tqgrid.html">TQGrid</a> * container = new <a href="tqgrid.html">TQGrid</a>( 3 );
- <a href="ntqlistview.html">TQListView</a> * nameSpace = new <a href="ntqlistview.html">TQListView</a>( container, "table_namespace" );
+ <a href="tqlistview.html">TQListView</a> * nameSpace = new <a href="tqlistview.html">TQListView</a>( container, "table_namespace" );
StructureParser * handler = new StructureParser( nameSpace );
<a name="x1977"></a> reader.<a href="tqxmlreader.html#setContentHandler">setContentHandler</a>( handler );
<a name="x1976"></a> reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source );
- <a href="ntqlistview.html">TQListView</a> * namespacePrefix = new <a href="ntqlistview.html">TQListView</a>( container,
+ <a href="tqlistview.html">TQListView</a> * namespacePrefix = new <a href="tqlistview.html">TQListView</a>( container,
"table_namespace_prefix" );
handler-&gt;setListView( namespacePrefix );
<a name="x1978"></a> reader.<a href="tqxmlsimplereader.html#setFeature">setFeature</a>( "http://xml.org/sax/features/namespace-prefixes",
@@ -183,7 +183,7 @@ int main( int argc, char **argv )
<a name="x1975"></a> source.<a href="tqxmlinputsource.html#reset">reset</a>();
reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source );
- <a href="ntqlistview.html">TQListView</a> * prefix = new <a href="ntqlistview.html">TQListView</a>( container, "table_prefix");
+ <a href="tqlistview.html">TQListView</a> * prefix = new <a href="tqlistview.html">TQListView</a>( container, "table_prefix");
handler-&gt;setListView( prefix );
reader.<a href="tqxmlsimplereader.html#setFeature">setFeature</a>( "http://xml.org/sax/features/namespaces", FALSE );
source.<a href="tqxmlinputsource.html#reset">reset</a>();