diff options
Diffstat (limited to 'doc/xml-sax-features-walkthrough.doc')
-rw-r--r-- | doc/xml-sax-features-walkthrough.doc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/xml-sax-features-walkthrough.doc b/doc/xml-sax-features-walkthrough.doc index 7884ef445..baffbbe1d 100644 --- a/doc/xml-sax-features-walkthrough.doc +++ b/doc/xml-sax-features-walkthrough.doc @@ -91,11 +91,11 @@ If the user runs the program with one filename as an argument we process this file, otherwise we use the \e fnord.xml file from the example directory for demonstration purposes. -\printline QXmlInputSource +\printline TQXmlInputSource We use \e xmlFile as the XML Input Source... -\printline QXmlSimpleReader +\printline TQXmlSimpleReader ... and instantiate a \e reader object. Later we will manipulate its features and thus influence how the XML data are read. @@ -118,7 +118,7 @@ Thus we use a listview. Its name \e nameSpace indicates that this one will be used to present the combination of \e http://xml.org/sax/features/namespaces being TRUE and \e http://xml.org/sax/features/namespace-prefixes -being FALSE -- the default configuration of a \l QXmlSimpleReader. +being FALSE -- the default configuration of a \l TQXmlSimpleReader. Being the first grid entry the \e nameSpace listview will appear in the upper left corner of the virtual grid. @@ -126,7 +126,7 @@ appear in the upper left corner of the virtual grid. \printline handler Then we create a handler that deals with the XML data read by the reader. -As the provided handler class \l QXmlDefaultHandler simply does nothing +As the provided handler class \l TQXmlDefaultHandler simply does nothing with the data from the reader, we can't use it right away. Instead we have to subclass our own \link #structureparser.cpp StructureParser \endlink from it. @@ -209,7 +209,7 @@ Let's have a brief look at the API of our handler class \printline StructureParser \printuntil { -We derive it from the \l QXmlDefaultHandler class that +We derive it from the \l TQXmlDefaultHandler class that implements a handler that simply does nothing. \printuntil QListView @@ -219,10 +219,10 @@ we in fact need. In our case this is the constructor that takes a \l QListView as an argument, \printline startElement -\printuntil QXmlAttributes +\printuntil TQXmlAttributes the function to execute at the occurrence of element start tags -(inherited from \l QXmlContentHandler), and +(inherited from \l TQXmlContentHandler), and \printline endElement |