diff options
Diffstat (limited to 'doc/html/tagreader-with-features-example.html')
| -rw-r--r-- | doc/html/tagreader-with-features-example.html | 40 |
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>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>& , const <a href="tqxmlattributes.html">TQXmlAttributes</a>& ); bool endElement( const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>& ); - void setListView( <a href="ntqlistview.html">TQListView</a> * ); + void setListView( <a href="tqlistview.html">TQListView</a> * ); private: <a href="tqptrstack.html">TQPtrStack</a><TQListViewItem> 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 <<a href="tqstring-h.html">tqstring.h</a>> -#include <<a href="qlistview-h.html">ntqlistview.h</a>> +#include <<a href="tqlistview-h.html">tqlistview.h</a>> -<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->setSorting( -1 ); @@ -107,24 +107,24 @@ void <a name="f529"></a>StructureParser::setListView( <a href="ntqlistview.html" const <a href="tqstring.html">TQString</a>& qName, const <a href="tqxmlattributes.html">TQXmlAttributes</a>& 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()->firstChild(); + <a href="tqlistviewitem.html">TQListViewItem</a> *lastChild = stack.top()->firstChild(); if ( lastChild ) { -<a name="x1965"></a> while ( lastChild-><a href="qlistviewitem.html#nextSibling">nextSibling</a>() ) - lastChild = lastChild-><a href="qlistviewitem.html#nextSibling">nextSibling</a>(); +<a name="x1965"></a> while ( lastChild-><a href="tqlistviewitem.html#nextSibling">nextSibling</a>() ) + lastChild = lastChild-><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-><a href="qlistviewitem.html#setOpen">setOpen</a>( TRUE ); +<a name="x1966"></a> element-><a href="tqlistviewitem.html#setOpen">setOpen</a>( TRUE ); <a name="x1967"></a> if ( attributes.<a href="tqxmlattributes.html#length">length</a>() > 0 ) { for ( int i = 0 ; i < 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 <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="tqfile-h.html">tqfile.h</a>> #include <<a href="tqxml-h.html">tqxml.h</a>> -#include <<a href="qlistview-h.html">ntqlistview.h</a>> -#include <<a href="qgrid-h.html">ntqgrid.h</a>> +#include <<a href="tqlistview-h.html">tqlistview.h</a>> +#include <<a href="tqgrid-h.html">tqgrid.h</a>> #include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> @@ -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->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->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>(); |
