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/xml-sax-features-walkthrough.doc | |
parent | 5fffa30386502b5423e45c2ed5e6af756b11c7b4 (diff) | |
download | tqt-1702a6da.tar.gz tqt-1702a6da.zip |
Rename nt* dom and xml related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |