From 1702a6daff27f5d3e6fdac16962d1828df6ca270 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 May 2024 12:36:05 +0900 Subject: Rename nt* dom and xml related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/classchart.doc | 30 +- doc/html/annotated.html | 62 +- doc/html/classchart.html | 30 +- doc/html/classes.html | 62 +- doc/html/designer-manual-16.html | 2 +- doc/html/functions.html | 384 +++++----- doc/html/headerfilesynonyms | 62 +- doc/html/headers.html | 4 +- doc/html/hierarchy.html | 68 +- doc/html/index | 668 ++++++++--------- doc/html/mainclasses.html | 2 +- doc/html/ntqlistview.html | 4 +- doc/html/outliner-example.html | 64 +- doc/html/porting.html | 32 +- doc/html/qdom-h.html | 722 ------------------ doc/html/qdomattr-members.html | 112 --- doc/html/qdomattr.html | 165 ---- doc/html/qdomcdatasection-members.html | 116 --- doc/html/qdomcdatasection.html | 116 --- doc/html/qdomcharacterdata-members.html | 115 --- doc/html/qdomcharacterdata.html | 160 ---- doc/html/qdomcomment-members.html | 115 --- doc/html/qdomcomment.html | 114 --- doc/html/qdomdocument-members.html | 127 ---- doc/html/qdomdocument.html | 504 ------------- doc/html/qdomdocumentfragment-members.html | 107 --- doc/html/qdomdocumentfragment.html | 117 --- doc/html/qdomdocumenttype-members.html | 113 --- doc/html/qdomdocumenttype.html | 150 ---- doc/html/qdomelement-members.html | 125 ---- doc/html/qdomelement.html | 350 --------- doc/html/qdomentity-members.html | 110 --- doc/html/qdomentity.html | 138 ---- doc/html/qdomentityreference-members.html | 107 --- doc/html/qdomentityreference.html | 125 ---- doc/html/qdomimplementation-members.html | 55 -- doc/html/qdomimplementation.html | 149 ---- doc/html/qdomnamednodemap-members.html | 61 -- doc/html/qdomnamednodemap.html | 200 ----- doc/html/qdomnode-members.html | 107 --- doc/html/qdomnode.html | 741 ------------------ doc/html/qdomnodelist-members.html | 54 -- doc/html/qdomnodelist.html | 127 ---- doc/html/qdomnotation-members.html | 109 --- doc/html/qdomnotation.html | 126 ---- doc/html/qdomprocessinginstruction-members.html | 110 --- doc/html/qdomprocessinginstruction.html | 134 ---- doc/html/qdomtext-members.html | 116 --- doc/html/qdomtext.html | 122 --- doc/html/qt.dcf | 912 +++++++++++------------ doc/html/qxml-h.html | 576 -------------- doc/html/qxmlattributes-members.html | 58 -- doc/html/qxmlattributes.html | 200 ----- doc/html/qxmlcontenthandler-members.html | 58 -- doc/html/qxmlcontenthandler.html | 266 ------- doc/html/qxmldeclhandler-members.html | 50 -- doc/html/qxmldeclhandler.html | 124 --- doc/html/qxmldefaulthandler-members.html | 76 -- doc/html/qxmldefaulthandler.html | 84 --- doc/html/qxmldtdhandler-members.html | 49 -- doc/html/qxmldtdhandler.html | 108 --- doc/html/qxmlentityresolver-members.html | 48 -- doc/html/qxmlentityresolver.html | 99 --- doc/html/qxmlerrorhandler-members.html | 50 -- doc/html/qxmlerrorhandler.html | 114 --- doc/html/qxmlinputsource-members.html | 54 -- doc/html/qxmlinputsource.html | 193 ----- doc/html/qxmllexicalhandler-members.html | 54 -- doc/html/qxmllexicalhandler.html | 177 ----- doc/html/qxmllocator-members.html | 50 -- doc/html/qxmllocator.html | 94 --- doc/html/qxmlnamespacesupport-members.html | 57 -- doc/html/qxmlnamespacesupport.html | 201 ----- doc/html/qxmlparseexception-members.html | 52 -- doc/html/qxmlparseexception.html | 102 --- doc/html/qxmlreader-members.html | 65 -- doc/html/qxmlreader.html | 247 ------ doc/html/qxmlsimplereader-members.html | 68 -- doc/html/qxmlsimplereader.html | 179 ----- doc/html/tagreader-example.html | 24 +- doc/html/tagreader-with-features-example.html | 42 +- doc/html/titleindex | 128 ++-- doc/html/tqdom-h.html | 722 ++++++++++++++++++ doc/html/tqdomattr-members.html | 112 +++ doc/html/tqdomattr.html | 165 ++++ doc/html/tqdomcdatasection-members.html | 116 +++ doc/html/tqdomcdatasection.html | 116 +++ doc/html/tqdomcharacterdata-members.html | 115 +++ doc/html/tqdomcharacterdata.html | 160 ++++ doc/html/tqdomcomment-members.html | 115 +++ doc/html/tqdomcomment.html | 114 +++ doc/html/tqdomdocument-members.html | 127 ++++ doc/html/tqdomdocument.html | 504 +++++++++++++ doc/html/tqdomdocumentfragment-members.html | 107 +++ doc/html/tqdomdocumentfragment.html | 117 +++ doc/html/tqdomdocumenttype-members.html | 113 +++ doc/html/tqdomdocumenttype.html | 150 ++++ doc/html/tqdomelement-members.html | 125 ++++ doc/html/tqdomelement.html | 350 +++++++++ doc/html/tqdomentity-members.html | 110 +++ doc/html/tqdomentity.html | 138 ++++ doc/html/tqdomentityreference-members.html | 107 +++ doc/html/tqdomentityreference.html | 125 ++++ doc/html/tqdomimplementation-members.html | 55 ++ doc/html/tqdomimplementation.html | 149 ++++ doc/html/tqdomnamednodemap-members.html | 61 ++ doc/html/tqdomnamednodemap.html | 200 +++++ doc/html/tqdomnode-members.html | 107 +++ doc/html/tqdomnode.html | 741 ++++++++++++++++++ doc/html/tqdomnodelist-members.html | 54 ++ doc/html/tqdomnodelist.html | 127 ++++ doc/html/tqdomnotation-members.html | 109 +++ doc/html/tqdomnotation.html | 126 ++++ doc/html/tqdomprocessinginstruction-members.html | 110 +++ doc/html/tqdomprocessinginstruction.html | 134 ++++ doc/html/tqdomtext-members.html | 116 +++ doc/html/tqdomtext.html | 122 +++ doc/html/tqxml-h.html | 576 ++++++++++++++ doc/html/tqxmlattributes-members.html | 58 ++ doc/html/tqxmlattributes.html | 200 +++++ doc/html/tqxmlcontenthandler-members.html | 58 ++ doc/html/tqxmlcontenthandler.html | 266 +++++++ doc/html/tqxmldeclhandler-members.html | 50 ++ doc/html/tqxmldeclhandler.html | 124 +++ doc/html/tqxmldefaulthandler-members.html | 76 ++ doc/html/tqxmldefaulthandler.html | 84 +++ doc/html/tqxmldtdhandler-members.html | 49 ++ doc/html/tqxmldtdhandler.html | 108 +++ doc/html/tqxmlentityresolver-members.html | 48 ++ doc/html/tqxmlentityresolver.html | 99 +++ doc/html/tqxmlerrorhandler-members.html | 50 ++ doc/html/tqxmlerrorhandler.html | 114 +++ doc/html/tqxmlinputsource-members.html | 54 ++ doc/html/tqxmlinputsource.html | 193 +++++ doc/html/tqxmllexicalhandler-members.html | 54 ++ doc/html/tqxmllexicalhandler.html | 177 +++++ doc/html/tqxmllocator-members.html | 50 ++ doc/html/tqxmllocator.html | 94 +++ doc/html/tqxmlnamespacesupport-members.html | 57 ++ doc/html/tqxmlnamespacesupport.html | 201 +++++ doc/html/tqxmlparseexception-members.html | 52 ++ doc/html/tqxmlparseexception.html | 102 +++ doc/html/tqxmlreader-members.html | 65 ++ doc/html/tqxmlreader.html | 247 ++++++ doc/html/tqxmlsimplereader-members.html | 68 ++ doc/html/tqxmlsimplereader.html | 179 +++++ doc/html/whatsthis | 62 +- doc/html/xml-sax-features-walkthrough.html | 50 +- doc/html/xml-sax-walkthrough.html | 44 +- doc/html/xml-tools.html | 62 +- doc/html/xml.html | 220 +++--- doc/man/man3/tqdatabrowser.3qt | 2 +- doc/man/man3/tqdatatable.3qt | 4 +- doc/man/man3/tqdataview.3qt | 2 +- doc/man/man3/tqdomattr.3qt | 60 +- doc/man/man3/tqdomcdatasection.3qt | 44 +- doc/man/man3/tqdomcharacterdata.3qt | 62 +- doc/man/man3/tqdomcomment.3qt | 44 +- doc/man/man3/tqdomdocument.3qt | 236 +++--- doc/man/man3/tqdomdocumentfragment.3qt | 50 +- doc/man/man3/tqdomdocumenttype.3qt | 70 +- doc/man/man3/tqdomelement.3qt | 150 ++-- doc/man/man3/tqdomentity.3qt | 48 +- doc/man/man3/tqdomentityreference.3qt | 46 +- doc/man/man3/tqdomimplementation.3qt | 62 +- doc/man/man3/tqdomnamednodemap.3qt | 84 +-- doc/man/man3/tqdomnode.3qt | 382 +++++----- doc/man/man3/tqdomnodelist.3qt | 50 +- doc/man/man3/tqdomnotation.3qt | 44 +- doc/man/man3/tqdomprocessinginstruction.3qt | 48 +- doc/man/man3/tqdomtext.3qt | 58 +- doc/man/man3/tqeditorfactory.3qt | 2 +- doc/man/man3/tqobject.3qt | 4 +- doc/man/man3/tqobjectcleanuphandler.3qt | 2 +- doc/man/man3/tqobjectlist.3qt | 4 +- doc/man/man3/tqobjectlistiterator.3qt | 2 +- doc/man/man3/tqsql.3qt | 34 +- doc/man/man3/tqsqlcursor.3qt | 14 +- doc/man/man3/tqsqldatabase.3qt | 4 +- doc/man/man3/tqsqldriver.3qt | 16 +- doc/man/man3/tqsqldriverplugin.3qt | 2 +- doc/man/man3/tqsqleditorfactory.3qt | 4 +- doc/man/man3/tqsqlerror.3qt | 14 +- doc/man/man3/tqsqlfield.3qt | 4 +- doc/man/man3/tqsqlfieldinfo.3qt | 6 +- doc/man/man3/tqsqlform.3qt | 2 +- doc/man/man3/tqsqlindex.3qt | 4 +- doc/man/man3/tqsqlpropertymap.3qt | 4 +- doc/man/man3/tqsqlquery.3qt | 8 +- doc/man/man3/tqsqlrecord.3qt | 4 +- doc/man/man3/tqsqlrecordinfo.3qt | 6 +- doc/man/man3/tqsqlresult.3qt | 2 +- doc/man/man3/tqsqlselectcursor.3qt | 4 +- doc/man/man3/tqxmlattributes.3qt | 50 +- doc/man/man3/tqxmlcontenthandler.3qt | 52 +- doc/man/man3/tqxmldeclhandler.3qt | 24 +- doc/man/man3/tqxmldefaulthandler.3qt | 22 +- doc/man/man3/tqxmldtdhandler.3qt | 22 +- doc/man/man3/tqxmlentityresolver.3qt | 22 +- doc/man/man3/tqxmlerrorhandler.3qt | 30 +- doc/man/man3/tqxmlinputsource.3qt | 62 +- doc/man/man3/tqxmllexicalhandler.3qt | 44 +- doc/man/man3/tqxmllocator.3qt | 24 +- doc/man/man3/tqxmlnamespacesupport.3qt | 42 +- doc/man/man3/tqxmlparseexception.3qt | 26 +- doc/man/man3/tqxmlreader.3qt | 90 +-- doc/man/man3/tqxmlsimplereader.3qt | 40 +- doc/porting3.doc | 36 +- doc/xml-sax-features-walkthrough.doc | 14 +- doc/xml-sax-walkthrough.doc | 22 +- doc/xml.doc | 224 +++--- 211 files changed, 12350 insertions(+), 12350 deletions(-) delete mode 100644 doc/html/qdom-h.html delete mode 100644 doc/html/qdomattr-members.html delete mode 100644 doc/html/qdomattr.html delete mode 100644 doc/html/qdomcdatasection-members.html delete mode 100644 doc/html/qdomcdatasection.html delete mode 100644 doc/html/qdomcharacterdata-members.html delete mode 100644 doc/html/qdomcharacterdata.html delete mode 100644 doc/html/qdomcomment-members.html delete mode 100644 doc/html/qdomcomment.html delete mode 100644 doc/html/qdomdocument-members.html delete mode 100644 doc/html/qdomdocument.html delete mode 100644 doc/html/qdomdocumentfragment-members.html delete mode 100644 doc/html/qdomdocumentfragment.html delete mode 100644 doc/html/qdomdocumenttype-members.html delete mode 100644 doc/html/qdomdocumenttype.html delete mode 100644 doc/html/qdomelement-members.html delete mode 100644 doc/html/qdomelement.html delete mode 100644 doc/html/qdomentity-members.html delete mode 100644 doc/html/qdomentity.html delete mode 100644 doc/html/qdomentityreference-members.html delete mode 100644 doc/html/qdomentityreference.html delete mode 100644 doc/html/qdomimplementation-members.html delete mode 100644 doc/html/qdomimplementation.html delete mode 100644 doc/html/qdomnamednodemap-members.html delete mode 100644 doc/html/qdomnamednodemap.html delete mode 100644 doc/html/qdomnode-members.html delete mode 100644 doc/html/qdomnode.html delete mode 100644 doc/html/qdomnodelist-members.html delete mode 100644 doc/html/qdomnodelist.html delete mode 100644 doc/html/qdomnotation-members.html delete mode 100644 doc/html/qdomnotation.html delete mode 100644 doc/html/qdomprocessinginstruction-members.html delete mode 100644 doc/html/qdomprocessinginstruction.html delete mode 100644 doc/html/qdomtext-members.html delete mode 100644 doc/html/qdomtext.html delete mode 100644 doc/html/qxml-h.html delete mode 100644 doc/html/qxmlattributes-members.html delete mode 100644 doc/html/qxmlattributes.html delete mode 100644 doc/html/qxmlcontenthandler-members.html delete mode 100644 doc/html/qxmlcontenthandler.html delete mode 100644 doc/html/qxmldeclhandler-members.html delete mode 100644 doc/html/qxmldeclhandler.html delete mode 100644 doc/html/qxmldefaulthandler-members.html delete mode 100644 doc/html/qxmldefaulthandler.html delete mode 100644 doc/html/qxmldtdhandler-members.html delete mode 100644 doc/html/qxmldtdhandler.html delete mode 100644 doc/html/qxmlentityresolver-members.html delete mode 100644 doc/html/qxmlentityresolver.html delete mode 100644 doc/html/qxmlerrorhandler-members.html delete mode 100644 doc/html/qxmlerrorhandler.html delete mode 100644 doc/html/qxmlinputsource-members.html delete mode 100644 doc/html/qxmlinputsource.html delete mode 100644 doc/html/qxmllexicalhandler-members.html delete mode 100644 doc/html/qxmllexicalhandler.html delete mode 100644 doc/html/qxmllocator-members.html delete mode 100644 doc/html/qxmllocator.html delete mode 100644 doc/html/qxmlnamespacesupport-members.html delete mode 100644 doc/html/qxmlnamespacesupport.html delete mode 100644 doc/html/qxmlparseexception-members.html delete mode 100644 doc/html/qxmlparseexception.html delete mode 100644 doc/html/qxmlreader-members.html delete mode 100644 doc/html/qxmlreader.html delete mode 100644 doc/html/qxmlsimplereader-members.html delete mode 100644 doc/html/qxmlsimplereader.html create mode 100644 doc/html/tqdom-h.html create mode 100644 doc/html/tqdomattr-members.html create mode 100644 doc/html/tqdomattr.html create mode 100644 doc/html/tqdomcdatasection-members.html create mode 100644 doc/html/tqdomcdatasection.html create mode 100644 doc/html/tqdomcharacterdata-members.html create mode 100644 doc/html/tqdomcharacterdata.html create mode 100644 doc/html/tqdomcomment-members.html create mode 100644 doc/html/tqdomcomment.html create mode 100644 doc/html/tqdomdocument-members.html create mode 100644 doc/html/tqdomdocument.html create mode 100644 doc/html/tqdomdocumentfragment-members.html create mode 100644 doc/html/tqdomdocumentfragment.html create mode 100644 doc/html/tqdomdocumenttype-members.html create mode 100644 doc/html/tqdomdocumenttype.html create mode 100644 doc/html/tqdomelement-members.html create mode 100644 doc/html/tqdomelement.html create mode 100644 doc/html/tqdomentity-members.html create mode 100644 doc/html/tqdomentity.html create mode 100644 doc/html/tqdomentityreference-members.html create mode 100644 doc/html/tqdomentityreference.html create mode 100644 doc/html/tqdomimplementation-members.html create mode 100644 doc/html/tqdomimplementation.html create mode 100644 doc/html/tqdomnamednodemap-members.html create mode 100644 doc/html/tqdomnamednodemap.html create mode 100644 doc/html/tqdomnode-members.html create mode 100644 doc/html/tqdomnode.html create mode 100644 doc/html/tqdomnodelist-members.html create mode 100644 doc/html/tqdomnodelist.html create mode 100644 doc/html/tqdomnotation-members.html create mode 100644 doc/html/tqdomnotation.html create mode 100644 doc/html/tqdomprocessinginstruction-members.html create mode 100644 doc/html/tqdomprocessinginstruction.html create mode 100644 doc/html/tqdomtext-members.html create mode 100644 doc/html/tqdomtext.html create mode 100644 doc/html/tqxml-h.html create mode 100644 doc/html/tqxmlattributes-members.html create mode 100644 doc/html/tqxmlattributes.html create mode 100644 doc/html/tqxmlcontenthandler-members.html create mode 100644 doc/html/tqxmlcontenthandler.html create mode 100644 doc/html/tqxmldeclhandler-members.html create mode 100644 doc/html/tqxmldeclhandler.html create mode 100644 doc/html/tqxmldefaulthandler-members.html create mode 100644 doc/html/tqxmldefaulthandler.html create mode 100644 doc/html/tqxmldtdhandler-members.html create mode 100644 doc/html/tqxmldtdhandler.html create mode 100644 doc/html/tqxmlentityresolver-members.html create mode 100644 doc/html/tqxmlentityresolver.html create mode 100644 doc/html/tqxmlerrorhandler-members.html create mode 100644 doc/html/tqxmlerrorhandler.html create mode 100644 doc/html/tqxmlinputsource-members.html create mode 100644 doc/html/tqxmlinputsource.html create mode 100644 doc/html/tqxmllexicalhandler-members.html create mode 100644 doc/html/tqxmllexicalhandler.html create mode 100644 doc/html/tqxmllocator-members.html create mode 100644 doc/html/tqxmllocator.html create mode 100644 doc/html/tqxmlnamespacesupport-members.html create mode 100644 doc/html/tqxmlnamespacesupport.html create mode 100644 doc/html/tqxmlparseexception-members.html create mode 100644 doc/html/tqxmlparseexception.html create mode 100644 doc/html/tqxmlreader-members.html create mode 100644 doc/html/tqxmlreader.html create mode 100644 doc/html/tqxmlsimplereader-members.html create mode 100644 doc/html/tqxmlsimplereader.html (limited to 'doc') diff --git a/doc/classchart.doc b/doc/classchart.doc index 8819de2f2..36ee56833 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -210,20 +210,20 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -248,7 +248,7 @@ - + diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 2121d55f3..95e713b65 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -126,23 +126,23 @@ body { background: #ffffff; color: black; } TQDnsAsynchronous DNS lookups TQDockAreaManages and lays out TQDockWindows TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop -TQDomAttrRepresents one attribute of a TQDomElement -TQDomCDATASectionRepresents an XML CDATA section -TQDomCharacterDataRepresents a generic string in the DOM -TQDomCommentRepresents an XML comment -TQDomDocumentRepresents an XML document -TQDomDocumentFragmentTree of TQDomNodes which is not usually a complete TQDomDocument -TQDomDocumentTypeThe representation of the DTD in the document tree -TQDomElementRepresents one element in the DOM tree -TQDomEntityRepresents an XML entity -TQDomEntityReferenceRepresents an XML entity reference -TQDomImplementationInformation about the features of the DOM implementation -TQDomNamedNodeMapCollection of nodes that can be accessed by name -TQDomNodeThe base class for all the nodes in a DOM tree -TQDomNodeListList of TQDomNode objects -TQDomNotationRepresents an XML notation -TQDomProcessingInstructionRepresents an XML processing instruction -TQDomTextRepresents text data in the parsed XML document +TQDomAttrRepresents one attribute of a TQDomElement +TQDomCDATASectionRepresents an XML CDATA section +TQDomCharacterDataRepresents a generic string in the DOM +TQDomCommentRepresents an XML comment +TQDomDocumentRepresents an XML document +TQDomDocumentFragmentTree of TQDomNodes which is not usually a complete TQDomDocument +TQDomDocumentTypeThe representation of the DTD in the document tree +TQDomElementRepresents one element in the DOM tree +TQDomEntityRepresents an XML entity +TQDomEntityReferenceRepresents an XML entity reference +TQDomImplementationInformation about the features of the DOM implementation +TQDomNamedNodeMapCollection of nodes that can be accessed by name +TQDomNodeThe base class for all the nodes in a DOM tree +TQDomNodeListList of TQDomNode objects +TQDomNotationRepresents an XML notation +TQDomProcessingInstructionRepresents an XML processing instruction +TQDomTextRepresents text data in the parsed XML document TQDoubleValidatorRange checking of floating-point numbers TQDragEnterEventEvent which is sent to the widget when a drag and drop first drags onto the widget TQDragLeaveEventEvent which is sent to the widget when a drag and drop leaves the widget @@ -436,20 +436,20 @@ body { background: #ffffff; color: black; } TQWindowsStyleMicrosoft Windows-like look and feel TQWizardFramework for wizard dialogs TQWorkspaceWorkspace window that can contain decorated windows, e.g. for MDI -TQXmlAttributesXML attributes -TQXmlContentHandlerInterface to report the logical content of XML data -TQXmlDTDHandlerInterface to report DTD content of XML data -TQXmlDeclHandlerInterface to report declaration content of XML data -TQXmlDefaultHandlerDefault implementation of all the XML handler classes -TQXmlEntityResolverInterface to resolve external entities contained in XML data -TQXmlErrorHandlerInterface to report errors in XML data -TQXmlInputSourceThe input data for the TQXmlReader subclasses -TQXmlLexicalHandlerInterface to report the lexical content of XML data -TQXmlLocatorThe XML handler classes with information about the parsing position within a file -TQXmlNamespaceSupportHelper class for XML readers which want to include namespace support -TQXmlParseExceptionUsed to report errors with the TQXmlErrorHandler interface -TQXmlReaderInterface for XML readers (i.e. parsers) -TQXmlSimpleReaderImplementation of a simple XML reader (parser) +TQXmlAttributesXML attributes +TQXmlContentHandlerInterface to report the logical content of XML data +TQXmlDTDHandlerInterface to report DTD content of XML data +TQXmlDeclHandlerInterface to report declaration content of XML data +TQXmlDefaultHandlerDefault implementation of all the XML handler classes +TQXmlEntityResolverInterface to resolve external entities contained in XML data +TQXmlErrorHandlerInterface to report errors in XML data +TQXmlInputSourceThe input data for the TQXmlReader subclasses +TQXmlLexicalHandlerInterface to report the lexical content of XML data +TQXmlLocatorThe XML handler classes with information about the parsing position within a file +TQXmlNamespaceSupportHelper class for XML readers which want to include namespace support +TQXmlParseExceptionUsed to report errors with the TQXmlErrorHandler interface +TQXmlReaderInterface for XML readers (i.e. parsers) +TQXmlSimpleReaderImplementation of a simple XML reader (parser) TQtNamespace for miscellaneous identifiers that need to be global-like diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 92fc386c6..a88e8b04a 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -200,20 +200,20 @@ body { background: #ffffff; color: black; } - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -238,7 +238,7 @@ body { background: #ffffff; color: black; } - + diff --git a/doc/html/classes.html b/doc/html/classes.html index 44a39a5d3..fc95aeb0c 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -117,7 +117,7 @@ classes, see TQt's Main Classes. TQAsciiCache -TQDomAttr +TQDomAttr TQImageFormatPlugin @@ -128,7 +128,7 @@ classes, see TQt's Main Classes. TQAsciiCacheIterator -TQDomCDATASection +TQDomCDATASection TQImageFormatType @@ -139,7 +139,7 @@ classes, see TQt's Main Classes. TQAsciiDict -TQDomCharacterData +TQDomCharacterData TQImageIO @@ -150,7 +150,7 @@ classes, see TQt's Main Classes. TQAsciiDictIterator -TQDomComment +TQDomComment TQIMEvent @@ -161,7 +161,7 @@ classes, see TQt's Main Classes. TQAssistantClient -TQDomDocument +TQDomDocument TQInputDialog @@ -172,7 +172,7 @@ classes, see TQt's Main Classes. TQAxAggregated * -TQDomDocumentFragment +TQDomDocumentFragment TQIntCache @@ -183,7 +183,7 @@ classes, see TQt's Main Classes. TQAxBase * -TQDomDocumentType +TQDomDocumentType TQIntCacheIterator @@ -194,7 +194,7 @@ classes, see TQt's Main Classes. TQAxBindable * -TQDomElement +TQDomElement TQIntDict @@ -205,7 +205,7 @@ classes, see TQt's Main Classes. TQAxFactory * -TQDomEntity +TQDomEntity TQIntDictIterator @@ -216,7 +216,7 @@ classes, see TQt's Main Classes. TQAxObject * -TQDomEntityReference +TQDomEntityReference TQIntValidator @@ -227,7 +227,7 @@ classes, see TQt's Main Classes. TQAxScript * -TQDomImplementation +TQDomImplementation TQIODevice @@ -238,7 +238,7 @@ classes, see TQt's Main Classes. TQAxScriptEngine * -TQDomNamedNodeMap +TQDomNamedNodeMap J TQJisCodec @@ -249,7 +249,7 @@ classes, see TQt's Main Classes. TQAxScriptManager * -TQDomNode +TQDomNode K TQKbdDriverFactory R @@ -260,7 +260,7 @@ classes, see TQt's Main Classes. TQAxWidget * -TQDomNodeList +TQDomNodeList TQKbdDriverPlugin @@ -271,7 +271,7 @@ classes, see TQt's Main Classes. B TQBig5Codec -TQDomNotation +TQDomNotation TQKeyEvent @@ -282,7 +282,7 @@ classes, see TQt's Main Classes. TQBig5hkscsCodec -TQDomProcessingInstruction +TQDomProcessingInstruction TQKeySequence @@ -293,7 +293,7 @@ classes, see TQt's Main Classes. TQBitArray -TQDomText +TQDomText L TQLabel @@ -772,7 +772,7 @@ classes, see TQt's Main Classes. TQSqlResult X -TQXmlAttributes +TQXmlAttributes TQCString @@ -783,7 +783,7 @@ classes, see TQt's Main Classes. * TQSqlSelectCursor -TQXmlContentHandler +TQXmlContentHandler TQCursor @@ -794,7 +794,7 @@ classes, see TQt's Main Classes. * TQStatusBar -TQXmlDeclHandler +TQXmlDeclHandler TQCustomEvent @@ -805,7 +805,7 @@ classes, see TQt's Main Classes. * TQStoredDrag -TQXmlDefaultHandler +TQXmlDefaultHandler TQCustomMenuItem @@ -816,7 +816,7 @@ classes, see TQt's Main Classes. * TQStrIList -TQXmlDTDHandler +TQXmlDTDHandler D TQDataBrowser @@ -827,7 +827,7 @@ classes, see TQt's Main Classes. TQString -TQXmlEntityResolver +TQXmlEntityResolver TQDataStream @@ -838,7 +838,7 @@ classes, see TQt's Main Classes. TQStringList -TQXmlErrorHandler +TQXmlErrorHandler TQDataTable @@ -849,7 +849,7 @@ classes, see TQt's Main Classes. TQStrList -TQXmlInputSource +TQXmlInputSource TQDataView @@ -860,7 +860,7 @@ classes, see TQt's Main Classes. TQStrListIterator -TQXmlLexicalHandler +TQXmlLexicalHandler TQDate @@ -871,7 +871,7 @@ classes, see TQt's Main Classes. TQStyle -TQXmlLocator +TQXmlLocator TQDateEdit @@ -882,7 +882,7 @@ classes, see TQt's Main Classes. TQStyleFactory -TQXmlNamespaceSupport +TQXmlNamespaceSupport TQDateTime @@ -893,7 +893,7 @@ classes, see TQt's Main Classes. TQStyleOption -TQXmlParseException +TQXmlParseException TQDateTimeEdit @@ -904,7 +904,7 @@ classes, see TQt's Main Classes. TQStylePlugin -TQXmlReader +TQXmlReader TQDateTimeEditBase @@ -915,7 +915,7 @@ classes, see TQt's Main Classes. TQStyleSheet -TQXmlSimpleReader +TQXmlSimpleReader TQDeepCopy diff --git a/doc/html/designer-manual-16.html b/doc/html/designer-manual-16.html index b156e25c8..2be199950 100644 --- a/doc/html/designer-manual-16.html +++ b/doc/html/designer-manual-16.html @@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }

[Prev: Reference: Windows] [Home]

Reference: The .ui File Format

TQt Designer stores forms in .ui files. These files use an XML format to represent form elements and their characteristics. This document provides an overview of the XML format used, and should provide enough information for developers to write their own .ui parsers so that they can read and modify .ui files programatically.

-

One way to parse a .ui file is to use TQt and the TQDomDocument class; this is how TQt Designer does it: see the uilib/ntqwidgetfactory.h and uilib/qwidgetfactory.cpp source files. For information on dynamically loading and running .ui files see Loading and Executing a Dynamic Dialog.

+

One way to parse a .ui file is to use TQt and the TQDomDocument class; this is how TQt Designer does it: see the uilib/ntqwidgetfactory.h and uilib/qwidgetfactory.cpp source files. For information on dynamically loading and running .ui files see Loading and Executing a Dynamic Dialog.

The doctype of a .ui file is simply "UI", so the doctype tag is:

 <!DOCTYPE UI>
diff --git a/doc/html/functions.html b/doc/html/functions.html
index a63d97cd5..c803f2c2b 100644
--- a/doc/html/functions.html
+++ b/doc/html/functions.html
@@ -39,7 +39,7 @@ API with links to the class documentation for each function.
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 7cb3b9cba..879328738 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -69,29 +69,29 @@ classes in the TQt API.
  • TQDeepCopy
  • TQDictIterator
  • TQDir -
  • TQDomImplementation -
  • TQDomNamedNodeMap -
  • TQDomNode +
  • TQDomImplementation +
  • TQDomNamedNodeMap +
  • TQDomNode -
  • TQDomNodeList +
  • TQDomNodeList
  • TQDropSite
  • TQFileInfo
  • TQFilePreview @@ -572,23 +572,23 @@ classes in the TQt API.
  • TQWSMouseHandler
  • TQWSServer
  • TQWSWindow -
  • TQXmlAttributes -
  • TQXmlContentHandler - -
  • TQXmlDeclHandler -
  • TQXmlDTDHandler -
  • TQXmlEntityResolver -
  • TQXmlErrorHandler -
  • TQXmlInputSource -
  • TQXmlLexicalHandler -
  • TQXmlLocator -
  • TQXmlNamespaceSupport -
  • TQXmlParseException -
  • TQXmlReader - diff --git a/doc/html/index b/doc/html/index index a281b7085..7ee9267de 100644 --- a/doc/html/index +++ b/doc/html/index @@ -1746,232 +1746,232 @@ "QDockWindow::verticallyStretchable" ntqdockwindow.html#verticallyStretchable-prop "QDockWindow::visibilityChanged" ntqdockwindow.html#visibilityChanged "QDockWindow::widget" ntqdockwindow.html#widget -"QDomAttr" qdomattr.html -"QDomAttr::isAttr" qdomattr.html#isAttr -"QDomAttr::name" qdomattr.html#name -"QDomAttr::nodeType" qdomattr.html#nodeType -"QDomAttr::operator=" qdomattr.html#operator-eq -"QDomAttr::ownerElement" qdomattr.html#ownerElement -"QDomAttr::setValue" qdomattr.html#setValue -"QDomAttr::specified" qdomattr.html#specified -"QDomAttr::value" qdomattr.html#value -"QDomAttr::~QDomAttr" qdomattr.html#~QDomAttr -"QDomCDATASection" qdomcdatasection.html -"QDomCDATASection::isCDATASection" qdomcdatasection.html#isCDATASection -"QDomCDATASection::nodeType" qdomcdatasection.html#nodeType -"QDomCDATASection::operator=" qdomcdatasection.html#operator-eq -"QDomCDATASection::~QDomCDATASection" qdomcdatasection.html#~QDomCDATASection -"QDomCharacterData" qdomcharacterdata.html -"QDomCharacterData::appendData" qdomcharacterdata.html#appendData -"QDomCharacterData::data" qdomcharacterdata.html#data -"QDomCharacterData::deleteData" qdomcharacterdata.html#deleteData -"QDomCharacterData::insertData" qdomcharacterdata.html#insertData -"QDomCharacterData::isCharacterData" qdomcharacterdata.html#isCharacterData -"QDomCharacterData::length" qdomcharacterdata.html#length -"QDomCharacterData::nodeType" qdomcharacterdata.html#nodeType -"QDomCharacterData::operator=" qdomcharacterdata.html#operator-eq -"QDomCharacterData::replaceData" qdomcharacterdata.html#replaceData -"QDomCharacterData::setData" qdomcharacterdata.html#setData -"QDomCharacterData::substringData" qdomcharacterdata.html#substringData -"QDomCharacterData::~QDomCharacterData" qdomcharacterdata.html#~QDomCharacterData -"QDomComment" qdomcomment.html -"QDomComment::isComment" qdomcomment.html#isComment -"QDomComment::nodeType" qdomcomment.html#nodeType -"QDomComment::operator=" qdomcomment.html#operator-eq -"QDomComment::~QDomComment" qdomcomment.html#~QDomComment -"QDomDocument" qdomdocument.html -"QDomDocument::createAttribute" qdomdocument.html#createAttribute -"QDomDocument::createAttributeNS" qdomdocument.html#createAttributeNS -"QDomDocument::createCDATASection" qdomdocument.html#createCDATASection -"QDomDocument::createComment" qdomdocument.html#createComment -"QDomDocument::createDocumentFragment" qdomdocument.html#createDocumentFragment -"QDomDocument::createElement" qdomdocument.html#createElement -"QDomDocument::createElementNS" qdomdocument.html#createElementNS -"QDomDocument::createEntityReference" qdomdocument.html#createEntityReference -"QDomDocument::createProcessingInstruction" qdomdocument.html#createProcessingInstruction -"QDomDocument::createTextNode" qdomdocument.html#createTextNode -"QDomDocument::doctype" qdomdocument.html#doctype -"QDomDocument::documentElement" qdomdocument.html#documentElement -"QDomDocument::elementById" qdomdocument.html#elementById -"QDomDocument::elementsByTagName" qdomdocument.html#elementsByTagName -"QDomDocument::elementsByTagNameNS" qdomdocument.html#elementsByTagNameNS -"QDomDocument::implementation" qdomdocument.html#implementation -"QDomDocument::importNode" qdomdocument.html#importNode -"QDomDocument::isDocument" qdomdocument.html#isDocument -"QDomDocument::nodeType" qdomdocument.html#nodeType -"QDomDocument::operator=" qdomdocument.html#operator-eq -"QDomDocument::setContent" qdomdocument.html#setContent -"QDomDocument::toCString" qdomdocument.html#toCString -"QDomDocument::toString" qdomdocument.html#toString -"QDomDocument::~QDomDocument" qdomdocument.html#~QDomDocument -"QDomDocumentFragment" qdomdocumentfragment.html -"QDomDocumentFragment::isDocumentFragment" qdomdocumentfragment.html#isDocumentFragment -"QDomDocumentFragment::nodeType" qdomdocumentfragment.html#nodeType -"QDomDocumentFragment::operator=" qdomdocumentfragment.html#operator-eq -"QDomDocumentFragment::~QDomDocumentFragment" qdomdocumentfragment.html#~QDomDocumentFragment -"QDomDocumentType" qdomdocumenttype.html -"QDomDocumentType::entities" qdomdocumenttype.html#entities -"QDomDocumentType::internalSubset" qdomdocumenttype.html#internalSubset -"QDomDocumentType::isDocumentType" qdomdocumenttype.html#isDocumentType -"QDomDocumentType::name" qdomdocumenttype.html#name -"QDomDocumentType::nodeType" qdomdocumenttype.html#nodeType -"QDomDocumentType::notations" qdomdocumenttype.html#notations -"QDomDocumentType::operator=" qdomdocumenttype.html#operator-eq -"QDomDocumentType::publicId" qdomdocumenttype.html#publicId -"QDomDocumentType::systemId" qdomdocumenttype.html#systemId -"QDomDocumentType::~QDomDocumentType" qdomdocumenttype.html#~QDomDocumentType -"QDomElement" qdomelement.html -"QDomElement::attribute" qdomelement.html#attribute -"QDomElement::attributeNS" qdomelement.html#attributeNS -"QDomElement::attributeNode" qdomelement.html#attributeNode -"QDomElement::attributeNodeNS" qdomelement.html#attributeNodeNS -"QDomElement::attributes" qdomelement.html#attributes -"QDomElement::elementsByTagName" qdomelement.html#elementsByTagName -"QDomElement::elementsByTagNameNS" qdomelement.html#elementsByTagNameNS -"QDomElement::hasAttribute" qdomelement.html#hasAttribute -"QDomElement::hasAttributeNS" qdomelement.html#hasAttributeNS -"QDomElement::isElement" qdomelement.html#isElement -"QDomElement::nodeType" qdomelement.html#nodeType -"QDomElement::operator=" qdomelement.html#operator-eq -"QDomElement::removeAttribute" qdomelement.html#removeAttribute -"QDomElement::removeAttributeNS" qdomelement.html#removeAttributeNS -"QDomElement::removeAttributeNode" qdomelement.html#removeAttributeNode -"QDomElement::setAttribute" qdomelement.html#setAttribute -"QDomElement::setAttributeNS" qdomelement.html#setAttributeNS -"QDomElement::setAttributeNode" qdomelement.html#setAttributeNode -"QDomElement::setAttributeNodeNS" qdomelement.html#setAttributeNodeNS -"QDomElement::setTagName" qdomelement.html#setTagName -"QDomElement::tagName" qdomelement.html#tagName -"QDomElement::text" qdomelement.html#text -"QDomElement::~QDomElement" qdomelement.html#~QDomElement -"QDomEntity" qdomentity.html -"QDomEntity::isEntity" qdomentity.html#isEntity -"QDomEntity::nodeType" qdomentity.html#nodeType -"QDomEntity::notationName" qdomentity.html#notationName -"QDomEntity::operator=" qdomentity.html#operator-eq -"QDomEntity::publicId" qdomentity.html#publicId -"QDomEntity::systemId" qdomentity.html#systemId -"QDomEntity::~QDomEntity" qdomentity.html#~QDomEntity -"QDomEntityReference" qdomentityreference.html -"QDomEntityReference::isEntityReference" qdomentityreference.html#isEntityReference -"QDomEntityReference::nodeType" qdomentityreference.html#nodeType -"QDomEntityReference::operator=" qdomentityreference.html#operator-eq -"QDomEntityReference::~QDomEntityReference" qdomentityreference.html#~QDomEntityReference -"QDomImplementation" qdomimplementation.html -"QDomImplementation::createDocument" qdomimplementation.html#createDocument -"QDomImplementation::createDocumentType" qdomimplementation.html#createDocumentType -"QDomImplementation::hasFeature" qdomimplementation.html#hasFeature -"QDomImplementation::isNull" qdomimplementation.html#isNull -"QDomImplementation::operator!=" qdomimplementation.html#operator!-eq -"QDomImplementation::operator=" qdomimplementation.html#operator-eq -"QDomImplementation::operator==" qdomimplementation.html#operator-eq-eq -"QDomImplementation::~QDomImplementation" qdomimplementation.html#~QDomImplementation -"QDomNamedNodeMap" qdomnamednodemap.html -"QDomNamedNodeMap::contains" qdomnamednodemap.html#contains -"QDomNamedNodeMap::count" qdomnamednodemap.html#count -"QDomNamedNodeMap::item" qdomnamednodemap.html#item -"QDomNamedNodeMap::length" qdomnamednodemap.html#length -"QDomNamedNodeMap::namedItem" qdomnamednodemap.html#namedItem -"QDomNamedNodeMap::namedItemNS" qdomnamednodemap.html#namedItemNS -"QDomNamedNodeMap::operator!=" qdomnamednodemap.html#operator!-eq -"QDomNamedNodeMap::operator=" qdomnamednodemap.html#operator-eq -"QDomNamedNodeMap::operator==" qdomnamednodemap.html#operator-eq-eq -"QDomNamedNodeMap::removeNamedItem" qdomnamednodemap.html#removeNamedItem -"QDomNamedNodeMap::removeNamedItemNS" qdomnamednodemap.html#removeNamedItemNS -"QDomNamedNodeMap::setNamedItem" qdomnamednodemap.html#setNamedItem -"QDomNamedNodeMap::setNamedItemNS" qdomnamednodemap.html#setNamedItemNS -"QDomNamedNodeMap::~QDomNamedNodeMap" qdomnamednodemap.html#~QDomNamedNodeMap -"QDomNode" qdomnode.html -"QDomNode::NodeType" qdomnode.html#NodeType -"QDomNode::appendChild" qdomnode.html#appendChild -"QDomNode::attributes" qdomnode.html#attributes -"QDomNode::childNodes" qdomnode.html#childNodes -"QDomNode::clear" qdomnode.html#clear -"QDomNode::cloneNode" qdomnode.html#cloneNode -"QDomNode::firstChild" qdomnode.html#firstChild -"QDomNode::hasAttributes" qdomnode.html#hasAttributes -"QDomNode::hasChildNodes" qdomnode.html#hasChildNodes -"QDomNode::insertAfter" qdomnode.html#insertAfter -"QDomNode::insertBefore" qdomnode.html#insertBefore -"QDomNode::isAttr" qdomnode.html#isAttr -"QDomNode::isCDATASection" qdomnode.html#isCDATASection -"QDomNode::isCharacterData" qdomnode.html#isCharacterData -"QDomNode::isComment" qdomnode.html#isComment -"QDomNode::isDocument" qdomnode.html#isDocument -"QDomNode::isDocumentFragment" qdomnode.html#isDocumentFragment -"QDomNode::isDocumentType" qdomnode.html#isDocumentType -"QDomNode::isElement" qdomnode.html#isElement -"QDomNode::isEntity" qdomnode.html#isEntity -"QDomNode::isEntityReference" qdomnode.html#isEntityReference -"QDomNode::isNotation" qdomnode.html#isNotation -"QDomNode::isNull" qdomnode.html#isNull -"QDomNode::isProcessingInstruction" qdomnode.html#isProcessingInstruction -"QDomNode::isSupported" qdomnode.html#isSupported -"QDomNode::isText" qdomnode.html#isText -"QDomNode::lastChild" qdomnode.html#lastChild -"QDomNode::localName" qdomnode.html#localName -"QDomNode::namedItem" qdomnode.html#namedItem -"QDomNode::namespaceURI" qdomnode.html#namespaceURI -"QDomNode::nextSibling" qdomnode.html#nextSibling -"QDomNode::nodeName" qdomnode.html#nodeName -"QDomNode::nodeType" qdomnode.html#nodeType -"QDomNode::nodeValue" qdomnode.html#nodeValue -"QDomNode::normalize" qdomnode.html#normalize -"QDomNode::operator!=" qdomnode.html#operator!-eq -"QDomNode::operator=" qdomnode.html#operator-eq -"QDomNode::operator==" qdomnode.html#operator-eq-eq -"QDomNode::ownerDocument" qdomnode.html#ownerDocument -"QDomNode::parentNode" qdomnode.html#parentNode -"QDomNode::prefix" qdomnode.html#prefix -"QDomNode::previousSibling" qdomnode.html#previousSibling -"QDomNode::removeChild" qdomnode.html#removeChild -"QDomNode::replaceChild" qdomnode.html#replaceChild -"QDomNode::save" qdomnode.html#save -"QDomNode::setNodeValue" qdomnode.html#setNodeValue -"QDomNode::setPrefix" qdomnode.html#setPrefix -"QDomNode::toAttr" qdomnode.html#toAttr -"QDomNode::toCDATASection" qdomnode.html#toCDATASection -"QDomNode::toCharacterData" qdomnode.html#toCharacterData -"QDomNode::toComment" qdomnode.html#toComment -"QDomNode::toDocument" qdomnode.html#toDocument -"QDomNode::toDocumentFragment" qdomnode.html#toDocumentFragment -"QDomNode::toDocumentType" qdomnode.html#toDocumentType -"QDomNode::toElement" qdomnode.html#toElement -"QDomNode::toEntity" qdomnode.html#toEntity -"QDomNode::toEntityReference" qdomnode.html#toEntityReference -"QDomNode::toNotation" qdomnode.html#toNotation -"QDomNode::toProcessingInstruction" qdomnode.html#toProcessingInstruction -"QDomNode::toText" qdomnode.html#toText -"QDomNode::~QDomNode" qdomnode.html#~QDomNode -"QDomNodeList" qdomnodelist.html -"QDomNodeList::count" qdomnodelist.html#count -"QDomNodeList::item" qdomnodelist.html#item -"QDomNodeList::length" qdomnodelist.html#length -"QDomNodeList::operator!=" qdomnodelist.html#operator!-eq -"QDomNodeList::operator=" qdomnodelist.html#operator-eq -"QDomNodeList::operator==" qdomnodelist.html#operator-eq-eq -"QDomNodeList::~QDomNodeList" qdomnodelist.html#~QDomNodeList -"QDomNotation" qdomnotation.html -"QDomNotation::isNotation" qdomnotation.html#isNotation -"QDomNotation::nodeType" qdomnotation.html#nodeType -"QDomNotation::operator=" qdomnotation.html#operator-eq -"QDomNotation::publicId" qdomnotation.html#publicId -"QDomNotation::systemId" qdomnotation.html#systemId -"QDomNotation::~QDomNotation" qdomnotation.html#~QDomNotation -"QDomProcessingInstruction" qdomprocessinginstruction.html -"QDomProcessingInstruction::data" qdomprocessinginstruction.html#data -"QDomProcessingInstruction::isProcessingInstruction" qdomprocessinginstruction.html#isProcessingInstruction -"QDomProcessingInstruction::nodeType" qdomprocessinginstruction.html#nodeType -"QDomProcessingInstruction::operator=" qdomprocessinginstruction.html#operator-eq -"QDomProcessingInstruction::setData" qdomprocessinginstruction.html#setData -"QDomProcessingInstruction::target" qdomprocessinginstruction.html#target -"QDomProcessingInstruction::~QDomProcessingInstruction" qdomprocessinginstruction.html#~QDomProcessingInstruction -"QDomText" qdomtext.html -"QDomText::isText" qdomtext.html#isText -"QDomText::nodeType" qdomtext.html#nodeType -"QDomText::operator=" qdomtext.html#operator-eq -"QDomText::splitText" qdomtext.html#splitText -"QDomText::~QDomText" qdomtext.html#~QDomText +"TQDomAttr" tqdomattr.html +"TQDomAttr::isAttr" tqdomattr.html#isAttr +"TQDomAttr::name" tqdomattr.html#name +"TQDomAttr::nodeType" tqdomattr.html#nodeType +"TQDomAttr::operator=" tqdomattr.html#operator-eq +"TQDomAttr::ownerElement" tqdomattr.html#ownerElement +"TQDomAttr::setValue" tqdomattr.html#setValue +"TQDomAttr::specified" tqdomattr.html#specified +"TQDomAttr::value" tqdomattr.html#value +"TQDomAttr::~TQDomAttr" tqdomattr.html#~TQDomAttr +"TQDomCDATASection" tqdomcdatasection.html +"TQDomCDATASection::isCDATASection" tqdomcdatasection.html#isCDATASection +"TQDomCDATASection::nodeType" tqdomcdatasection.html#nodeType +"TQDomCDATASection::operator=" tqdomcdatasection.html#operator-eq +"TQDomCDATASection::~TQDomCDATASection" tqdomcdatasection.html#~TQDomCDATASection +"TQDomCharacterData" tqdomcharacterdata.html +"TQDomCharacterData::appendData" tqdomcharacterdata.html#appendData +"TQDomCharacterData::data" tqdomcharacterdata.html#data +"TQDomCharacterData::deleteData" tqdomcharacterdata.html#deleteData +"TQDomCharacterData::insertData" tqdomcharacterdata.html#insertData +"TQDomCharacterData::isCharacterData" tqdomcharacterdata.html#isCharacterData +"TQDomCharacterData::length" tqdomcharacterdata.html#length +"TQDomCharacterData::nodeType" tqdomcharacterdata.html#nodeType +"TQDomCharacterData::operator=" tqdomcharacterdata.html#operator-eq +"TQDomCharacterData::replaceData" tqdomcharacterdata.html#replaceData +"TQDomCharacterData::setData" tqdomcharacterdata.html#setData +"TQDomCharacterData::substringData" tqdomcharacterdata.html#substringData +"TQDomCharacterData::~TQDomCharacterData" tqdomcharacterdata.html#~TQDomCharacterData +"TQDomComment" tqdomcomment.html +"TQDomComment::isComment" tqdomcomment.html#isComment +"TQDomComment::nodeType" tqdomcomment.html#nodeType +"TQDomComment::operator=" tqdomcomment.html#operator-eq +"TQDomComment::~TQDomComment" tqdomcomment.html#~TQDomComment +"TQDomDocument" tqdomdocument.html +"TQDomDocument::createAttribute" tqdomdocument.html#createAttribute +"TQDomDocument::createAttributeNS" tqdomdocument.html#createAttributeNS +"TQDomDocument::createCDATASection" tqdomdocument.html#createCDATASection +"TQDomDocument::createComment" tqdomdocument.html#createComment +"TQDomDocument::createDocumentFragment" tqdomdocument.html#createDocumentFragment +"TQDomDocument::createElement" tqdomdocument.html#createElement +"TQDomDocument::createElementNS" tqdomdocument.html#createElementNS +"TQDomDocument::createEntityReference" tqdomdocument.html#createEntityReference +"TQDomDocument::createProcessingInstruction" tqdomdocument.html#createProcessingInstruction +"TQDomDocument::createTextNode" tqdomdocument.html#createTextNode +"TQDomDocument::doctype" tqdomdocument.html#doctype +"TQDomDocument::documentElement" tqdomdocument.html#documentElement +"TQDomDocument::elementById" tqdomdocument.html#elementById +"TQDomDocument::elementsByTagName" tqdomdocument.html#elementsByTagName +"TQDomDocument::elementsByTagNameNS" tqdomdocument.html#elementsByTagNameNS +"TQDomDocument::implementation" tqdomdocument.html#implementation +"TQDomDocument::importNode" tqdomdocument.html#importNode +"TQDomDocument::isDocument" tqdomdocument.html#isDocument +"TQDomDocument::nodeType" tqdomdocument.html#nodeType +"TQDomDocument::operator=" tqdomdocument.html#operator-eq +"TQDomDocument::setContent" tqdomdocument.html#setContent +"TQDomDocument::toCString" tqdomdocument.html#toCString +"TQDomDocument::toString" tqdomdocument.html#toString +"TQDomDocument::~TQDomDocument" tqdomdocument.html#~TQDomDocument +"TQDomDocumentFragment" tqdomdocumentfragment.html +"TQDomDocumentFragment::isDocumentFragment" tqdomdocumentfragment.html#isDocumentFragment +"TQDomDocumentFragment::nodeType" tqdomdocumentfragment.html#nodeType +"TQDomDocumentFragment::operator=" tqdomdocumentfragment.html#operator-eq +"TQDomDocumentFragment::~TQDomDocumentFragment" tqdomdocumentfragment.html#~TQDomDocumentFragment +"TQDomDocumentType" tqdomdocumenttype.html +"TQDomDocumentType::entities" tqdomdocumenttype.html#entities +"TQDomDocumentType::internalSubset" tqdomdocumenttype.html#internalSubset +"TQDomDocumentType::isDocumentType" tqdomdocumenttype.html#isDocumentType +"TQDomDocumentType::name" tqdomdocumenttype.html#name +"TQDomDocumentType::nodeType" tqdomdocumenttype.html#nodeType +"TQDomDocumentType::notations" tqdomdocumenttype.html#notations +"TQDomDocumentType::operator=" tqdomdocumenttype.html#operator-eq +"TQDomDocumentType::publicId" tqdomdocumenttype.html#publicId +"TQDomDocumentType::systemId" tqdomdocumenttype.html#systemId +"TQDomDocumentType::~TQDomDocumentType" tqdomdocumenttype.html#~TQDomDocumentType +"TQDomElement" tqdomelement.html +"TQDomElement::attribute" tqdomelement.html#attribute +"TQDomElement::attributeNS" tqdomelement.html#attributeNS +"TQDomElement::attributeNode" tqdomelement.html#attributeNode +"TQDomElement::attributeNodeNS" tqdomelement.html#attributeNodeNS +"TQDomElement::attributes" tqdomelement.html#attributes +"TQDomElement::elementsByTagName" tqdomelement.html#elementsByTagName +"TQDomElement::elementsByTagNameNS" tqdomelement.html#elementsByTagNameNS +"TQDomElement::hasAttribute" tqdomelement.html#hasAttribute +"TQDomElement::hasAttributeNS" tqdomelement.html#hasAttributeNS +"TQDomElement::isElement" tqdomelement.html#isElement +"TQDomElement::nodeType" tqdomelement.html#nodeType +"TQDomElement::operator=" tqdomelement.html#operator-eq +"TQDomElement::removeAttribute" tqdomelement.html#removeAttribute +"TQDomElement::removeAttributeNS" tqdomelement.html#removeAttributeNS +"TQDomElement::removeAttributeNode" tqdomelement.html#removeAttributeNode +"TQDomElement::setAttribute" tqdomelement.html#setAttribute +"TQDomElement::setAttributeNS" tqdomelement.html#setAttributeNS +"TQDomElement::setAttributeNode" tqdomelement.html#setAttributeNode +"TQDomElement::setAttributeNodeNS" tqdomelement.html#setAttributeNodeNS +"TQDomElement::setTagName" tqdomelement.html#setTagName +"TQDomElement::tagName" tqdomelement.html#tagName +"TQDomElement::text" tqdomelement.html#text +"TQDomElement::~TQDomElement" tqdomelement.html#~TQDomElement +"TQDomEntity" tqdomentity.html +"TQDomEntity::isEntity" tqdomentity.html#isEntity +"TQDomEntity::nodeType" tqdomentity.html#nodeType +"TQDomEntity::notationName" tqdomentity.html#notationName +"TQDomEntity::operator=" tqdomentity.html#operator-eq +"TQDomEntity::publicId" tqdomentity.html#publicId +"TQDomEntity::systemId" tqdomentity.html#systemId +"TQDomEntity::~TQDomEntity" tqdomentity.html#~TQDomEntity +"TQDomEntityReference" tqdomentityreference.html +"TQDomEntityReference::isEntityReference" tqdomentityreference.html#isEntityReference +"TQDomEntityReference::nodeType" tqdomentityreference.html#nodeType +"TQDomEntityReference::operator=" tqdomentityreference.html#operator-eq +"TQDomEntityReference::~TQDomEntityReference" tqdomentityreference.html#~TQDomEntityReference +"TQDomImplementation" tqdomimplementation.html +"TQDomImplementation::createDocument" tqdomimplementation.html#createDocument +"TQDomImplementation::createDocumentType" tqdomimplementation.html#createDocumentType +"TQDomImplementation::hasFeature" tqdomimplementation.html#hasFeature +"TQDomImplementation::isNull" tqdomimplementation.html#isNull +"TQDomImplementation::operator!=" tqdomimplementation.html#operator!-eq +"TQDomImplementation::operator=" tqdomimplementation.html#operator-eq +"TQDomImplementation::operator==" tqdomimplementation.html#operator-eq-eq +"TQDomImplementation::~TQDomImplementation" tqdomimplementation.html#~TQDomImplementation +"TQDomNamedNodeMap" tqdomnamednodemap.html +"TQDomNamedNodeMap::contains" tqdomnamednodemap.html#contains +"TQDomNamedNodeMap::count" tqdomnamednodemap.html#count +"TQDomNamedNodeMap::item" tqdomnamednodemap.html#item +"TQDomNamedNodeMap::length" tqdomnamednodemap.html#length +"TQDomNamedNodeMap::namedItem" tqdomnamednodemap.html#namedItem +"TQDomNamedNodeMap::namedItemNS" tqdomnamednodemap.html#namedItemNS +"TQDomNamedNodeMap::operator!=" tqdomnamednodemap.html#operator!-eq +"TQDomNamedNodeMap::operator=" tqdomnamednodemap.html#operator-eq +"TQDomNamedNodeMap::operator==" tqdomnamednodemap.html#operator-eq-eq +"TQDomNamedNodeMap::removeNamedItem" tqdomnamednodemap.html#removeNamedItem +"TQDomNamedNodeMap::removeNamedItemNS" tqdomnamednodemap.html#removeNamedItemNS +"TQDomNamedNodeMap::setNamedItem" tqdomnamednodemap.html#setNamedItem +"TQDomNamedNodeMap::setNamedItemNS" tqdomnamednodemap.html#setNamedItemNS +"TQDomNamedNodeMap::~TQDomNamedNodeMap" tqdomnamednodemap.html#~TQDomNamedNodeMap +"TQDomNode" tqdomnode.html +"TQDomNode::NodeType" tqdomnode.html#NodeType +"TQDomNode::appendChild" tqdomnode.html#appendChild +"TQDomNode::attributes" tqdomnode.html#attributes +"TQDomNode::childNodes" tqdomnode.html#childNodes +"TQDomNode::clear" tqdomnode.html#clear +"TQDomNode::cloneNode" tqdomnode.html#cloneNode +"TQDomNode::firstChild" tqdomnode.html#firstChild +"TQDomNode::hasAttributes" tqdomnode.html#hasAttributes +"TQDomNode::hasChildNodes" tqdomnode.html#hasChildNodes +"TQDomNode::insertAfter" tqdomnode.html#insertAfter +"TQDomNode::insertBefore" tqdomnode.html#insertBefore +"TQDomNode::isAttr" tqdomnode.html#isAttr +"TQDomNode::isCDATASection" tqdomnode.html#isCDATASection +"TQDomNode::isCharacterData" tqdomnode.html#isCharacterData +"TQDomNode::isComment" tqdomnode.html#isComment +"TQDomNode::isDocument" tqdomnode.html#isDocument +"TQDomNode::isDocumentFragment" tqdomnode.html#isDocumentFragment +"TQDomNode::isDocumentType" tqdomnode.html#isDocumentType +"TQDomNode::isElement" tqdomnode.html#isElement +"TQDomNode::isEntity" tqdomnode.html#isEntity +"TQDomNode::isEntityReference" tqdomnode.html#isEntityReference +"TQDomNode::isNotation" tqdomnode.html#isNotation +"TQDomNode::isNull" tqdomnode.html#isNull +"TQDomNode::isProcessingInstruction" tqdomnode.html#isProcessingInstruction +"TQDomNode::isSupported" tqdomnode.html#isSupported +"TQDomNode::isText" tqdomnode.html#isText +"TQDomNode::lastChild" tqdomnode.html#lastChild +"TQDomNode::localName" tqdomnode.html#localName +"TQDomNode::namedItem" tqdomnode.html#namedItem +"TQDomNode::namespaceURI" tqdomnode.html#namespaceURI +"TQDomNode::nextSibling" tqdomnode.html#nextSibling +"TQDomNode::nodeName" tqdomnode.html#nodeName +"TQDomNode::nodeType" tqdomnode.html#nodeType +"TQDomNode::nodeValue" tqdomnode.html#nodeValue +"TQDomNode::normalize" tqdomnode.html#normalize +"TQDomNode::operator!=" tqdomnode.html#operator!-eq +"TQDomNode::operator=" tqdomnode.html#operator-eq +"TQDomNode::operator==" tqdomnode.html#operator-eq-eq +"TQDomNode::ownerDocument" tqdomnode.html#ownerDocument +"TQDomNode::parentNode" tqdomnode.html#parentNode +"TQDomNode::prefix" tqdomnode.html#prefix +"TQDomNode::previousSibling" tqdomnode.html#previousSibling +"TQDomNode::removeChild" tqdomnode.html#removeChild +"TQDomNode::replaceChild" tqdomnode.html#replaceChild +"TQDomNode::save" tqdomnode.html#save +"TQDomNode::setNodeValue" tqdomnode.html#setNodeValue +"TQDomNode::setPrefix" tqdomnode.html#setPrefix +"TQDomNode::toAttr" tqdomnode.html#toAttr +"TQDomNode::toCDATASection" tqdomnode.html#toCDATASection +"TQDomNode::toCharacterData" tqdomnode.html#toCharacterData +"TQDomNode::toComment" tqdomnode.html#toComment +"TQDomNode::toDocument" tqdomnode.html#toDocument +"TQDomNode::toDocumentFragment" tqdomnode.html#toDocumentFragment +"TQDomNode::toDocumentType" tqdomnode.html#toDocumentType +"TQDomNode::toElement" tqdomnode.html#toElement +"TQDomNode::toEntity" tqdomnode.html#toEntity +"TQDomNode::toEntityReference" tqdomnode.html#toEntityReference +"TQDomNode::toNotation" tqdomnode.html#toNotation +"TQDomNode::toProcessingInstruction" tqdomnode.html#toProcessingInstruction +"TQDomNode::toText" tqdomnode.html#toText +"TQDomNode::~TQDomNode" tqdomnode.html#~TQDomNode +"TQDomNodeList" tqdomnodelist.html +"TQDomNodeList::count" tqdomnodelist.html#count +"TQDomNodeList::item" tqdomnodelist.html#item +"TQDomNodeList::length" tqdomnodelist.html#length +"TQDomNodeList::operator!=" tqdomnodelist.html#operator!-eq +"TQDomNodeList::operator=" tqdomnodelist.html#operator-eq +"TQDomNodeList::operator==" tqdomnodelist.html#operator-eq-eq +"TQDomNodeList::~TQDomNodeList" tqdomnodelist.html#~TQDomNodeList +"TQDomNotation" tqdomnotation.html +"TQDomNotation::isNotation" tqdomnotation.html#isNotation +"TQDomNotation::nodeType" tqdomnotation.html#nodeType +"TQDomNotation::operator=" tqdomnotation.html#operator-eq +"TQDomNotation::publicId" tqdomnotation.html#publicId +"TQDomNotation::systemId" tqdomnotation.html#systemId +"TQDomNotation::~TQDomNotation" tqdomnotation.html#~TQDomNotation +"TQDomProcessingInstruction" tqdomprocessinginstruction.html +"TQDomProcessingInstruction::data" tqdomprocessinginstruction.html#data +"TQDomProcessingInstruction::isProcessingInstruction" tqdomprocessinginstruction.html#isProcessingInstruction +"TQDomProcessingInstruction::nodeType" tqdomprocessinginstruction.html#nodeType +"TQDomProcessingInstruction::operator=" tqdomprocessinginstruction.html#operator-eq +"TQDomProcessingInstruction::setData" tqdomprocessinginstruction.html#setData +"TQDomProcessingInstruction::target" tqdomprocessinginstruction.html#target +"TQDomProcessingInstruction::~TQDomProcessingInstruction" tqdomprocessinginstruction.html#~TQDomProcessingInstruction +"TQDomText" tqdomtext.html +"TQDomText::isText" tqdomtext.html#isText +"TQDomText::nodeType" tqdomtext.html#nodeType +"TQDomText::operator=" tqdomtext.html#operator-eq +"TQDomText::splitText" tqdomtext.html#splitText +"TQDomText::~TQDomText" tqdomtext.html#~TQDomText "QDoubleValidator" qdoublevalidator.html "QDoubleValidator::bottom" qdoublevalidator.html#bottom "QDoubleValidator::bottom" qdoublevalidator.html#bottom-prop @@ -7977,113 +7977,113 @@ "QWorkspace::windowActivated" ntqworkspace.html#windowActivated "QWorkspace::windowList" ntqworkspace.html#windowList "QWorkspace::~QWorkspace" ntqworkspace.html#~QWorkspace -"QXmlAttributes" qxmlattributes.html -"QXmlAttributes::append" qxmlattributes.html#append -"QXmlAttributes::clear" qxmlattributes.html#clear -"QXmlAttributes::count" qxmlattributes.html#count -"QXmlAttributes::index" qxmlattributes.html#index -"QXmlAttributes::length" qxmlattributes.html#length -"QXmlAttributes::localName" qxmlattributes.html#localName -"QXmlAttributes::qName" qxmlattributes.html#qName -"QXmlAttributes::type" qxmlattributes.html#type -"QXmlAttributes::uri" qxmlattributes.html#uri -"QXmlAttributes::value" qxmlattributes.html#value -"QXmlAttributes::~QXmlAttributes" qxmlattributes.html#~QXmlAttributes -"QXmlContentHandler" qxmlcontenthandler.html -"QXmlContentHandler::characters" qxmlcontenthandler.html#characters -"QXmlContentHandler::endDocument" qxmlcontenthandler.html#endDocument -"QXmlContentHandler::endElement" qxmlcontenthandler.html#endElement -"QXmlContentHandler::endPrefixMapping" qxmlcontenthandler.html#endPrefixMapping -"QXmlContentHandler::errorString" qxmlcontenthandler.html#errorString -"QXmlContentHandler::ignorableWhitespace" qxmlcontenthandler.html#ignorableWhitespace -"QXmlContentHandler::processingInstruction" qxmlcontenthandler.html#processingInstruction -"QXmlContentHandler::setDocumentLocator" qxmlcontenthandler.html#setDocumentLocator -"QXmlContentHandler::skippedEntity" qxmlcontenthandler.html#skippedEntity -"QXmlContentHandler::startDocument" qxmlcontenthandler.html#startDocument -"QXmlContentHandler::startElement" qxmlcontenthandler.html#startElement -"QXmlContentHandler::startPrefixMapping" qxmlcontenthandler.html#startPrefixMapping -"QXmlDTDHandler" qxmldtdhandler.html -"QXmlDTDHandler::errorString" qxmldtdhandler.html#errorString -"QXmlDTDHandler::notationDecl" qxmldtdhandler.html#notationDecl -"QXmlDTDHandler::unparsedEntityDecl" qxmldtdhandler.html#unparsedEntityDecl -"QXmlDeclHandler" qxmldeclhandler.html -"QXmlDeclHandler::attributeDecl" qxmldeclhandler.html#attributeDecl -"QXmlDeclHandler::errorString" qxmldeclhandler.html#errorString -"QXmlDeclHandler::externalEntityDecl" qxmldeclhandler.html#externalEntityDecl -"QXmlDeclHandler::internalEntityDecl" qxmldeclhandler.html#internalEntityDecl -"QXmlDefaultHandler" qxmldefaulthandler.html -"QXmlDefaultHandler::~QXmlDefaultHandler" qxmldefaulthandler.html#~QXmlDefaultHandler -"QXmlEntityResolver" qxmlentityresolver.html -"QXmlEntityResolver::errorString" qxmlentityresolver.html#errorString -"QXmlEntityResolver::resolveEntity" qxmlentityresolver.html#resolveEntity -"QXmlErrorHandler" qxmlerrorhandler.html -"QXmlErrorHandler::error" qxmlerrorhandler.html#error -"QXmlErrorHandler::errorString" qxmlerrorhandler.html#errorString -"QXmlErrorHandler::fatalError" qxmlerrorhandler.html#fatalError -"QXmlErrorHandler::warning" qxmlerrorhandler.html#warning -"QXmlInputSource" qxmlinputsource.html -"QXmlInputSource::data" qxmlinputsource.html#data -"QXmlInputSource::fetchData" qxmlinputsource.html#fetchData -"QXmlInputSource::fromRawData" qxmlinputsource.html#fromRawData -"QXmlInputSource::next" qxmlinputsource.html#next -"QXmlInputSource::reset" qxmlinputsource.html#reset -"QXmlInputSource::setData" qxmlinputsource.html#setData -"QXmlInputSource::~QXmlInputSource" qxmlinputsource.html#~QXmlInputSource -"QXmlLexicalHandler" qxmllexicalhandler.html -"QXmlLexicalHandler::comment" qxmllexicalhandler.html#comment -"QXmlLexicalHandler::endCDATA" qxmllexicalhandler.html#endCDATA -"QXmlLexicalHandler::endDTD" qxmllexicalhandler.html#endDTD -"QXmlLexicalHandler::endEntity" qxmllexicalhandler.html#endEntity -"QXmlLexicalHandler::errorString" qxmllexicalhandler.html#errorString -"QXmlLexicalHandler::startCDATA" qxmllexicalhandler.html#startCDATA -"QXmlLexicalHandler::startDTD" qxmllexicalhandler.html#startDTD -"QXmlLexicalHandler::startEntity" qxmllexicalhandler.html#startEntity -"QXmlLocator" qxmllocator.html -"QXmlLocator::columnNumber" qxmllocator.html#columnNumber -"QXmlLocator::lineNumber" qxmllocator.html#lineNumber -"QXmlLocator::~QXmlLocator" qxmllocator.html#~QXmlLocator -"QXmlNamespaceSupport" qxmlnamespacesupport.html -"QXmlNamespaceSupport::popContext" qxmlnamespacesupport.html#popContext -"QXmlNamespaceSupport::prefix" qxmlnamespacesupport.html#prefix -"QXmlNamespaceSupport::prefixes" qxmlnamespacesupport.html#prefixes -"QXmlNamespaceSupport::processName" qxmlnamespacesupport.html#processName -"QXmlNamespaceSupport::pushContext" qxmlnamespacesupport.html#pushContext -"QXmlNamespaceSupport::reset" qxmlnamespacesupport.html#reset -"QXmlNamespaceSupport::setPrefix" qxmlnamespacesupport.html#setPrefix -"QXmlNamespaceSupport::splitName" qxmlnamespacesupport.html#splitName -"QXmlNamespaceSupport::uri" qxmlnamespacesupport.html#uri -"QXmlNamespaceSupport::~QXmlNamespaceSupport" qxmlnamespacesupport.html#~QXmlNamespaceSupport -"QXmlParseException" qxmlparseexception.html -"QXmlParseException::columnNumber" qxmlparseexception.html#columnNumber -"QXmlParseException::lineNumber" qxmlparseexception.html#lineNumber -"QXmlParseException::message" qxmlparseexception.html#message -"QXmlParseException::publicId" qxmlparseexception.html#publicId -"QXmlParseException::systemId" qxmlparseexception.html#systemId -"QXmlReader" qxmlreader.html -"QXmlReader::DTDHandler" qxmlreader.html#DTDHandler -"QXmlReader::contentHandler" qxmlreader.html#contentHandler -"QXmlReader::declHandler" qxmlreader.html#declHandler -"QXmlReader::entityResolver" qxmlreader.html#entityResolver -"QXmlReader::errorHandler" qxmlreader.html#errorHandler -"QXmlReader::feature" qxmlreader.html#feature -"QXmlReader::hasFeature" qxmlreader.html#hasFeature -"QXmlReader::hasProperty" qxmlreader.html#hasProperty -"QXmlReader::lexicalHandler" qxmlreader.html#lexicalHandler -"QXmlReader::parse" qxmlreader.html#parse -"QXmlReader::property" qxmlreader.html#property -"QXmlReader::setContentHandler" qxmlreader.html#setContentHandler -"QXmlReader::setDTDHandler" qxmlreader.html#setDTDHandler -"QXmlReader::setDeclHandler" qxmlreader.html#setDeclHandler -"QXmlReader::setEntityResolver" qxmlreader.html#setEntityResolver -"QXmlReader::setErrorHandler" qxmlreader.html#setErrorHandler -"QXmlReader::setFeature" qxmlreader.html#setFeature -"QXmlReader::setLexicalHandler" qxmlreader.html#setLexicalHandler -"QXmlReader::setProperty" qxmlreader.html#setProperty -"QXmlSimpleReader" qxmlsimplereader.html -"QXmlSimpleReader::parse" qxmlsimplereader.html#parse -"QXmlSimpleReader::parseContinue" qxmlsimplereader.html#parseContinue -"QXmlSimpleReader::setFeature" qxmlsimplereader.html#setFeature -"QXmlSimpleReader::~QXmlSimpleReader" qxmlsimplereader.html#~QXmlSimpleReader +"TQXmlAttributes" tqxmlattributes.html +"TQXmlAttributes::append" tqxmlattributes.html#append +"TQXmlAttributes::clear" tqxmlattributes.html#clear +"TQXmlAttributes::count" tqxmlattributes.html#count +"TQXmlAttributes::index" tqxmlattributes.html#index +"TQXmlAttributes::length" tqxmlattributes.html#length +"TQXmlAttributes::localName" tqxmlattributes.html#localName +"TQXmlAttributes::qName" tqxmlattributes.html#qName +"TQXmlAttributes::type" tqxmlattributes.html#type +"TQXmlAttributes::uri" tqxmlattributes.html#uri +"TQXmlAttributes::value" tqxmlattributes.html#value +"TQXmlAttributes::~TQXmlAttributes" tqxmlattributes.html#~TQXmlAttributes +"TQXmlContentHandler" tqxmlcontenthandler.html +"TQXmlContentHandler::characters" tqxmlcontenthandler.html#characters +"TQXmlContentHandler::endDocument" tqxmlcontenthandler.html#endDocument +"TQXmlContentHandler::endElement" tqxmlcontenthandler.html#endElement +"TQXmlContentHandler::endPrefixMapping" tqxmlcontenthandler.html#endPrefixMapping +"TQXmlContentHandler::errorString" tqxmlcontenthandler.html#errorString +"TQXmlContentHandler::ignorableWhitespace" tqxmlcontenthandler.html#ignorableWhitespace +"TQXmlContentHandler::processingInstruction" tqxmlcontenthandler.html#processingInstruction +"TQXmlContentHandler::setDocumentLocator" tqxmlcontenthandler.html#setDocumentLocator +"TQXmlContentHandler::skippedEntity" tqxmlcontenthandler.html#skippedEntity +"TQXmlContentHandler::startDocument" tqxmlcontenthandler.html#startDocument +"TQXmlContentHandler::startElement" tqxmlcontenthandler.html#startElement +"TQXmlContentHandler::startPrefixMapping" tqxmlcontenthandler.html#startPrefixMapping +"TQXmlDTDHandler" tqxmldtdhandler.html +"TQXmlDTDHandler::errorString" tqxmldtdhandler.html#errorString +"TQXmlDTDHandler::notationDecl" tqxmldtdhandler.html#notationDecl +"TQXmlDTDHandler::unparsedEntityDecl" tqxmldtdhandler.html#unparsedEntityDecl +"TQXmlDeclHandler" tqxmldeclhandler.html +"TQXmlDeclHandler::attributeDecl" tqxmldeclhandler.html#attributeDecl +"TQXmlDeclHandler::errorString" tqxmldeclhandler.html#errorString +"TQXmlDeclHandler::externalEntityDecl" tqxmldeclhandler.html#externalEntityDecl +"TQXmlDeclHandler::internalEntityDecl" tqxmldeclhandler.html#internalEntityDecl +"TQXmlDefaultHandler" tqxmldefaulthandler.html +"TQXmlDefaultHandler::~TQXmlDefaultHandler" tqxmldefaulthandler.html#~TQXmlDefaultHandler +"TQXmlEntityResolver" tqxmlentityresolver.html +"TQXmlEntityResolver::errorString" tqxmlentityresolver.html#errorString +"TQXmlEntityResolver::resolveEntity" tqxmlentityresolver.html#resolveEntity +"TQXmlErrorHandler" tqxmlerrorhandler.html +"TQXmlErrorHandler::error" tqxmlerrorhandler.html#error +"TQXmlErrorHandler::errorString" tqxmlerrorhandler.html#errorString +"TQXmlErrorHandler::fatalError" tqxmlerrorhandler.html#fatalError +"TQXmlErrorHandler::warning" tqxmlerrorhandler.html#warning +"TQXmlInputSource" tqxmlinputsource.html +"TQXmlInputSource::data" tqxmlinputsource.html#data +"TQXmlInputSource::fetchData" tqxmlinputsource.html#fetchData +"TQXmlInputSource::fromRawData" tqxmlinputsource.html#fromRawData +"TQXmlInputSource::next" tqxmlinputsource.html#next +"TQXmlInputSource::reset" tqxmlinputsource.html#reset +"TQXmlInputSource::setData" tqxmlinputsource.html#setData +"TQXmlInputSource::~TQXmlInputSource" tqxmlinputsource.html#~TQXmlInputSource +"TQXmlLexicalHandler" tqxmllexicalhandler.html +"TQXmlLexicalHandler::comment" tqxmllexicalhandler.html#comment +"TQXmlLexicalHandler::endCDATA" tqxmllexicalhandler.html#endCDATA +"TQXmlLexicalHandler::endDTD" tqxmllexicalhandler.html#endDTD +"TQXmlLexicalHandler::endEntity" tqxmllexicalhandler.html#endEntity +"TQXmlLexicalHandler::errorString" tqxmllexicalhandler.html#errorString +"TQXmlLexicalHandler::startCDATA" tqxmllexicalhandler.html#startCDATA +"TQXmlLexicalHandler::startDTD" tqxmllexicalhandler.html#startDTD +"TQXmlLexicalHandler::startEntity" tqxmllexicalhandler.html#startEntity +"TQXmlLocator" tqxmllocator.html +"TQXmlLocator::columnNumber" tqxmllocator.html#columnNumber +"TQXmlLocator::lineNumber" tqxmllocator.html#lineNumber +"TQXmlLocator::~TQXmlLocator" tqxmllocator.html#~TQXmlLocator +"TQXmlNamespaceSupport" tqxmlnamespacesupport.html +"TQXmlNamespaceSupport::popContext" tqxmlnamespacesupport.html#popContext +"TQXmlNamespaceSupport::prefix" tqxmlnamespacesupport.html#prefix +"TQXmlNamespaceSupport::prefixes" tqxmlnamespacesupport.html#prefixes +"TQXmlNamespaceSupport::processName" tqxmlnamespacesupport.html#processName +"TQXmlNamespaceSupport::pushContext" tqxmlnamespacesupport.html#pushContext +"TQXmlNamespaceSupport::reset" tqxmlnamespacesupport.html#reset +"TQXmlNamespaceSupport::setPrefix" tqxmlnamespacesupport.html#setPrefix +"TQXmlNamespaceSupport::splitName" tqxmlnamespacesupport.html#splitName +"TQXmlNamespaceSupport::uri" tqxmlnamespacesupport.html#uri +"TQXmlNamespaceSupport::~TQXmlNamespaceSupport" tqxmlnamespacesupport.html#~TQXmlNamespaceSupport +"TQXmlParseException" tqxmlparseexception.html +"TQXmlParseException::columnNumber" tqxmlparseexception.html#columnNumber +"TQXmlParseException::lineNumber" tqxmlparseexception.html#lineNumber +"TQXmlParseException::message" tqxmlparseexception.html#message +"TQXmlParseException::publicId" tqxmlparseexception.html#publicId +"TQXmlParseException::systemId" tqxmlparseexception.html#systemId +"TQXmlReader" tqxmlreader.html +"TQXmlReader::DTDHandler" tqxmlreader.html#DTDHandler +"TQXmlReader::contentHandler" tqxmlreader.html#contentHandler +"TQXmlReader::declHandler" tqxmlreader.html#declHandler +"TQXmlReader::entityResolver" tqxmlreader.html#entityResolver +"TQXmlReader::errorHandler" tqxmlreader.html#errorHandler +"TQXmlReader::feature" tqxmlreader.html#feature +"TQXmlReader::hasFeature" tqxmlreader.html#hasFeature +"TQXmlReader::hasProperty" tqxmlreader.html#hasProperty +"TQXmlReader::lexicalHandler" tqxmlreader.html#lexicalHandler +"TQXmlReader::parse" tqxmlreader.html#parse +"TQXmlReader::property" tqxmlreader.html#property +"TQXmlReader::setContentHandler" tqxmlreader.html#setContentHandler +"TQXmlReader::setDTDHandler" tqxmlreader.html#setDTDHandler +"TQXmlReader::setDeclHandler" tqxmlreader.html#setDeclHandler +"TQXmlReader::setEntityResolver" tqxmlreader.html#setEntityResolver +"TQXmlReader::setErrorHandler" tqxmlreader.html#setErrorHandler +"TQXmlReader::setFeature" tqxmlreader.html#setFeature +"TQXmlReader::setLexicalHandler" tqxmlreader.html#setLexicalHandler +"TQXmlReader::setProperty" tqxmlreader.html#setProperty +"TQXmlSimpleReader" tqxmlsimplereader.html +"TQXmlSimpleReader::parse" tqxmlsimplereader.html#parse +"TQXmlSimpleReader::parseContinue" tqxmlsimplereader.html#parseContinue +"TQXmlSimpleReader::setFeature" tqxmlsimplereader.html#setFeature +"TQXmlSimpleReader::~TQXmlSimpleReader" tqxmlsimplereader.html#~TQXmlSimpleReader "QXtWidget::isActiveWindow" qxtwidget.html#isActiveWindow "QXtWidget::setActiveWindow" qxtwidget.html#setActiveWindow "QXtWidget::x11Event" qxtwidget.html#x11Event @@ -8309,7 +8309,7 @@ "operator<<" qdate.html#operator-lt-lt "operator<<" ntqdatetime.html#operator-lt-lt "operator<<" ntqdockarea.html#operator-lt-lt -"operator<<" qdomnode.html#operator-lt-lt +"operator<<" tqdomnode.html#operator-lt-lt "operator<<" ntqfont.html#operator-lt-lt "operator<<" ntqimage.html#operator-lt-lt "operator<<" ntqkeysequence.html#operator-lt-lt diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index 9c12b26a3..2c55a9ec4 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -256,7 +256,7 @@ classes), see TQt's Classes. TQTime X -TQXmlSimpleReader +TQXmlSimpleReader F TQFile diff --git a/doc/html/ntqlistview.html b/doc/html/ntqlistview.html index 50b234dc4..29c4d82dd 100644 --- a/doc/html/ntqlistview.html +++ b/doc/html/ntqlistview.html @@ -200,8 +200,8 @@ parent:
  • Further nodes can be added to the list view object (the root of the tree) or as child nodes to TQListViewItems: -

                for ( int i = 0 ; i < attributes.length(); i++ ) {
    -                new TQListViewItem( element, attributes.qName(i), attributes.uri(i) );
    +

                for ( int i = 0 ; i < attributes.length(); i++ ) {
    +                new TQListViewItem( element, attributes.qName(i), attributes.uri(i) );
                 }
     

    (From xml/tagreader-with-features/structureparser.cpp) diff --git a/doc/html/outliner-example.html b/doc/html/outliner-example.html index 3c1ffe283..ec2f895d9 100644 --- a/doc/html/outliner-example.html +++ b/doc/html/outliner-example.html @@ -113,7 +113,7 @@ traverse it. #define OUTLINETREE_H #include <ntqlistview.h> -#include <ntqdom.h> +#include <tqdom.h> class OutlineTree : public TQListView { @@ -124,9 +124,9 @@ public: ~OutlineTree(); private: - TQDomDocument domTree; - void getHeaderInformation( const TQDomElement &header ); - void buildTree( TQListViewItem *parentItem, const TQDomElement &parentElement ); + TQDomDocument domTree; + void getHeaderInformation( const TQDomElement &header ); + void buildTree( TQListViewItem *parentItem, const TQDomElement &parentElement ); }; #endif // OUTLINETREE_H @@ -174,26 +174,26 @@ private: opmlFile.close(); // get the header information from the DOM - TQDomElement root = domTree.documentElement(); - TQDomNode node; - node = root.firstChild(); - while ( !node.isNull() ) { - if ( node.isElement() && node.nodeName() == "head" ) { - TQDomElement header = node.toElement(); + TQDomElement root = domTree.documentElement(); + TQDomNode node; + node = root.firstChild(); + while ( !node.isNull() ) { + if ( node.isElement() && node.nodeName() == "head" ) { + TQDomElement header = node.toElement(); getHeaderInformation( header ); break; } - node = node.nextSibling(); + node = node.nextSibling(); } // create the tree view out of the DOM - node = root.firstChild(); - while ( !node.isNull() ) { - if ( node.isElement() && node.nodeName() == "body" ) { - TQDomElement body = node.toElement(); + node = root.firstChild(); + while ( !node.isNull() ) { + if ( node.isElement() && node.nodeName() == "body" ) { + TQDomElement body = node.toElement(); buildTree( 0, body ); break; } - node = node.nextSibling(); + node = node.nextSibling(); } } @@ -201,41 +201,41 @@ OutlineTree::~OutlineTree() { } -void OutlineTree::getHeaderInformation( const TQDomElement &header ) +void OutlineTree::getHeaderInformation( const TQDomElement &header ) { // visit all children of the header element and look if you can make // something with it - TQDomNode node = header.firstChild(); - while ( !node.isNull() ) { - if ( node.isElement() ) { + TQDomNode node = header.firstChild(); + while ( !node.isNull() ) { + if ( node.isElement() ) { // case for the different header entries - if ( node.nodeName() == "title" ) { - TQDomText textChild = node.firstChild().toText(); - if ( !textChild.isNull() ) { - setColumnText( 0, textChild.nodeValue() ); + if ( node.nodeName() == "title" ) { + TQDomText textChild = node.firstChild().toText(); + if ( !textChild.isNull() ) { + setColumnText( 0, textChild.nodeValue() ); } } } - node = node.nextSibling(); + node = node.nextSibling(); } } -void OutlineTree::buildTree( TQListViewItem *parentItem, const TQDomElement &parentElement ) +void OutlineTree::buildTree( TQListViewItem *parentItem, const TQDomElement &parentElement ) { TQListViewItem *thisItem = 0; - TQDomNode node = parentElement.firstChild(); - while ( !node.isNull() ) { - if ( node.isElement() && node.nodeName() == "outline" ) { + TQDomNode node = parentElement.firstChild(); + while ( !node.isNull() ) { + if ( node.isElement() && node.nodeName() == "outline" ) { // add a new list view item for the outline if ( parentItem == 0 ) thisItem = new TQListViewItem( this, thisItem ); else thisItem = new TQListViewItem( parentItem, thisItem ); - thisItem->setText( 0, node.toElement().attribute( "text" ) ); + thisItem->setText( 0, node.toElement().attribute( "text" ) ); // recursive build of the tree - buildTree( thisItem, node.toElement() ); + buildTree( thisItem, node.toElement() ); } - node = node.nextSibling(); + node = node.nextSibling(); } }

    diff --git a/doc/html/porting.html b/doc/html/porting.html index 70696d120..f9168ada1 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -391,9 +391,9 @@ new code.
  • TQWidget::setFont( const TQFont & f, bool )
  • TQWidget::setPalette( const TQPalette & p, bool )
  • TQWizard::setFinish( TQWidget *, bool ) -
  • TQXmlInputSource::TQXmlInputSource( TQFile & file ) +
  • TQXmlInputSource::TQXmlInputSource( TQFile & file )
  • TQXmlInputSource::TQXmlInputSource( TQTextStream & stream ) -
  • TQXmlReader::parse( const TQXmlInputSource & input ) +
  • TQXmlReader::parse( const TQXmlInputSource & input )

    Additionally, these preprocessor directives have been removed:

      @@ -715,40 +715,40 @@ with eight new functions: TQWidget::eraseCol details.

      TQXml Classes

      -

      TQXmlInputSource +

      TQXmlInputSource

      The semantics of TQXmlInputSource has changed slightly. This change only affects code that parses the same data from the same input source multiple times. In such cases you must call -TQXmlInputSource::reset() before the second call to -TQXmlSimpleReader::parse(). +TQXmlInputSource::reset() before the second call to +TQXmlSimpleReader::parse().

      So code like

      -    TQXmlInputSource source( &xmlFile );
      -    TQXmlSimpleReader reader;
      +    TQXmlInputSource source( &xmlFile );
      +    TQXmlSimpleReader reader;
           ...
      -    reader.parse( source );
      +    reader.parse( source );
           ...
      -    reader.parse( source );
      +    reader.parse( source );
       
      must be changed to
      -    TQXmlInputSource source( &xmlFile );
      -    TQXmlSimpleReader reader;
      +    TQXmlInputSource source( &xmlFile );
      +    TQXmlSimpleReader reader;
           ...
      -    reader.parse( source );
      +    reader.parse( source );
           ...
      -    source.reset();
      -    reader.parse( source );
      +    source.reset();
      +    reader.parse( source );
       
      -

      TQXmlLocator +

      TQXmlLocator

      Due to some internal changes, it was necessary to clean-up the semantics of TQXmlLocator: this class is now an abstract class. This shouldn't cause any problems, since programmers usually used the TQXmlLocator that was -reported by TQXmlContentHandler::setDocumentLocator(). If you used this +reported by TQXmlContentHandler::setDocumentLocator(). If you used this class in some other way, you must adjust your code to use the TQXmlLocator that is reported by the TQXmlContentHandler::setDocumentLocator() function. diff --git a/doc/html/qdom-h.html b/doc/html/qdom-h.html deleted file mode 100644 index 0151a1d52..000000000 --- a/doc/html/qdom-h.html +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -ntqdom.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqdom.h

      - -

      This is the verbatim text of the ntqdom.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqdom.h   3.3.8   edited Jan 11 14:39 $
      -**
      -** Definition of TQDomDocument and related classes.
      -**
      -** Created : 000518
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the xml module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQDOM_H
      -#define TQDOM_H
      -
      -#ifndef QT_H
      -#include "ntqstring.h"
      -#endif // QT_H
      -
      -#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
      -#define TQM_EXPORT_DOM
      -#else
      -#define TQM_EXPORT_DOM TQ_EXPORT
      -#endif
      -
      -#ifndef TQT_NO_DOM
      -
      -class TQIODevice;
      -class TQTextStream;
      -
      -class TQXmlInputSource;
      -class TQXmlReader;
      -
      -class TQDomDocumentPrivate;
      -class TQDomDocumentTypePrivate;
      -class TQDomDocumentFragmentPrivate;
      -class TQDomNodePrivate;
      -class TQDomNodeListPrivate;
      -class TQDomImplementationPrivate;
      -class TQDomElementPrivate;
      -class TQDomNotationPrivate;
      -class TQDomEntityPrivate;
      -class TQDomEntityReferencePrivate;
      -class TQDomProcessingInstructionPrivate;
      -class TQDomAttrPrivate;
      -class TQDomCharacterDataPrivate;
      -class TQDomTextPrivate;
      -class TQDomCommentPrivate;
      -class TQDomCDATASectionPrivate;
      -class TQDomNamedNodeMapPrivate;
      -class TQDomImplementationPrivate;
      -
      -class TQDomNodeList;
      -class TQDomElement;
      -class TQDomText;
      -class TQDomComment;
      -class TQDomCDATASection;
      -class TQDomProcessingInstruction;
      -class TQDomAttr;
      -class TQDomEntityReference;
      -class TQDomDocument;
      -class TQDomNamedNodeMap;
      -class TQDomDocument;
      -class TQDomDocumentFragment;
      -class TQDomDocumentType;
      -class TQDomImplementation;
      -class TQDomNode;
      -class TQDomEntity;
      -class TQDomNotation;
      -class TQDomCharacterData;
      -
      -class TQM_EXPORT_DOM TQDomImplementation
      -{
      -public:
      -    TQDomImplementation();
      -    TQDomImplementation( const TQDomImplementation& );
      -    virtual ~TQDomImplementation();
      -    TQDomImplementation& operator= ( const TQDomImplementation& );
      -    bool operator== ( const TQDomImplementation& ) const;
      -    bool operator!= ( const TQDomImplementation& ) const;
      -
      -    // functions
      -    virtual bool hasFeature( const TQString& feature, const TQString& version );
      -    virtual TQDomDocumentType createDocumentType( const TQString& qName, const TQString& publicId, const TQString& systemId );
      -    virtual TQDomDocument createDocument( const TQString& nsURI, const TQString& qName, const TQDomDocumentType& doctype );
      -
      -    // TQt extension
      -    bool isNull();
      -
      -private:
      -    TQDomImplementationPrivate* impl;
      -    TQDomImplementation( TQDomImplementationPrivate* );
      -
      -    friend class TQDomDocument;
      -};
      -
      -class TQM_EXPORT_DOM TQDomNode
      -{
      -public:
      -    enum NodeType {
      -	ElementNode               = 1,
      -	AttributeNode             = 2,
      -	TextNode                  = 3,
      -	CDATASectionNode          = 4,
      -	EntityReferenceNode       = 5,
      -	EntityNode                = 6,
      -	ProcessingInstructionNode = 7,
      -	CommentNode               = 8,
      -	DocumentNode              = 9,
      -	DocumentTypeNode          = 10,
      -	DocumentFragmentNode      = 11,
      -	NotationNode              = 12,
      -	BaseNode                  = 21,// this is not in the standard
      -	CharacterDataNode         = 22 // this is not in the standard
      -    };
      -
      -    TQDomNode();
      -    TQDomNode( const TQDomNode& );
      -    TQDomNode& operator= ( const TQDomNode& );
      -    bool operator== ( const TQDomNode& ) const;
      -    bool operator!= ( const TQDomNode& ) const;
      -    virtual ~TQDomNode();
      -
      -    // DOM functions
      -    virtual TQDomNode insertBefore( const TQDomNode& newChild, const TQDomNode& refChild );
      -    virtual TQDomNode insertAfter( const TQDomNode& newChild, const TQDomNode& refChild );
      -    virtual TQDomNode replaceChild( const TQDomNode& newChild, const TQDomNode& oldChild );
      -    virtual TQDomNode removeChild( const TQDomNode& oldChild );
      -    virtual TQDomNode appendChild( const TQDomNode& newChild );
      -    virtual bool hasChildNodes() const;
      -    virtual TQDomNode cloneNode( bool deep = TRUE ) const;
      -    virtual void normalize();
      -    virtual bool isSupported( const TQString& feature, const TQString& version ) const;
      -
      -    // DOM read only attributes
      -    virtual TQString nodeName() const;
      -    virtual TQDomNode::NodeType nodeType() const;
      -    virtual TQDomNode         parentNode() const;
      -    virtual TQDomNodeList     childNodes() const;
      -    virtual TQDomNode         firstChild() const;
      -    virtual TQDomNode         lastChild() const;
      -    virtual TQDomNode         previousSibling() const;
      -    virtual TQDomNode         nextSibling() const;
      -    virtual TQDomNamedNodeMap attributes() const;
      -    virtual TQDomDocument     ownerDocument() const;
      -    virtual TQString namespaceURI() const;
      -    virtual TQString localName() const;
      -    virtual bool hasAttributes() const;
      -
      -    // DOM attributes
      -    virtual TQString nodeValue() const;
      -    virtual void setNodeValue( const TQString& );
      -    virtual TQString prefix() const;
      -    virtual void setPrefix( const TQString& pre );
      -
      -    // TQt extensions
      -    virtual bool isAttr() const;
      -    virtual bool isCDATASection() const;
      -    virtual bool isDocumentFragment() const;
      -    virtual bool isDocument() const;
      -    virtual bool isDocumentType() const;
      -    virtual bool isElement() const;
      -    virtual bool isEntityReference() const;
      -    virtual bool isText() const;
      -    virtual bool isEntity() const;
      -    virtual bool isNotation() const;
      -    virtual bool isProcessingInstruction() const;
      -    virtual bool isCharacterData() const;
      -    virtual bool isComment() const;
      -
      -    /**
      -     * Shortcut to avoid dealing with TQDomNodeList
      -     * all the time.
      -     */
      -    TQDomNode namedItem( const TQString& name ) const;
      -
      -    bool isNull() const;
      -    void clear();
      -
      -    TQDomAttr toAttr();
      -    TQDomCDATASection toCDATASection();
      -    TQDomDocumentFragment toDocumentFragment();
      -    TQDomDocument toDocument();
      -    TQDomDocumentType toDocumentType();
      -    TQDomElement toElement();
      -    TQDomEntityReference toEntityReference();
      -    TQDomText toText();
      -    TQDomEntity toEntity();
      -    TQDomNotation toNotation();
      -    TQDomProcessingInstruction toProcessingInstruction();
      -    TQDomCharacterData toCharacterData();
      -    TQDomComment toComment();
      -
      -    void save( TQTextStream&, int ) const;
      -
      -protected:
      -    TQDomNodePrivate* impl;
      -    TQDomNode( TQDomNodePrivate* );
      -
      -private:
      -    friend class TQDomDocument;
      -    friend class TQDomDocumentType;
      -    friend class TQDomNodeList;
      -    friend class TQDomNamedNodeMap;
      -};
      -
      -class TQM_EXPORT_DOM TQDomNodeList
      -{
      -public:
      -    TQDomNodeList();
      -    TQDomNodeList( const TQDomNodeList& );
      -    TQDomNodeList& operator= ( const TQDomNodeList& );
      -    bool operator== ( const TQDomNodeList& ) const;
      -    bool operator!= ( const TQDomNodeList& ) const;
      -    virtual ~TQDomNodeList();
      -
      -    // DOM functions
      -    virtual TQDomNode item( int index ) const;
      -
      -    // DOM read only attributes
      -    virtual uint length() const;
      -    uint count() const { return length(); } // TQt API consitancy
      -
      -private:
      -    TQDomNodeListPrivate* impl;
      -    TQDomNodeList( TQDomNodeListPrivate* );
      -
      -    friend class TQDomNode;
      -    friend class TQDomElement;
      -    friend class TQDomDocument;
      -};
      -
      -class TQM_EXPORT_DOM TQDomDocumentType : public TQDomNode
      -{
      -public:
      -    TQDomDocumentType();
      -    TQDomDocumentType( const TQDomDocumentType& x );
      -    TQDomDocumentType& operator= ( const TQDomDocumentType& );
      -    ~TQDomDocumentType();
      -
      -    // DOM read only attributes
      -    virtual TQString name() const;
      -    virtual TQDomNamedNodeMap entities() const;
      -    virtual TQDomNamedNodeMap notations() const;
      -    virtual TQString publicId() const;
      -    virtual TQString systemId() const;
      -    virtual TQString internalSubset() const;
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isDocumentType() const;
      -
      -private:
      -    TQDomDocumentType( TQDomDocumentTypePrivate* );
      -
      -    friend class TQDomImplementation;
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomDocument : public TQDomNode
      -{
      -public:
      -    TQDomDocument();
      -    Q_EXPLICIT TQDomDocument( const TQString& name );
      -    Q_EXPLICIT TQDomDocument( const TQDomDocumentType& doctype );
      -    TQDomDocument( const TQDomDocument& x );
      -    TQDomDocument& operator= ( const TQDomDocument& );
      -    ~TQDomDocument();
      -
      -    // DOM functions
      -    TQDomElement createElement( const TQString& tagName );
      -    TQDomDocumentFragment createDocumentFragment();
      -    TQDomText createTextNode( const TQString& data );
      -    TQDomComment createComment( const TQString& data );
      -    TQDomCDATASection createCDATASection( const TQString& data );
      -    TQDomProcessingInstruction createProcessingInstruction( const TQString& target, const TQString& data );
      -    TQDomAttr createAttribute( const TQString& name );
      -    TQDomEntityReference createEntityReference( const TQString& name );
      -    TQDomNodeList elementsByTagName( const TQString& tagname ) const;
      -    TQDomNode importNode( const TQDomNode& importedNode, bool deep );
      -    TQDomElement createElementNS( const TQString& nsURI, const TQString& qName );
      -    TQDomAttr createAttributeNS( const TQString& nsURI, const TQString& qName );
      -    TQDomNodeList elementsByTagNameNS( const TQString& nsURI, const TQString& localName );
      -    TQDomElement elementById( const TQString& elementId );
      -
      -    // DOM read only attributes
      -    TQDomDocumentType doctype() const;
      -    TQDomImplementation implementation() const;
      -    TQDomElement documentElement() const;
      -
      -    // TQt extensions
      -    bool setContent( const TQCString& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( const TQByteArray& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( const TQString& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( TQIODevice* dev, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( const TQCString& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0 );
      -    bool setContent( const TQByteArray& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( const TQString& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -    bool setContent( TQIODevice* dev, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -
      -    bool setContent( TQXmlInputSource *source, TQXmlReader *reader, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isDocument() const;
      -
      -    // TQt extensions
      -    TQString toString() const; // ### TQt 4: merge the two overloads
      -    TQString toString( int ) const;
      -    TQCString toCString() const; // ### TQt 4: merge the two overloads
      -    TQCString toCString( int ) const;
      -
      -private:
      -    TQDomDocument( TQDomDocumentPrivate* );
      -
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomNamedNodeMap
      -{
      -public:
      -    TQDomNamedNodeMap();
      -    TQDomNamedNodeMap( const TQDomNamedNodeMap& );
      -    TQDomNamedNodeMap& operator= ( const TQDomNamedNodeMap& );
      -    bool operator== ( const TQDomNamedNodeMap& ) const;
      -    bool operator!= ( const TQDomNamedNodeMap& ) const;
      -    ~TQDomNamedNodeMap();
      -
      -    // DOM functions
      -    TQDomNode namedItem( const TQString& name ) const;
      -    TQDomNode setNamedItem( const TQDomNode& newNode );
      -    TQDomNode removeNamedItem( const TQString& name );
      -    TQDomNode item( int index ) const;
      -    TQDomNode namedItemNS( const TQString& nsURI, const TQString& localName ) const;
      -    TQDomNode setNamedItemNS( const TQDomNode& newNode );
      -    TQDomNode removeNamedItemNS( const TQString& nsURI, const TQString& localName );
      -
      -    // DOM read only attributes
      -    uint length() const;
      -    uint count() const { return length(); } // TQt API consitancy
      -
      -    // TQt extension
      -    bool contains( const TQString& name ) const;
      -
      -private:
      -    TQDomNamedNodeMapPrivate* impl;
      -    TQDomNamedNodeMap( TQDomNamedNodeMapPrivate* );
      -
      -    friend class TQDomNode;
      -    friend class TQDomDocumentType;
      -    friend class TQDomElement;
      -};
      -
      -class TQM_EXPORT_DOM TQDomDocumentFragment : public TQDomNode
      -{
      -public:
      -    TQDomDocumentFragment();
      -    TQDomDocumentFragment( const TQDomDocumentFragment& x );
      -    TQDomDocumentFragment& operator= ( const TQDomDocumentFragment& );
      -    ~TQDomDocumentFragment();
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isDocumentFragment() const;
      -
      -private:
      -    TQDomDocumentFragment( TQDomDocumentFragmentPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomCharacterData : public TQDomNode
      -{
      -public:
      -    TQDomCharacterData();
      -    TQDomCharacterData( const TQDomCharacterData& x );
      -    TQDomCharacterData& operator= ( const TQDomCharacterData& );
      -    ~TQDomCharacterData();
      -
      -    // DOM functions
      -    virtual TQString substringData( unsigned long offset, unsigned long count );
      -    virtual void appendData( const TQString& arg );
      -    virtual void insertData( unsigned long offset, const TQString& arg );
      -    virtual void deleteData( unsigned long offset, unsigned long count );
      -    virtual void replaceData( unsigned long offset, unsigned long count, const TQString& arg );
      -
      -    // DOM read only attributes
      -    virtual uint length() const;
      -
      -    // DOM attributes
      -    virtual TQString data() const;
      -    virtual void setData( const TQString& );
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isCharacterData() const;
      -
      -private:
      -    TQDomCharacterData( TQDomCharacterDataPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomText;
      -    friend class TQDomComment;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomAttr : public TQDomNode
      -{
      -public:
      -    TQDomAttr();
      -    TQDomAttr( const TQDomAttr& x );
      -    TQDomAttr& operator= ( const TQDomAttr& );
      -    ~TQDomAttr();
      -
      -    // DOM read only attributes
      -    virtual TQString name() const;
      -    virtual bool specified() const;
      -    virtual TQDomElement ownerElement() const;
      -
      -    // DOM attributes
      -    virtual TQString value() const;
      -    virtual void setValue( const TQString& );
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isAttr() const;
      -
      -private:
      -    TQDomAttr( TQDomAttrPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomElement;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomElement : public TQDomNode
      -{
      -public:
      -    TQDomElement();
      -    TQDomElement( const TQDomElement& x );
      -    TQDomElement& operator= ( const TQDomElement& );
      -    ~TQDomElement();
      -
      -    // DOM functions
      -    TQString attribute( const TQString& name, const TQString& defValue = TQString::null ) const;
      -    void setAttribute( const TQString& name, const TQString& value );
      -    void setAttribute( const TQString& name, int value );
      -    void setAttribute( const TQString& name, uint value );
      -    void setAttribute( const TQString& name, long value );
      -    void setAttribute( const TQString& name, ulong value );
      -    void setAttribute( const TQString& name, double value );
      -    void removeAttribute( const TQString& name );
      -    TQDomAttr attributeNode( const TQString& name);
      -    TQDomAttr setAttributeNode( const TQDomAttr& newAttr );
      -    TQDomAttr removeAttributeNode( const TQDomAttr& oldAttr );
      -    virtual TQDomNodeList elementsByTagName( const TQString& tagname ) const;
      -    bool hasAttribute( const TQString& name ) const;
      -
      -    TQString attributeNS( const TQString nsURI, const TQString& localName, const TQString& defValue ) const;
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, const TQString& value );
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, int value );
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, uint value );
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, long value );
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, ulong value );
      -    void setAttributeNS( const TQString nsURI, const TQString& qName, double value );
      -    void removeAttributeNS( const TQString& nsURI, const TQString& localName );
      -    TQDomAttr attributeNodeNS( const TQString& nsURI, const TQString& localName );
      -    TQDomAttr setAttributeNodeNS( const TQDomAttr& newAttr );
      -    virtual TQDomNodeList elementsByTagNameNS( const TQString& nsURI, const TQString& localName ) const;
      -    bool hasAttributeNS( const TQString& nsURI, const TQString& localName ) const;
      -
      -    // DOM read only attributes
      -    TQString tagName() const;
      -    void setTagName( const TQString& name ); // TQt extension
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNamedNodeMap attributes() const;
      -    TQDomNode::NodeType nodeType() const;
      -    bool isElement() const;
      -
      -    TQString text() const;
      -
      -private:
      -    TQDomElement( TQDomElementPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -    friend class TQDomAttr;
      -};
      -
      -class TQM_EXPORT_DOM TQDomText : public TQDomCharacterData
      -{
      -public:
      -    TQDomText();
      -    TQDomText( const TQDomText& x );
      -    TQDomText& operator= ( const TQDomText& );
      -    ~TQDomText();
      -
      -    // DOM functions
      -    TQDomText splitText( int offset );
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isText() const;
      -
      -private:
      -    TQDomText( TQDomTextPrivate* );
      -
      -    friend class TQDomCDATASection;
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomComment : public TQDomCharacterData
      -{
      -public:
      -    TQDomComment();
      -    TQDomComment( const TQDomComment& x );
      -    TQDomComment& operator= ( const TQDomComment& );
      -    ~TQDomComment();
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isComment() const;
      -
      -private:
      -    TQDomComment( TQDomCommentPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomCDATASection : public TQDomText
      -{
      -public:
      -    TQDomCDATASection();
      -    TQDomCDATASection( const TQDomCDATASection& x );
      -    TQDomCDATASection& operator= ( const TQDomCDATASection& );
      -    ~TQDomCDATASection();
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isCDATASection() const;
      -
      -private:
      -    TQDomCDATASection( TQDomCDATASectionPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomNotation : public TQDomNode
      -{
      -public:
      -    TQDomNotation();
      -    TQDomNotation( const TQDomNotation& x );
      -    TQDomNotation& operator= ( const TQDomNotation& );
      -    ~TQDomNotation();
      -
      -    // DOM read only attributes
      -    TQString publicId() const;
      -    TQString systemId() const;
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isNotation() const;
      -
      -private:
      -    TQDomNotation( TQDomNotationPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomEntity : public TQDomNode
      -{
      -public:
      -    TQDomEntity();
      -    TQDomEntity( const TQDomEntity& x );
      -    TQDomEntity& operator= ( const TQDomEntity& );
      -    ~TQDomEntity();
      -
      -    // DOM read only attributes
      -    virtual TQString publicId() const;
      -    virtual TQString systemId() const;
      -    virtual TQString notationName() const;
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isEntity() const;
      -
      -private:
      -    TQDomEntity( TQDomEntityPrivate* );
      -
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomEntityReference : public TQDomNode
      -{
      -public:
      -    TQDomEntityReference();
      -    TQDomEntityReference( const TQDomEntityReference& x );
      -    TQDomEntityReference& operator= ( const TQDomEntityReference& );
      -    ~TQDomEntityReference();
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isEntityReference() const;
      -
      -private:
      -    TQDomEntityReference( TQDomEntityReferencePrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -class TQM_EXPORT_DOM TQDomProcessingInstruction : public TQDomNode
      -{
      -public:
      -    TQDomProcessingInstruction();
      -    TQDomProcessingInstruction( const TQDomProcessingInstruction& x );
      -    TQDomProcessingInstruction& operator= ( const TQDomProcessingInstruction& );
      -    ~TQDomProcessingInstruction();
      -
      -    // DOM read only attributes
      -    virtual TQString target() const;
      -
      -    // DOM attributes
      -    virtual TQString data() const;
      -    virtual void setData( const TQString& d );
      -
      -    // Reimplemented from TQDomNode
      -    TQDomNode::NodeType nodeType() const;
      -    bool isProcessingInstruction() const;
      -
      -private:
      -    TQDomProcessingInstruction( TQDomProcessingInstructionPrivate* );
      -
      -    friend class TQDomDocument;
      -    friend class TQDomNode;
      -};
      -
      -
      -TQM_EXPORT_DOM TQTextStream& operator<<( TQTextStream&, const TQDomNode& );
      -
      -#endif //TQT_NO_DOM
      -#endif // TQDOM_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomattr-members.html b/doc/html/qdomattr-members.html deleted file mode 100644 index fde4ca9b1..000000000 --- a/doc/html/qdomattr-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - -TQDomAttr Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomAttr

      - -

      This is the complete list of member functions for -TQDomAttr, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomattr.html b/doc/html/qdomattr.html deleted file mode 100644 index c3161a9b7..000000000 --- a/doc/html/qdomattr.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -TQDomAttr Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomAttr Class Reference
      [XML module]

      - -

      The TQDomAttr class represents one attribute of a TQDomElement. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomAttr class represents one attribute of a TQDomElement. - -

      - -

      For example, the following piece of XML produces an element with -no children, but two attributes: -

      -    <link href="http://www.trolltech.com" color="red" />
      -    
      - -

      You can access the attributes of an element with code like this: -

      -    TQDomElement e = //...
      -    //...
      -    TQDomAttr a = e.attributeNode( "href" );
      -    cout << a.value() << endl;                // prints "http://www.trolltech.com"
      -    a.setValue( "http://doc.trolltech.com" ); // change the node's attribute
      -    TQDomAttr a2 = e.attributeNode( "href" );
      -    cout << a2.value() << endl;               // prints "http://doc.trolltech.com"
      -    
      - -

      This example also shows that changing an attribute received from -an element changes the attribute of the element. If you do not -want to change the value of the element's attribute you must -use cloneNode() to get an independent copy of the attribute. -

      TQDomAttr can return the name() and value() of an attribute. An -attribute's value is set with setValue(). If specified() returns -TRUE the value was either set in the document or set with -setValue(); otherwise the value hasn't been set. The node this -attribute is attached to (if any) is returned by ownerElement(). -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomAttr::TQDomAttr () -

      -Constructs an empty attribute. - -

      TQDomAttr::TQDomAttr ( const TQDomAttr & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomAttr::~TQDomAttr () -

      -Destroys the object and frees its resources. - -

      bool TQDomAttr::isAttr () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQString TQDomAttr::name () const [virtual] -

      -Returns the attribute's name. - -

      TQDomNode::NodeType TQDomAttr::nodeType () const [virtual] -

      -Returns AttributeNode. - -

      Reimplemented from TQDomNode. -

      TQDomAttr & TQDomAttr::operator= ( const TQDomAttr & x ) -

      -Assigns x to this DOM attribute. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomElement TQDomAttr::ownerElement () const [virtual] -

      -Returns the element node this attribute is attached to or a null node if this attribute is not -attached to any element. - -

      void TQDomAttr::setValue ( const TQString & v ) [virtual] -

      -Sets the attribute's value to v. -

      See also value(). - -

      bool TQDomAttr::specified () const [virtual] -

      -Returns TRUE if the attribute has either been expicitly specified -in the XML document or was set by the user with setValue(). -Returns FALSE if the value hasn't been specified or set. -

      See also setValue(). - -

      TQString TQDomAttr::value () const [virtual] -

      -Returns the value of the attribute or TQString::null if the -attribute has not been specified. -

      See also specified() and setValue(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcdatasection-members.html b/doc/html/qdomcdatasection-members.html deleted file mode 100644 index 39020e83a..000000000 --- a/doc/html/qdomcdatasection-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -TQDomCDATASection Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomCDATASection

      - -

      This is the complete list of member functions for -TQDomCDATASection, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcdatasection.html b/doc/html/qdomcdatasection.html deleted file mode 100644 index 4eba272f1..000000000 --- a/doc/html/qdomcdatasection.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -TQDomCDATASection Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomCDATASection Class Reference
      [XML module]

      - -

      The TQDomCDATASection class represents an XML CDATA section. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomText. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomCDATASection class represents an XML CDATA section. - -

      - -

      CDATA sections are used to escape blocks of text containing -characters that would otherwise be regarded as markup. The only -delimiter that is recognized in a CDATA section is the "]]>" -string that terminates the CDATA section. CDATA sections cannot be -nested. Their primary purpose is for including material such as -XML fragments, without needing to escape all the delimiters. -

      Adjacent TQDomCDATASection nodes are not merged by the -TQDomNode::normalize() function. -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomCDATASection::TQDomCDATASection () -

      -Constructs an empty CDATA section. To create a CDATA section with -content, use the TQDomDocument::createCDATASection() function. - -

      TQDomCDATASection::TQDomCDATASection ( const TQDomCDATASection & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomCDATASection::~TQDomCDATASection () -

      -Destroys the object and frees its resources. - -

      bool TQDomCDATASection::isCDATASection () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomCDATASection::nodeType () const [virtual] -

      -Returns CDATASection. - -

      Reimplemented from TQDomText. -

      TQDomCDATASection & TQDomCDATASection::operator= ( const TQDomCDATASection & x ) -

      -Assigns x to this CDATA section. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcharacterdata-members.html b/doc/html/qdomcharacterdata-members.html deleted file mode 100644 index ed2e37132..000000000 --- a/doc/html/qdomcharacterdata-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -TQDomCharacterData Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomCharacterData

      - -

      This is the complete list of member functions for -TQDomCharacterData, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcharacterdata.html b/doc/html/qdomcharacterdata.html deleted file mode 100644 index 49033842d..000000000 --- a/doc/html/qdomcharacterdata.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -TQDomCharacterData Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomCharacterData Class Reference
      [XML module]

      - -

      The TQDomCharacterData class represents a generic string in the DOM. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      Inherited by TQDomText and TQDomComment. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomCharacterData class represents a generic string in the DOM. - -

      - -

      Character data as used in XML specifies a generic data string. -More specialized versions of this class are TQDomText, TQDomComment -and TQDomCDATASection. -

      The data string is set with setData() and retrieved with data(). -You can retrieve a portion of the data string using -substringData(). Extra data can be appended with appendData(), or -inserted with insertData(). Portions of the data string can be -deleted with deleteData() or replaced with replaceData(). The -length of the data string is returned by length(). -

      The node type of the node containing this character data is -returned by nodeType(). -

      See also TQDomText, TQDomComment, TQDomCDATASection, and XML. - -


      Member Function Documentation

      -

      TQDomCharacterData::TQDomCharacterData () -

      -Constructs an empty character data object. - -

      TQDomCharacterData::TQDomCharacterData ( const TQDomCharacterData & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomCharacterData::~TQDomCharacterData () -

      -Destroys the object and frees its resources. - -

      void TQDomCharacterData::appendData ( const TQString & arg ) [virtual] -

      -Appends the string arg to the stored string. - -

      TQString TQDomCharacterData::data () const [virtual] -

      -Returns the string stored in this object. -

      If the node is a null node, it will return -TQString::null. - -

      void TQDomCharacterData::deleteData ( unsigned long offset, unsigned long count ) [virtual] -

      -Deletes a substring of length count from position offset. - -

      void TQDomCharacterData::insertData ( unsigned long offset, const TQString & arg ) [virtual] -

      -Inserts the string arg into the stored string at position offset. - -

      bool TQDomCharacterData::isCharacterData () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      uint TQDomCharacterData::length () const [virtual] -

      -Returns the length of the stored string. - -

      TQDomNode::NodeType TQDomCharacterData::nodeType () const [virtual] -

      -Returns the type of node this object refers to (i.e. TextNode, -CDATASectionNode, CommentNode or CharacterDataNode). For -a null node CharacterDataNode is -returned. - -

      Reimplemented from TQDomNode. -

      Reimplemented in TQDomText and TQDomComment. -

      TQDomCharacterData & TQDomCharacterData::operator= ( const TQDomCharacterData & x ) -

      -Assigns x to this character data. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      void TQDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg ) [virtual] -

      -Replaces the substring of length count starting at position offset with the string arg. - -

      void TQDomCharacterData::setData ( const TQString & v ) [virtual] -

      -Sets this object's string to v. - -

      TQString TQDomCharacterData::substringData ( unsigned long offset, unsigned long count ) [virtual] -

      -Returns the substring of length count from position offset. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcomment-members.html b/doc/html/qdomcomment-members.html deleted file mode 100644 index b660ea9fb..000000000 --- a/doc/html/qdomcomment-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -TQDomComment Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomComment

      - -

      This is the complete list of member functions for -TQDomComment, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomcomment.html b/doc/html/qdomcomment.html deleted file mode 100644 index db9531f09..000000000 --- a/doc/html/qdomcomment.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - -TQDomComment Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomComment Class Reference
      [XML module]

      - -

      The TQDomComment class represents an XML comment. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomCharacterData. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomComment class represents an XML comment. - -

      - -

      A comment in the parsed XML such as this: -

      -    <!-- this is a comment -->
      -    
      - -is represented by TQDomComment objects in the parsed Dom tree. -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomComment::TQDomComment () -

      -Constructs an empty comment. To construct a comment with content, -use the TQDomDocument::createComment() function. - -

      TQDomComment::TQDomComment ( const TQDomComment & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomComment::~TQDomComment () -

      -Destroys the object and frees its resources. - -

      bool TQDomComment::isComment () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomComment::nodeType () const [virtual] -

      -Returns CommentNode. - -

      Reimplemented from TQDomCharacterData. -

      TQDomComment & TQDomComment::operator= ( const TQDomComment & x ) -

      -Assigns x to this DOM comment. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocument-members.html b/doc/html/qdomdocument-members.html deleted file mode 100644 index 44d872c13..000000000 --- a/doc/html/qdomdocument-members.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -TQDomDocument Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomDocument

      - -

      This is the complete list of member functions for -TQDomDocument, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocument.html b/doc/html/qdomdocument.html deleted file mode 100644 index 01e3a006f..000000000 --- a/doc/html/qdomdocument.html +++ /dev/null @@ -1,504 +0,0 @@ - - - - - -TQDomDocument Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomDocument Class Reference
      [XML module]

      - -

      The TQDomDocument class represents an XML document. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      -
        -
      • TQDomDocument ()
      • -
      • explicit TQDomDocument ( const TQString & name )
      • -
      • explicit TQDomDocument ( const TQDomDocumentType & doctype )
      • -
      • TQDomDocument ( const TQDomDocument & x )
      • -
      • TQDomDocument & operator= ( const TQDomDocument & x )
      • -
      • ~TQDomDocument ()
      • -
      • TQDomElement createElement ( const TQString & tagName )
      • -
      • TQDomDocumentFragment createDocumentFragment ()
      • -
      • TQDomText createTextNode ( const TQString & value )
      • -
      • TQDomComment createComment ( const TQString & value )
      • -
      • TQDomCDATASection createCDATASection ( const TQString & value )
      • -
      • TQDomProcessingInstruction createProcessingInstruction ( const TQString & target, const TQString & data )
      • -
      • TQDomAttr createAttribute ( const TQString & name )
      • -
      • TQDomEntityReference createEntityReference ( const TQString & name )
      • -
      • TQDomNodeList elementsByTagName ( const TQString & tagname ) const
      • -
      • TQDomNode importNode ( const TQDomNode & importedNode, bool deep )
      • -
      • TQDomElement createElementNS ( const TQString & nsURI, const TQString & qName )
      • -
      • TQDomAttr createAttributeNS ( const TQString & nsURI, const TQString & qName )
      • -
      • TQDomNodeList elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )
      • -
      • TQDomElement elementById ( const TQString & elementId )
      • -
      • TQDomDocumentType doctype () const
      • -
      • TQDomImplementation implementation () const
      • -
      • TQDomElement documentElement () const
      • -
      • bool setContent ( const TQCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( const TQByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( const TQCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( const TQByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • bool setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • -
      • virtual TQDomNode::NodeType nodeType () const
      • -
      • virtual bool isDocument () const
      • -
      • TQString toString () const
      • -
      • TQString toString ( int indent ) const
      • -
      • TQCString toCString () const
      • -
      • TQCString toCString ( int indent ) const
      • -
      -

      Detailed Description

      - - - -The TQDomDocument class represents an XML document. - -

      - -

      The TQDomDocument class represents the entire XML document. -Conceptually, it is the root of the document tree, and provides -the primary access to the document's data. -

      Since elements, text nodes, comments, processing instructions, -etc., cannot exist outside the context of a document, the document -class also contains the factory functions needed to create these -objects. The node objects created have an ownerDocument() function -which associates them with the document within whose context they -were created. The DOM classes that will be used most often are -TQDomNode, TQDomDocument, TQDomElement and TQDomText. -

      The parsed XML is represented internally by a tree of objects that -can be accessed using the various TQDom classes. All TQDom classes -only reference objects in the internal tree. The internal -objects in the DOM tree will get deleted once the last TQDom -object referencing them and the TQDomDocument itself are deleted. -

      Creation of elements, text nodes, etc. is done using the various -factory functions provided in this class. Using the default -constructors of the TQDom classes will only result in empty -objects that cannot be manipulated or inserted into the Document. -

      The TQDomDocument class has several functions for creating document -data, for example, createElement(), createTextNode(), -createComment(), createCDATASection(), -createProcessingInstruction(), createAttribute() and -createEntityReference(). Some of these functions have versions -that support namespaces, i.e. createElementNS() and -createAttributeNS(). The createDocumentFragment() function is used -to hold parts of the document; this is useful for manipulating for -complex documents. -

      The entire content of the document is set with setContent(). This -function parses the string it is passed as an XML document and -creates the DOM tree that represents the document. The root -element is available using documentElement(). The textual -representation of the document can be obtained using toString(). -

      It is possible to insert a node from another document into the -document using importNode(). -

      You can obtain a list of all the elements that have a particular -tag with elementsByTagName() or with elementsByTagNameNS(). -

      The TQDom classes are typically used as follows: -

      -    TQDomDocument doc( "mydocument" );
      -    TQFile file( "mydocument.xml" );
      -    if ( !file.open( IO_ReadOnly ) )
      -        return;
      -    if ( !doc.setContent( &file ) ) {
      -        file.close();
      -        return;
      -    }
      -    file.close();
      -
      -    // print out the element names of all elements that are direct children
      -    // of the outermost element.
      -    TQDomElement docElem = doc.documentElement();
      -
      -    TQDomNode n = docElem.firstChild();
      -    while( !n.isNull() ) {
      -        TQDomElement e = n.toElement(); // try to convert the node to an element.
      -        if( !e.isNull() ) {
      -            cout << e.tagName() << endl; // the node really is an element.
      -        }
      -        n = n.nextSibling();
      -    }
      -
      -    // Here we append a new element to the end of the document
      -    TQDomElement elem = doc.createElement( "img" );
      -    elem.setAttribute( "src", "myimage.png" );
      -    docElem.appendChild( elem );
      -    
      - -

      Once doc and elem go out of scope, the whole internal tree -representing the XML document is deleted. -

      To create a document using DOM use code like this: -

      -    TQDomDocument doc( "MyML" );
      -    TQDomElement root = doc.createElement( "MyML" );
      -    doc.appendChild( root );
      -
      -    TQDomElement tag = doc.createElement( "Greeting" );
      -    root.appendChild( tag );
      -
      -    TQDomText t = doc.createTextNode( "Hello World" );
      -    tag.appendChild( t );
      -
      -    TQString xml = doc.toString();
      -    
      - -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomDocument::TQDomDocument () -

      -Constructs an empty document. - -

      explicit TQDomDocument::TQDomDocument ( const TQString & name ) -

      -Creates a document and sets the name of the document type to name. - -

      explicit TQDomDocument::TQDomDocument ( const TQDomDocumentType & doctype ) -

      -Creates a document with the document type doctype. -

      See also TQDomImplementation::createDocumentType(). - -

      TQDomDocument::TQDomDocument ( const TQDomDocument & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomDocument::~TQDomDocument () -

      -Destroys the object and frees its resources. - -

      TQDomAttr TQDomDocument::createAttribute ( const TQString & name ) -

      -Creates a new attribute called name that can be inserted into -an element, e.g. using TQDomElement::setAttributeNode(). -

      See also createAttributeNS(). - -

      TQDomAttr TQDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName ) -

      -Creates a new attribute with namespace support that can be -inserted into an element. The name of the attribute is qName -and the namespace URI is nsURI. This function also sets -TQDomNode::prefix() and TQDomNode::localName() to appropriate values -(depending on qName). -

      See also createAttribute(). - -

      TQDomCDATASection TQDomDocument::createCDATASection ( const TQString & value ) -

      -Creates a new CDATA section for the string value that can be -inserted into the document, e.g. using TQDomNode::appendChild(). -

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomComment TQDomDocument::createComment ( const TQString & value ) -

      -Creates a new comment for the string value that can be inserted -into the document, e.g. using TQDomNode::appendChild(). -

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomDocumentFragment TQDomDocument::createDocumentFragment () -

      -Creates a new document fragment, that can be used to hold parts of -the document, e.g. when doing complex manipulations of the -document tree. - -

      TQDomElement TQDomDocument::createElement ( const TQString & tagName ) -

      -Creates a new element called tagName that can be inserted into -the DOM tree, e.g. using TQDomNode::appendChild(). -

      See also createElementNS(), TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomElement TQDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName ) -

      -Creates a new element with namespace support that can be inserted -into the DOM tree. The name of the element is qName and the -namespace URI is nsURI. This function also sets -TQDomNode::prefix() and TQDomNode::localName() to appropriate values -(depending on qName). -

      See also createElement(). - -

      TQDomEntityReference TQDomDocument::createEntityReference ( const TQString & name ) -

      -Creates a new entity reference called name that can be inserted -into the document, e.g. using TQDomNode::appendChild(). -

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomProcessingInstruction TQDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data ) -

      -Creates a new processing instruction that can be inserted into the -document, e.g. using TQDomNode::appendChild(). This function sets -the target for the processing instruction to target and the -data to data. -

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomText TQDomDocument::createTextNode ( const TQString & value ) -

      -Creates a text node for the string value that can be inserted -into the document tree, e.g. using TQDomNode::appendChild(). -

      Warning: All characters within an XML document must be in the range: -

      #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] -

      This rule also applies to characters encoded as character entities and -characters in CDATA sections. If you use this function to insert -characters outside of this range, the document will not be well-formed. -

      If you want to store binary data in an XML document you must either use -your own scheme to escape illegal characters, or you must store it in -an external unparsed entity. -

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). - -

      TQDomDocumentType TQDomDocument::doctype () const -

      -Returns the document type of this document. - -

      TQDomElement TQDomDocument::documentElement () const -

      -Returns the root element of the document. - -

      TQDomElement TQDomDocument::elementById ( const TQString & elementId ) -

      -Returns the element whose ID is equal to elementId. If no -element with the ID was found, this function returns a null element. -

      Since the TQDomClasses do not know which attributes are element -IDs, this function returns always a null - element. This may change in a future version. - -

      TQDomNodeList TQDomDocument::elementsByTagName ( const TQString & tagname ) const -

      -Returns a TQDomNodeList, that contains all the elements in the -document with the name tagname. The order of the node list is -the order they are encountered in a preorder traversal of the -element tree. -

      See also elementsByTagNameNS() and TQDomElement::elementsByTagName(). - -

      TQDomNodeList TQDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) -

      -Returns a TQDomNodeList that contains all the elements in the -document with the local name localName and a namespace URI of -nsURI. The order of the node list is the order they are -encountered in a preorder traversal of the element tree. -

      See also elementsByTagName() and TQDomElement::elementsByTagNameNS(). - -

      TQDomImplementation TQDomDocument::implementation () const -

      -Returns a TQDomImplementation object. - -

      TQDomNode TQDomDocument::importNode ( const TQDomNode & importedNode, bool deep ) -

      -Imports the node importedNode from another document to this -document. importedNode remains in the original document; this -function creates a copy that can be used within this document. -

      This function returns the imported node that belongs to this -document. The returned node has no parent. It is not possible to -import TQDomDocument and TQDomDocumentType nodes. In those cases -this function returns a null node. -

      If deep is TRUE, this function imports not only the node importedNode but its whole subtree; if it is FALSE, only the importedNode is imported. The argument deep has no effect on -TQDomAttr and TQDomEntityReference nodes, since the descendents of -TQDomAttr nodes are always imported and those of -TQDomEntityReference nodes are never imported. -

      The behavior of this function is slightly different depending on -the node types: -

      -
      Node Type Behaviour -
      TQDomAttr -The owner element is set to 0 and the specified flag is -set to TRUE in the generated attribute. The whole subtree -of importedNode is always imported for attribute nodes: -deep has no effect. -
      TQDomDocument -Document nodes cannot be imported. -
      TQDomDocumentFragment -If deep is TRUE, this function imports the whole -document fragment; otherwise it only generates an empty -document fragment. -
      TQDomDocumentType -Document type nodes cannot be imported. -
      TQDomElement -Attributes for which TQDomAttr::specified() is TRUE are -also imported, other attributes are not imported. If deep is TRUE, this function also imports the subtree of importedNode; otherwise it imports only the element node -(and some attributes, see above). -
      TQDomEntity -Entity nodes can be imported, but at the moment there is -no way to use them since the document type is read-only in -DOM level 2. -
      TQDomEntityReference -Descendents of entity reference nodes are never imported: -deep has no effect. -
      TQDomNotation -Notation nodes can be imported, but at the moment there is -no way to use them since the document type is read-only in -DOM level 2. -
      TQDomProcessingInstruction -The target and value of the processing instruction is -copied to the new node. -
      TQDomText -The text is copied to the new node. -
      TQDomCDATASection -The text is copied to the new node. -
      TQDomComment -The text is copied to the new node. -
      -

      See also TQDomElement::setAttribute(), TQDomNode::insertBefore(), TQDomNode::insertAfter(), TQDomNode::replaceChild(), TQDomNode::removeChild(), and TQDomNode::appendChild(). - -

      bool TQDomDocument::isDocument () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomDocument::nodeType () const [virtual] -

      -Returns DocumentNode. - -

      Reimplemented from TQDomNode. -

      TQDomDocument & TQDomDocument::operator= ( const TQDomDocument & x ) -

      -Assigns x to this DOM document. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      bool TQDomDocument::setContent ( const TQByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This function parses the XML document from the byte array buffer and sets it as the content of the document. It tries to -detect the encoding of the document as required by the XML -specification. -

      If namespaceProcessing is TRUE, the parser recognizes -namespaces in the XML file and sets the prefix name, local name -and namespace URI to appropriate values. If namespaceProcessing -is FALSE, the parser does no namespace processing when it reads -the XML file. -

      If a parse error occurs, the function returns FALSE; otherwise it -returns TRUE. If a parse error occurs and errorMsg, errorLine and errorColumn are not 0, the error message is -placed in *errorMsg, the line number *errorLine and the -column number in *errorColumn. -

      If namespaceProcessing is TRUE, the function TQDomNode::prefix() -returns a string for all elements and attributes. It returns an -empty string if the element or attribute has no prefix. -

      If namespaceProcessing is FALSE, the functions -TQDomNode::prefix(), TQDomNode::localName() and -TQDomNode::namespaceURI() return TQString::null. -

      See also TQDomNode::namespaceURI(), TQDomNode::localName(), TQDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). - -

      bool TQDomDocument::setContent ( const TQCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the C string buffer. -

      Warning: This function does not try to detect the encoding: -instead it assumes that the C string is UTF-8 encoded. - -

      bool TQDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the string text. -Since text is already a Unicode string, no encoding detection -is done. - -

      bool TQDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the IO device dev. - -

      bool TQDomDocument::setContent ( const TQCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the C string buffer. -

      No namespace processing is performed. -

      Warning: This function does not try to detect the encoding: -instead it assumes that the C string is UTF-8 encoded. - -

      bool TQDomDocument::setContent ( const TQByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the byte array buffer. -

      No namespace processing is performed. - -

      bool TQDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the string text. -Since text is already a Unicode string, no encoding detection -is performed. -

      No namespace processing is performed either. - -

      bool TQDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the IO device dev. -

      No namespace processing is performed. - -

      bool TQDomDocument::setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function reads the XML document from the TQXmlInputSource source and -parses it with the TQXmlReader reader. -

      This function doesn't change the features of the reader. If you want to -use certain features for parsing you can use this function to set up the -reader appropriate. -

      See also TQXmlSimpleReader. - -

      TQCString TQDomDocument::toCString () const -

      -Converts the parsed document back to its textual representation -and returns a TQCString for that is encoded in UTF-8. -

      See also toString(). - -

      TQCString TQDomDocument::toCString ( int indent ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function uses indent as the amount of space to indent -subelements. - -

      TQString TQDomDocument::toString () const -

      -Converts the parsed document back to its textual representation. -

      See also toCString(). - -

      TQString TQDomDocument::toString ( int indent ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This function uses indent as the amount of space to indent -subelements. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocumentfragment-members.html b/doc/html/qdomdocumentfragment-members.html deleted file mode 100644 index f7b5306aa..000000000 --- a/doc/html/qdomdocumentfragment-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - -TQDomDocumentFragment Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomDocumentFragment

      - -

      This is the complete list of member functions for -TQDomDocumentFragment, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocumentfragment.html b/doc/html/qdomdocumentfragment.html deleted file mode 100644 index b13552a5d..000000000 --- a/doc/html/qdomdocumentfragment.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - -TQDomDocumentFragment Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomDocumentFragment Class Reference
      [XML module]

      - -

      The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. - -

      - -

      If you want to do complex tree operations it is useful to have a -lightweight class to store nodes and their relations. -TQDomDocumentFragment stores a subtree of a document which does not -necessarily represent a well-formed XML document. -

      TQDomDocumentFragment is also useful if you want to group several -nodes in a list and insert them all together as children of some -node. In these cases TQDomDocumentFragment can be used as a -temporary container for this list of children. -

      The most important feature of TQDomDocumentFragment is that it is -treated in a special way by TQDomNode::insertAfter(), -TQDomNode::insertBefore(), TQDomNode::replaceChild() and -TQDomNode::appendChild(): instead of inserting the fragment itself, all -the fragment's children are inserted. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomDocumentFragment::TQDomDocumentFragment () -

      -Constructs an empty document fragment. - -

      TQDomDocumentFragment::TQDomDocumentFragment ( const TQDomDocumentFragment & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomDocumentFragment::~TQDomDocumentFragment () -

      -Destroys the object and frees its resources. - -

      bool TQDomDocumentFragment::isDocumentFragment () const [virtual] -

      -This function reimplements TQDomNode::isDocumentFragment(). -

      See also nodeType() and TQDomNode::toDocumentFragment(). - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomDocumentFragment::nodeType () const [virtual] -

      -Returns DocumentFragment. -

      See also isDocumentFragment() and TQDomNode::toDocumentFragment(). - -

      Reimplemented from TQDomNode. -

      TQDomDocumentFragment & TQDomDocumentFragment::operator= ( const TQDomDocumentFragment & x ) -

      -Assigns x to this DOM document fragment. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocumenttype-members.html b/doc/html/qdomdocumenttype-members.html deleted file mode 100644 index 8f88122e4..000000000 --- a/doc/html/qdomdocumenttype-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - -TQDomDocumentType Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomDocumentType

      - -

      This is the complete list of member functions for -TQDomDocumentType, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomdocumenttype.html b/doc/html/qdomdocumenttype.html deleted file mode 100644 index 83ce8aed6..000000000 --- a/doc/html/qdomdocumenttype.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -TQDomDocumentType Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomDocumentType Class Reference
      [XML module]

      - -

      The TQDomDocumentType class is the representation of the DTD -in the document tree. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomDocumentType class is the representation of the DTD -in the document tree. - -

      - -

      The TQDomDocumentType class allows read-only access to some of the -data structures in the DTD: it can return a map of all entities() -and notations(). In addition the function name() returns the name -of the document type as specified in the <!DOCTYPE name> -tag. This class also provides the publicId(), systemId() and -internalSubset() functions. -

      See also TQDomDocument and XML. - -


      Member Function Documentation

      -

      TQDomDocumentType::TQDomDocumentType () -

      -Creates an empty TQDomDocumentType object. - -

      TQDomDocumentType::TQDomDocumentType ( const TQDomDocumentType & n ) -

      -Constructs a copy of n. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomDocumentType::~TQDomDocumentType () -

      -Destroys the object and frees its resources. - -

      TQDomNamedNodeMap TQDomDocumentType::entities () const [virtual] -

      -Returns a map of all entities described in the DTD. - -

      TQString TQDomDocumentType::internalSubset () const [virtual] -

      -Returns the internal subset of the document type or TQString::null -if there is no internal subset. -

      See also publicId() and systemId(). - -

      bool TQDomDocumentType::isDocumentType () const [virtual] -

      -This function overloads TQDomNode::isDocumentType(). -

      See also nodeType() and TQDomNode::toDocumentType(). - -

      Reimplemented from TQDomNode. -

      TQString TQDomDocumentType::name () const [virtual] -

      -Returns the name of the document type as specified in the -<!DOCTYPE name> tag. -

      See also nodeName(). - -

      TQDomNode::NodeType TQDomDocumentType::nodeType () const [virtual] -

      -Returns DocumentTypeNode. -

      See also isDocumentType() and TQDomNode::toDocumentType(). - -

      Reimplemented from TQDomNode. -

      TQDomNamedNodeMap TQDomDocumentType::notations () const [virtual] -

      -Returns a map of all notations described in the DTD. - -

      TQDomDocumentType & TQDomDocumentType::operator= ( const TQDomDocumentType & n ) -

      -Assigns n to this document type. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQString TQDomDocumentType::publicId () const [virtual] -

      -Returns the public identifier of the external DTD subset or -TQString::null if there is no public identifier. -

      See also systemId(), internalSubset(), and TQDomImplementation::createDocumentType(). - -

      TQString TQDomDocumentType::systemId () const [virtual] -

      -Returns the system identifier of the external DTD subset or -TQString::null if there is no system identifier. -

      See also publicId(), internalSubset(), and TQDomImplementation::createDocumentType(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomelement-members.html b/doc/html/qdomelement-members.html deleted file mode 100644 index faf7fa9e0..000000000 --- a/doc/html/qdomelement-members.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - -TQDomElement Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomElement

      - -

      This is the complete list of member functions for -TQDomElement, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomelement.html b/doc/html/qdomelement.html deleted file mode 100644 index 7d6da1994..000000000 --- a/doc/html/qdomelement.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - -TQDomElement Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomElement Class Reference
      [XML module]

      - -

      The TQDomElement class represents one element in the DOM tree. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      -
        -
      • TQDomElement ()
      • -
      • TQDomElement ( const TQDomElement & x )
      • -
      • TQDomElement & operator= ( const TQDomElement & x )
      • -
      • ~TQDomElement ()
      • -
      • TQString attribute ( const TQString & name, const TQString & defValue = TQString::null ) const
      • -
      • void setAttribute ( const TQString & name, const TQString & value )
      • -
      • void setAttribute ( const TQString & name, int value )
      • -
      • void setAttribute ( const TQString & name, uint value )
      • -
      • void setAttribute ( const TQString & name, long value )
      • -
      • void setAttribute ( const TQString & name, ulong value )
      • -
      • void setAttribute ( const TQString & name, double value )
      • -
      • void removeAttribute ( const TQString & name )
      • -
      • TQDomAttr attributeNode ( const TQString & name )
      • -
      • TQDomAttr setAttributeNode ( const TQDomAttr & newAttr )
      • -
      • TQDomAttr removeAttributeNode ( const TQDomAttr & oldAttr )
      • -
      • virtual TQDomNodeList elementsByTagName ( const TQString & tagname ) const
      • -
      • bool hasAttribute ( const TQString & name ) const
      • -
      • TQString attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value )
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, int value )
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, uint value )
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, long value )
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value )
      • -
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, double value )
      • -
      • void removeAttributeNS ( const TQString & nsURI, const TQString & localName )
      • -
      • TQDomAttr attributeNodeNS ( const TQString & nsURI, const TQString & localName )
      • -
      • TQDomAttr setAttributeNodeNS ( const TQDomAttr & newAttr )
      • -
      • virtual TQDomNodeList elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const
      • -
      • bool hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const
      • -
      • TQString tagName () const
      • -
      • void setTagName ( const TQString & name )
      • -
      • virtual TQDomNamedNodeMap attributes () const
      • -
      • virtual TQDomNode::NodeType nodeType () const
      • -
      • virtual bool isElement () const
      • -
      • TQString text () const
      • -
      -

      Detailed Description

      - - - -The TQDomElement class represents one element in the DOM tree. - -

      - -

      Elements have a tagName() and zero or more attributes associated -with them. The tag name can be changed with setTagName(). -

      Element attributes are represented by TQDomAttr objects that can -be queried using the attribute() and attributeNode() functions. -You can set attributes with the setAttribute() and -setAttributeNode() functions. Attributes can be removed with -removeAttribute(). There are namespace-aware equivalents to these -functions, i.e. setAttributeNS(), setAttributeNodeNS() and -removeAttributeNS(). -

      If you want to access the text of a node use text(), e.g. -

      -    TQDomElement e = //...
      -    //...
      -    TQString s = e.text()
      -    
      - -The text() function operates recursively to find the text (since -not all elements contain text). If you want to find all the text -in all of a node's children, iterate over the children looking for -TQDomText nodes, e.g. -
      -    TQString text;
      -    TQDomElement element = doc.documentElement();
      -    for( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() )
      -    {
      -        TQDomText t = n.toText();
      -        if ( !t.isNull() )
      -            text += t.data();
      -    }
      -    
      - -Note that we attempt to convert each node to a text node and use -text() rather than using firstChild().toText().data() or -n.toText().data() directly on the node, because the node may not -be a text element. -

      You can get a list of all the decendents of an element which have -a specified tag name with elementsByTagName() or -elementsByTagNameNS(). -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomElement::TQDomElement () -

      -Constructs an empty element. Use the TQDomDocument::createElement() -function to construct elements with content. - -

      TQDomElement::TQDomElement ( const TQDomElement & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomElement::~TQDomElement () -

      -Destroys the object and frees its resources. - -

      TQString TQDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const -

      -Returns the attribute called name. If the attribute does not -exist defValue is returned. -

      See also setAttribute(), attributeNode(), setAttributeNode(), and attributeNS(). - -

      TQString TQDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const -

      -Returns the attribute with the local name localName and the -namespace URI nsURI. If the attribute does not exist defValue is returned. -

      See also setAttributeNS(), attributeNodeNS(), setAttributeNodeNS(), and attribute(). - -

      TQDomAttr TQDomElement::attributeNode ( const TQString & name ) -

      -Returns the TQDomAttr object that corresponds to the attribute -called name. If no such attribute exists a null attribute is returned. -

      See also setAttributeNode(), attribute(), setAttribute(), and attributeNodeNS(). - -

      TQDomAttr TQDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName ) -

      -Returns the TQDomAttr object that corresponds to the attribute with -the local name localName and the namespace URI nsURI. If no -such attribute exists a null - attribute is returned. -

      See also setAttributeNode(), attribute(), and setAttribute(). - -

      TQDomNamedNodeMap TQDomElement::attributes () const [virtual] -

      -Returns a TQDomNamedNodeMap containing all this element's attributes. -

      See also attribute(), setAttribute(), attributeNode(), and setAttributeNode(). - -

      Reimplemented from TQDomNode. -

      TQDomNodeList TQDomElement::elementsByTagName ( const TQString & tagname ) const [virtual] -

      -Returns a TQDomNodeList containing all descendent elements of this -element that are called tagname. The order they are in the node -list is the order they are encountered in a preorder traversal of -the element tree. -

      See also elementsByTagNameNS() and TQDomDocument::elementsByTagName(). - -

      TQDomNodeList TQDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const [virtual] -

      -Returns a TQDomNodeList containing all the descendent elements of -this element with the local name localName and the namespace -URI nsURI. The order they are in the node list is the order -they are encountered in a preorder traversal of the element tree. -

      See also elementsByTagName() and TQDomDocument::elementsByTagNameNS(). - -

      bool TQDomElement::hasAttribute ( const TQString & name ) const -

      -Returns TRUE if this element has an attribute called name; -otherwise returns FALSE. - -

      bool TQDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const -

      -Returns TRUE if this element has an attribute with the local name -localName and the namespace URI nsURI; otherwise returns -FALSE. - -

      bool TQDomElement::isElement () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomElement::nodeType () const [virtual] -

      -Returns ElementNode. - -

      Reimplemented from TQDomNode. -

      TQDomElement & TQDomElement::operator= ( const TQDomElement & x ) -

      -Assigns x to this DOM element. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      void TQDomElement::removeAttribute ( const TQString & name ) -

      -Removes the attribute called name name from this element. -

      See also setAttribute(), attribute(), and removeAttributeNS(). - -

      void TQDomElement::removeAttributeNS ( const TQString & nsURI, const TQString & localName ) -

      -Removes the attribute with the local name localName and the -namespace URI nsURI from this element. -

      See also setAttributeNS(), attributeNS(), and removeAttribute(). - -

      TQDomAttr TQDomElement::removeAttributeNode ( const TQDomAttr & oldAttr ) -

      -Removes the attribute oldAttr from the element and returns it. -

      See also attributeNode() and setAttributeNode(). - -

      void TQDomElement::setAttribute ( const TQString & name, const TQString & value ) -

      -Adds an attribute called name with value value. If an -attribute with the same name exists, its value is replaced by value. -

      See also attribute(), setAttributeNode(), and setAttributeNS(). - -

      void TQDomElement::setAttribute ( const TQString & name, int value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttribute ( const TQString & name, uint value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttribute ( const TQString & name, long value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttribute ( const TQString & name, ulong value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttribute ( const TQString & name, double value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value ) -

      -Adds an attribute with the qualified name qName and the -namespace URI nsURI with the value value. If an attribute -with the same local name and namespace URI exists, its prefix is -replaced by the prefix of qName and its value is repaced by value. -

      Although qName is the qualified name, the local name is used to -decide if an existing attribute's value should be replaced. -

      See also attributeNS(), setAttributeNodeNS(), and setAttribute(). - -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, int value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, uint value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, long value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, double value ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      TQDomAttr TQDomElement::setAttributeNode ( const TQDomAttr & newAttr ) -

      -Adds the attribute newAttr to this element. -

      If the element has another attribute that has the same name as newAttr, this function replaces that attribute and returns it; -otherwise the function returns a null - attribute. -

      See also attributeNode(), setAttribute(), and setAttributeNodeNS(). - -

      TQDomAttr TQDomElement::setAttributeNodeNS ( const TQDomAttr & newAttr ) -

      -Adds the attribute newAttr to this element. -

      If the element has another attribute that has the same local name -and namespace URI as newAttr, this function replaces that -attribute and returns it; otherwise the function returns a null attribute. -

      See also attributeNodeNS(), setAttributeNS(), and setAttributeNode(). - -

      void TQDomElement::setTagName ( const TQString & name ) -

      -Sets this element's tag name to name. -

      See also tagName(). - -

      TQString TQDomElement::tagName () const -

      -Returns the tag name of this element. For an XML element like this: -
      -    <img src="myimg.png">
      -    
      - -the tagname would return "img". -

      See also setTagName(). - -

      TQString TQDomElement::text () const -

      -Returns the element's text or TQString::null. -

      Example: -

      -    <h1>Hello <b>TQt</b> <![CDATA[<xml is cool>]]></h1>
      -    
      - -

      The function text() of the TQDomElement for the <h1> tag, -will return "Hello TQt <xml is cool>". -

      Comments are ignored by this function. It only evaluates TQDomText -and TQDomCDATASection objects. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomentity-members.html b/doc/html/qdomentity-members.html deleted file mode 100644 index f7711633d..000000000 --- a/doc/html/qdomentity-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -TQDomEntity Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomEntity

      - -

      This is the complete list of member functions for -TQDomEntity, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomentity.html b/doc/html/qdomentity.html deleted file mode 100644 index 927b03444..000000000 --- a/doc/html/qdomentity.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -TQDomEntity Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomEntity Class Reference
      [XML module]

      - -

      The TQDomEntity class represents an XML entity. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomEntity class represents an XML entity. - -

      - -

      This class represents an entity in an XML document, either parsed -or unparsed. Note that this models the entity itself not the -entity declaration. -

      DOM does not support editing entity nodes; if a user wants to make -changes to the contents of an entity, every related -TQDomEntityReference node must be replaced in the DOM tree by a -clone of the entity's contents, and then the desired changes must -be made to each of the clones instead. All the descendents of an -entity node are read-only. -

      An entity node does not have any parent. -

      You can access the entity's publicId(), systemId() and -notationName() when available. -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomEntity::TQDomEntity () -

      -Constructs an empty entity. - -

      TQDomEntity::TQDomEntity ( const TQDomEntity & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomEntity::~TQDomEntity () -

      -Destroys the object and frees its resources. - -

      bool TQDomEntity::isEntity () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomEntity::nodeType () const [virtual] -

      -Returns EntityNode. - -

      Reimplemented from TQDomNode. -

      TQString TQDomEntity::notationName () const [virtual] -

      -For unparsed entities this function returns the name of the -notation for the entity. For parsed entities this function returns -TQString::null. - -

      TQDomEntity & TQDomEntity::operator= ( const TQDomEntity & x ) -

      -Assigns x to this DOM entity. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQString TQDomEntity::publicId () const [virtual] -

      -Returns the public identifier associated with this entity. If the -public identifier was not specified TQString::null is returned. - -

      TQString TQDomEntity::systemId () const [virtual] -

      -Returns the system identifier associated with this entity. If the -system identifier was not specified TQString::null is returned. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomentityreference-members.html b/doc/html/qdomentityreference-members.html deleted file mode 100644 index c01ca90a5..000000000 --- a/doc/html/qdomentityreference-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - -TQDomEntityReference Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomEntityReference

      - -

      This is the complete list of member functions for -TQDomEntityReference, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomentityreference.html b/doc/html/qdomentityreference.html deleted file mode 100644 index 915f57dc7..000000000 --- a/doc/html/qdomentityreference.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - -TQDomEntityReference Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomEntityReference Class Reference
      [XML module]

      - -

      The TQDomEntityReference class represents an XML entity reference. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomEntityReference class represents an XML entity reference. - -

      - -

      A TQDomEntityReference object may be inserted into the DOM tree -when an entity reference is in the source document, or when the -user wishes to insert an entity reference. -

      Note that character references and references to predefined -entities are expanded by the XML processor so that characters are -represented by their Unicode equivalent rather than by an entity -reference. -

      Moreover, the XML processor may completely expand references to -entities while building the DOM tree, instead of providing -TQDomEntityReference objects. -

      If it does provide such objects, then for a given entity reference -node, it may be that there is no entity node representing the -referenced entity; but if such an entity exists, then the child -list of the entity reference node is the same as that of the -entity node. As with the entity node, all descendents of the -entity reference are read-only. -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomEntityReference::TQDomEntityReference () -

      -Constructs an empty entity reference. Use -TQDomDocument::createEntityReference() to create a entity reference -with content. - -

      TQDomEntityReference::TQDomEntityReference ( const TQDomEntityReference & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomEntityReference::~TQDomEntityReference () -

      -Destroys the object and frees its resources. - -

      bool TQDomEntityReference::isEntityReference () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomEntityReference::nodeType () const [virtual] -

      -Returns EntityReference. - -

      Reimplemented from TQDomNode. -

      TQDomEntityReference & TQDomEntityReference::operator= ( const TQDomEntityReference & x ) -

      -Assigns x to this entity reference. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomimplementation-members.html b/doc/html/qdomimplementation-members.html deleted file mode 100644 index f4c17fb8e..000000000 --- a/doc/html/qdomimplementation-members.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - -TQDomImplementation Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomImplementation

      - -

      This is the complete list of member functions for -TQDomImplementation, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomimplementation.html b/doc/html/qdomimplementation.html deleted file mode 100644 index 2c2d9a2b7..000000000 --- a/doc/html/qdomimplementation.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -TQDomImplementation Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomImplementation Class Reference
      [XML module]

      - -

      The TQDomImplementation class provides information about the -features of the DOM implementation. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      List of all member functions. -

      Public Members

      -
        -
      • TQDomImplementation ()
      • -
      • TQDomImplementation ( const TQDomImplementation & x )
      • -
      • virtual ~TQDomImplementation ()
      • -
      • TQDomImplementation & operator= ( const TQDomImplementation & x )
      • -
      • bool operator== ( const TQDomImplementation & x ) const
      • -
      • bool operator!= ( const TQDomImplementation & x ) const
      • -
      • virtual bool hasFeature ( const TQString & feature, const TQString & version )
      • -
      • virtual TQDomDocumentType createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )
      • -
      • virtual TQDomDocument createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )
      • -
      • bool isNull ()
      • -
      -

      Detailed Description

      - - - -The TQDomImplementation class provides information about the -features of the DOM implementation. - -

      - -

      This class describes the features that are supported by the DOM -implementation. Currently the XML subset of DOM Level 1 and DOM -Level 2 Core are supported. -

      Normally you will use the function TQDomDocument::implementation() -to get the implementation object. -

      You can create a new document type with createDocumentType() and a -new document with createDocument(). -

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general -introduction of the DOM implementation see the TQDomDocument -documentation. -

      See also hasFeature() and XML. - -


      Member Function Documentation

      -

      TQDomImplementation::TQDomImplementation () -

      -Constructs a TQDomImplementation object. - -

      TQDomImplementation::TQDomImplementation ( const TQDomImplementation & x ) -

      -Constructs a copy of x. - -

      TQDomImplementation::~TQDomImplementation () [virtual] -

      -Destroys the object and frees its resources. - -

      TQDomDocument TQDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype ) [virtual] -

      -Creates a DOM document with the document type doctype. This -function also adds a root element node with the qualified name qName and the namespace URI nsURI. - -

      TQDomDocumentType TQDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId ) [virtual] -

      -Creates a document type node for the name qName. -

      publicId specifies the public identifier of the external -subset. If you specify TQString::null as the publicId, this -means that the document type has no public identifier. -

      systemId specifies the system identifier of the external -subset. If you specify TQString::null as the systemId, this -means that the document type has no system identifier. -

      Since you cannot have a public identifier without a system -identifier, the public identifier is set to TQString::null if there -is no system identifier. -

      DOM level 2 does not support any other document type declaration -features. -

      The only way you can use a document type that was created this -way, is in combination with the createDocument() function to -create a TQDomDocument with this document type. -

      See also createDocument(). - -

      bool TQDomImplementation::hasFeature ( const TQString & feature, const TQString & version ) [virtual] -

      -The function returns TRUE if TQDom implements the requested version of a feature; otherwise returns FALSE. -

      The currently supported features and their versions: -

      -
      Feature Version -
      XML 1.0 -
      - -

      bool TQDomImplementation::isNull () -

      -Returns FALSE if the object was created by -TQDomDocument::implementation(); otherwise returns TRUE. - -

      bool TQDomImplementation::operator!= ( const TQDomImplementation & x ) const -

      -Returns TRUE if x and this DOM implementation object were -created from different TQDomDocuments; otherwise returns FALSE. - -

      TQDomImplementation & TQDomImplementation::operator= ( const TQDomImplementation & x ) -

      -Assigns x to this DOM implementation. - -

      bool TQDomImplementation::operator== ( const TQDomImplementation & x ) const -

      -Returns TRUE if x and this DOM implementation object were -created from the same TQDomDocument; otherwise returns FALSE. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnamednodemap-members.html b/doc/html/qdomnamednodemap-members.html deleted file mode 100644 index c1b7c1b1d..000000000 --- a/doc/html/qdomnamednodemap-members.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - -TQDomNamedNodeMap Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomNamedNodeMap

      - -

      This is the complete list of member functions for -TQDomNamedNodeMap, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnamednodemap.html b/doc/html/qdomnamednodemap.html deleted file mode 100644 index ae800a894..000000000 --- a/doc/html/qdomnamednodemap.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - -TQDomNamedNodeMap Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomNamedNodeMap Class Reference
      [XML module]

      - -

      The TQDomNamedNodeMap class contains a collection of nodes -that can be accessed by name. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomNamedNodeMap class contains a collection of nodes -that can be accessed by name. - -

      - -

      Note that TQDomNamedNodeMap does not inherit from TQDomNodeList. -TQDomNamedNodeMaps do not provide any specific node ordering. -Although nodes in a TQDomNamedNodeMap may be accessed by an ordinal -index, this is simply to allow a convenient enumeration of the -contents of a TQDomNamedNodeMap, and does not imply that the DOM -specifies an ordering of the nodes. -

      The TQDomNamedNodeMap is used in three places: -

        -
      1. TQDomDocumentType::entities() returns a map of all entities -described in the DTD. -
      2. TQDomDocumentType::notations() returns a map of all notations -described in the DTD. -
      3. TQDomNode::attributes() returns a map of all attributes of an -element. -
      -

      Items in the map are identified by the name which TQDomNode::name() -returns. Nodes are retrieved using namedItem(), namedItemNS() or -item(). New nodes are inserted with setNamedItem() or -setNamedItemNS() and removed with removeNamedItem() or -removeNamedItemNS(). Use contains() to see if an item with the -given name is in the named node map. The number of items is -returned by length(). -

      Terminology: in this class we use "item" and "node" -interchangeably. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomNamedNodeMap::TQDomNamedNodeMap () -

      -Constructs an empty named node map. - -

      TQDomNamedNodeMap::TQDomNamedNodeMap ( const TQDomNamedNodeMap & n ) -

      -Constructs a copy of n. - -

      TQDomNamedNodeMap::~TQDomNamedNodeMap () -

      -Destroys the object and frees its resources. - -

      bool TQDomNamedNodeMap::contains ( const TQString & name ) const -

      -Returns TRUE if the map contains a node called name; otherwise -returns FALSE. - -

      uint TQDomNamedNodeMap::count () const -

      - -

      Returns the number of nodes in the map. -

      This function is the same as length(). - -

      TQDomNode TQDomNamedNodeMap::item ( int index ) const -

      -Retrieves the node at position index. -

      This can be used to iterate over the map. Note that the nodes in -the map are ordered arbitrarily. -

      See also length(). - -

      uint TQDomNamedNodeMap::length () const -

      -Returns the number of nodes in the map. -

      See also item(). - -

      TQDomNode TQDomNamedNodeMap::namedItem ( const TQString & name ) const -

      -Returns the node called name. -

      If the named node map does not contain such a node, a null node is returned. A node's name is -the name returned by TQDomNode::nodeName(). -

      See also setNamedItem() and namedItemNS(). - -

      TQDomNode TQDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const -

      -Returns the node associated with the local name localName and -the namespace URI nsURI. -

      If the map does not contain such a node, a null node is returned. -

      See also setNamedItemNS() and namedItem(). - -

      bool TQDomNamedNodeMap::operator!= ( const TQDomNamedNodeMap & n ) const -

      -Returns TRUE if n and this named node map are not equal; -otherwise returns FALSE. - -

      TQDomNamedNodeMap & TQDomNamedNodeMap::operator= ( const TQDomNamedNodeMap & n ) -

      -Assigns n to this named node map. - -

      bool TQDomNamedNodeMap::operator== ( const TQDomNamedNodeMap & n ) const -

      -Returns TRUE if n and this named node map are equal; otherwise -returns FALSE. - -

      TQDomNode TQDomNamedNodeMap::removeNamedItem ( const TQString & name ) -

      -Removes the node called name from the map. -

      The function returns the removed node or a null node if the map did not contain a -node called name. -

      See also setNamedItem(), namedItem(), and removeNamedItemNS(). - -

      TQDomNode TQDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName ) -

      -Removes the node with the local name localName and the -namespace URI nsURI from the map. -

      The function returns the removed node or a null node if the map did not contain a -node with the local name localName and the namespace URI nsURI. -

      See also setNamedItemNS(), namedItemNS(), and removeNamedItem(). - -

      TQDomNode TQDomNamedNodeMap::setNamedItem ( const TQDomNode & newNode ) -

      -Inserts the node newNode into the named node map. The name used -by the map is the node name of newNode as returned by -TQDomNode::nodeName(). -

      If the new node replaces an existing node, i.e. the map contains a -node with the same name, the replaced node is returned. -

      See also namedItem(), removeNamedItem(), and setNamedItemNS(). - -

      TQDomNode TQDomNamedNodeMap::setNamedItemNS ( const TQDomNode & newNode ) -

      -Inserts the node newNode in the map. If a node with the same -namespace URI and the same local name already exists in the map, -it is replaced by newNode. If the new node replaces an existing -node, the replaced node is returned. -

      See also namedItemNS(), removeNamedItemNS(), and setNamedItem(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnode-members.html b/doc/html/qdomnode-members.html deleted file mode 100644 index ecf49eedb..000000000 --- a/doc/html/qdomnode-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - -TQDomNode Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomNode

      - -

      This is the complete list of member functions for -TQDomNode, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnode.html b/doc/html/qdomnode.html deleted file mode 100644 index 176fa04d0..000000000 --- a/doc/html/qdomnode.html +++ /dev/null @@ -1,741 +0,0 @@ - - - - - -TQDomNode Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomNode Class Reference
      [XML module]

      - -

      The TQDomNode class is the base class for all the nodes in a DOM tree. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherited by TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. -

      List of all member functions. -

      Public Members

      - -

      Related Functions

      -
        -
      • TQTextStream & operator<< ( TQTextStream & str, const TQDomNode & node )
      • -
      -

      Detailed Description

      - - - -The TQDomNode class is the base class for all the nodes in a DOM tree. - -

      - -

      Many functions in the DOM return a TQDomNode. -

      You can find out the type of a node using isAttr(), -isCDATASection(), isDocumentFragment(), isDocument(), -isDocumentType(), isElement(), isEntityReference(), isText(), -isEntity(), isNotation(), isProcessingInstruction(), -isCharacterData() and isComment(). -

      A TQDomNode can be converted into one of its subclasses using -toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), -toDocumentType(), toElement(), toEntityReference(), toText(), -toEntity(), toNotation(), toProcessingInstruction(), -toCharacterData() or toComment(). You can convert a node to a null -node with clear(). -

      Copies of the TQDomNode class share their data using explicit sharing. This means that modifying one node will change all -copies. This is especially useful in combination with functions -which return a TQDomNode, e.g. firstChild(). You can make an -independent (deep) copy of the node with cloneNode(). -

      Nodes are inserted with insertBefore(), insertAfter() or -appendChild(). You can replace one node with another using -replaceChild() and remove a node with removeChild(). -

      To traverse nodes use firstChild() to get a node's first child (if -any), and nextSibling() to traverse. TQDomNode also provides -lastChild(), previousSibling() and parentNode(). To find the first -child node with a particular node name use namedItem(). -

      To find out if a node has children use hasChildNodes() and to get -a list of all of a node's children use childNodes(). -

      The node's name and value (the meaning of which varies depending -on its type) is returned by nodeName() and nodeValue() -respectively. The node's type is returned by nodeType(). The -node's value can be set with setNodeValue(). -

      The document to which the node belongs is returned by -ownerDocument(). -

      Adjacent TQDomText nodes can be merged into a single node with -normalize(). -

      TQDomElement nodes have attributes which can be retrieved with -attributes(). -

      TQDomElement and TQDomAttr nodes can have namespaces which can be -retrieved with namespaceURI(). Their local name is retrieved with -localName(), and their prefix with prefix(). The prefix can be set -with setPrefix(). -

      You can write the XML representation of the node to a text stream -with save(). -

      The following example looks for the first element in an XML document and -prints the names of all the elements that are its direct children. -

      -    TQDomDocument d;
      -    d.setContent( someXML );
      -    TQDomNode n = d.firstChild();
      -    while ( !n.isNull() ) {
      -        if ( n.isElement() ) {
      -            TQDomElement e = n.toElement();
      -            cout << "Element name: " << e.tagName() << endl;
      -            break;
      -        }
      -        n = n.nextSibling();
      -    }
      -    
      - -

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general -introduction of the DOM implementation see the TQDomDocument -documentation. -

      See also XML. - -


      Member Type Documentation

      -

      TQDomNode::NodeType

      - -

      This enum defines the type of the node: -

        -
      • TQDomNode::ElementNode -
      • TQDomNode::AttributeNode -
      • TQDomNode::TextNode -
      • TQDomNode::CDATASectionNode -
      • TQDomNode::EntityReferenceNode -
      • TQDomNode::EntityNode -
      • TQDomNode::ProcessingInstructionNode -
      • TQDomNode::CommentNode -
      • TQDomNode::DocumentNode -
      • TQDomNode::DocumentTypeNode -
      • TQDomNode::DocumentFragmentNode -
      • TQDomNode::NotationNode -
      • TQDomNode::BaseNode - A TQDomNode object, i.e. not a TQDomNode subclass. -
      • TQDomNode::CharacterDataNode -
      -

      Member Function Documentation

      -

      TQDomNode::TQDomNode () -

      -Constructs a null node. - -

      TQDomNode::TQDomNode ( const TQDomNode & n ) -

      -Constructs a copy of n. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomNode::~TQDomNode () [virtual] -

      -Destroys the object and frees its resources. - -

      TQDomNode TQDomNode::appendChild ( const TQDomNode & newChild ) [virtual] -

      -Appends newChild as the node's last child. -

      If newChild is the child of another node, it is reparented to -this node. If newChild is a child of this node, then its -position in the list of children is changed. -

      If newChild is a TQDomDocumentFragment, then the children of the -fragment are removed from the fragment and appended. -

      Returns a new reference to newChild. -

      See also insertBefore(), insertAfter(), replaceChild(), and removeChild(). - -

      TQDomNamedNodeMap TQDomNode::attributes () const [virtual] -

      -Returns a named node map of all attributes. Attributes are only -provided for TQDomElements. -

      Changing the attributes in the map will also change the attributes -of this TQDomNode. - -

      Reimplemented in TQDomElement. -

      TQDomNodeList TQDomNode::childNodes () const [virtual] -

      -Returns a list of all direct child nodes. -

      Most often you will call this function on a TQDomElement object. -

      For example, if the XML document looks like this: -

      -    <body>
      -    <h1>Heading</h1>
      -    <p>Hello <b>you</b></p>
      -    </body>
      -    
      - -Then the list of child nodes for the "body"-element will contain -the node created by the <h1> tag and the node created by the -<p> tag. -

      The nodes in the list are not copied; so changing the nodes in the -list will also change the children of this node. -

      See also firstChild() and lastChild(). - -

      void TQDomNode::clear () -

      -Converts the node into a null node; if it was not a null node -before, its type and contents are deleted. -

      See also isNull(). - -

      TQDomNode TQDomNode::cloneNode ( bool deep = TRUE ) const [virtual] -

      -Creates a deep (not shallow) copy of the TQDomNode. -

      If deep is TRUE, then the cloning is done recursively which -means that all the node's children are deep copied too. If deep -is FALSE only the node itself is copied and the copy will have no -child nodes. - -

      TQDomNode TQDomNode::firstChild () const [virtual] -

      -Returns the first child of the node. If there is no child node, a -null node is returned. Changing the -returned node will also change the node in the document tree. -

      See also lastChild() and childNodes(). - -

      Example: xml/outliner/outlinetree.cpp. -

      bool TQDomNode::hasAttributes () const [virtual] -

      -Returns TRUE if the node has attributes; otherwise returns FALSE. -

      See also attributes(). - -

      bool TQDomNode::hasChildNodes () const [virtual] -

      -Returns TRUE if the node has one or more children; otherwise -returns FALSE. - -

      TQDomNode TQDomNode::insertAfter ( const TQDomNode & newChild, const TQDomNode & refChild ) [virtual] -

      -Inserts the node newChild after the child node refChild. refChild must be a direct child of this node. If refChild is -null then newChild is appended as this -node's last child. -

      If newChild is the child of another node, it is reparented to -this node. If newChild is a child of this node, then its -position in the list of children is changed. -

      If newChild is a TQDomDocumentFragment, then the children of the -fragment are removed from the fragment and inserted after refChild. -

      Returns a new reference to newChild on success or a null node on failure. -

      See also insertBefore(), replaceChild(), removeChild(), and appendChild(). - -

      TQDomNode TQDomNode::insertBefore ( const TQDomNode & newChild, const TQDomNode & refChild ) [virtual] -

      -Inserts the node newChild before the child node refChild. -refChild must be a direct child of this node. If refChild is -null then newChild is inserted as the -node's first child. -

      If newChild is the child of another node, it is reparented to -this node. If newChild is a child of this node, then its -position in the list of children is changed. -

      If newChild is a TQDomDocumentFragment, then the children of the -fragment are removed from the fragment and inserted before refChild. -

      Returns a new reference to newChild on success or a null node on failure. -

      See also insertAfter(), replaceChild(), removeChild(), and appendChild(). - -

      bool TQDomNode::isAttr () const [virtual] -

      -Returns TRUE if the node is an attribute; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomAttribute; you can get the TQDomAttribute with -toAttribute(). -

      See also toAttr(). - -

      Reimplemented in TQDomAttr. -

      bool TQDomNode::isCDATASection () const [virtual] -

      -Returns TRUE if the node is a CDATA section; otherwise returns -FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomCDATASection; you can get the TQDomCDATASection with -toCDATASection(). -

      See also toCDATASection(). - -

      Reimplemented in TQDomCDATASection. -

      bool TQDomNode::isCharacterData () const [virtual] -

      -Returns TRUE if the node is a character data node; otherwise -returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomCharacterData; you can get the TQDomCharacterData with -toCharacterData(). -

      See also toCharacterData(). - -

      Reimplemented in TQDomCharacterData. -

      bool TQDomNode::isComment () const [virtual] -

      -Returns TRUE if the node is a comment; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomComment; you can get the TQDomComment with toComment(). -

      See also toComment(). - -

      Reimplemented in TQDomComment. -

      bool TQDomNode::isDocument () const [virtual] -

      -Returns TRUE if the node is a document; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomDocument; you can get the TQDomDocument with toDocument(). -

      See also toDocument(). - -

      Reimplemented in TQDomDocument. -

      bool TQDomNode::isDocumentFragment () const [virtual] -

      -Returns TRUE if the node is a document fragment; otherwise returns -FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomDocumentFragment; you can get the TQDomDocumentFragment -with toDocumentFragment(). -

      See also toDocumentFragment(). - -

      Reimplemented in TQDomDocumentFragment. -

      bool TQDomNode::isDocumentType () const [virtual] -

      -Returns TRUE if the node is a document type; otherwise returns -FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomDocumentType; you can get the TQDomDocumentType with -toDocumentType(). -

      See also toDocumentType(). - -

      Reimplemented in TQDomDocumentType. -

      bool TQDomNode::isElement () const [virtual] -

      -Returns TRUE if the node is an element; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomElement; you can get the TQDomElement with toElement(). -

      See also toElement(). - -

      Example: xml/outliner/outlinetree.cpp. -

      Reimplemented in TQDomElement. -

      bool TQDomNode::isEntity () const [virtual] -

      -Returns TRUE if the node is an entity; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomEntity; you can get the TQDomEntity with toEntity(). -

      See also toEntity(). - -

      Reimplemented in TQDomEntity. -

      bool TQDomNode::isEntityReference () const [virtual] -

      -Returns TRUE if the node is an entity reference; otherwise returns -FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomEntityReference; you can get the TQDomEntityReference with -toEntityReference(). -

      See also toEntityReference(). - -

      Reimplemented in TQDomEntityReference. -

      bool TQDomNode::isNotation () const [virtual] -

      -Returns TRUE if the node is a notation; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomNotation; you can get the TQDomNotation with toNotation(). -

      See also toNotation(). - -

      Reimplemented in TQDomNotation. -

      bool TQDomNode::isNull () const -

      -Returns TRUE if this node is null (i.e. if it has no type or -contents); otherwise returns FALSE. - -

      Example: xml/outliner/outlinetree.cpp. -

      bool TQDomNode::isProcessingInstruction () const [virtual] -

      -Returns TRUE if the node is a processing instruction; otherwise -returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomProcessingInstruction; you can get the -TQProcessingInstruction with toProcessingInstruction(). -

      See also toProcessingInstruction(). - -

      Reimplemented in TQDomProcessingInstruction. -

      bool TQDomNode::isSupported ( const TQString & feature, const TQString & version ) const [virtual] -

      -Returns TRUE if the DOM implementation implements the feature feature and this feature is supported by this node in the version -version; otherwise returns FALSE. -

      See also TQDomImplementation::hasFeature(). - -

      bool TQDomNode::isText () const [virtual] -

      -Returns TRUE if the node is a text node; otherwise returns FALSE. -

      If this function returns TRUE, it does not imply that this object -is a TQDomText; you can get the TQDomText with toText(). -

      See also toText(). - -

      Reimplemented in TQDomText. -

      TQDomNode TQDomNode::lastChild () const [virtual] -

      -Returns the last child of the node. If there is no child node, a -null node is returned. Changing the -returned node will also change the node in the document tree. -

      See also firstChild() and childNodes(). - -

      TQString TQDomNode::localName () const [virtual] -

      -If the node uses namespaces, this function returns the local name -of the node; otherwise it returns TQString::null. -

      Only nodes of type ElementNode or -AttributeNode can have -namespaces. A namespace must have been specified at creation time; -it is not possible to add a namespace afterwards. -

      See also prefix(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). - -

      TQDomNode TQDomNode::namedItem ( const TQString & name ) const -

      -Returns the first direct child node for which nodeName() equals name. -

      If no such direct child exists, a null node -is returned. -

      See also nodeName(). - -

      TQString TQDomNode::namespaceURI () const [virtual] -

      -Returns the namespace URI of this node or TQString::null if the -node has no namespace URI. -

      Only nodes of type ElementNode or -AttributeNode can have -namespaces. A namespace URI must be specified at creation time and -cannot be changed later. -

      See also prefix(), localName(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). - -

      TQDomNode TQDomNode::nextSibling () const [virtual] -

      -Returns the next sibling in the document tree. Changing the -returned node will also change the node in the document tree. -

      If you have XML like this: -

      -    <h1>Heading</h1>
      -    <p>The text...</p>
      -    <h2>Next heading</h2>
      -    
      - -and this TQDomNode represents the <p> tag, nextSibling() will -return the node representing the <h2> tag. -

      See also previousSibling(). - -

      Example: xml/outliner/outlinetree.cpp. -

      TQString TQDomNode::nodeName () const [virtual] -

      -Returns the name of the node. -

      The meaning of the name depends on the subclass: -

      -
      Name Meaning -
      TQDomAttr The name of the attribute -
      TQDomCDATASection The string "#cdata-section" -
      TQDomComment The string "#comment" -
      TQDomDocument The string "#document" -
      TQDomDocumentFragment The string "#document-fragment" -
      TQDomDocumentType The name of the document type -
      TQDomElement The tag name -
      TQDomEntity The name of the entity -
      TQDomEntityReference The name of the referenced entity -
      TQDomNotation The name of the notation -
      TQDomProcessingInstruction The target of the processing instruction -
      TQDomText The string "#text" -
      -

      See also nodeValue(). - -

      Example: xml/outliner/outlinetree.cpp. -

      TQDomNode::NodeType TQDomNode::nodeType () const [virtual] -

      -Returns the type of the node. -

      See also toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData(), and toComment(). - -

      Reimplemented in TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. -

      TQString TQDomNode::nodeValue () const [virtual] -

      -Returns the value of the node. -

      The meaning of the value depends on the subclass: -

      -
      Name Meaning -
      TQDomAttr The attribute value -
      TQDomCDATASection The content of the CDATA section -
      TQDomComment The comment -
      TQDomProcessingInstruction The data of the processing intruction -
      TQDomText The text -
      -

      All the other subclasses do not have a node value and will return -TQString::null. -

      See also setNodeValue() and nodeName(). - -

      Example: xml/outliner/outlinetree.cpp. -

      void TQDomNode::normalize () [virtual] -

      -Calling normalize() on an element converts all its children into a -standard form. This means that adjacent TQDomText objects will be -merged into a single text object (TQDomCDATASection nodes are not -merged). - -

      bool TQDomNode::operator!= ( const TQDomNode & n ) const -

      -Returns TRUE if n and this DOM node are not equal; otherwise -returns FALSE. - -

      TQDomNode & TQDomNode::operator= ( const TQDomNode & n ) -

      -Assigns a copy of n to this DOM node. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      bool TQDomNode::operator== ( const TQDomNode & n ) const -

      -Returns TRUE if n and this DOM node are equal; otherwise -returns FALSE. - -

      TQDomDocument TQDomNode::ownerDocument () const [virtual] -

      -Returns the document to which this node belongs. - -

      TQDomNode TQDomNode::parentNode () const [virtual] -

      -Returns the parent node. If this node has no parent, a null node -is returned (i.e. a node for which isNull() returns TRUE). - -

      TQString TQDomNode::prefix () const [virtual] -

      -Returns the namespace prefix of the node or TQString::null if the -node has no namespace prefix. -

      Only nodes of type ElementNode or -AttributeNode can have -namespaces. A namespace prefix must be specified at creation time. -If a node was created with a namespace prefix, you can change it -later with setPrefix(). -

      If you create an element or attribute with -TQDomDocument::createElement() or TQDomDocument::createAttribute(), -the prefix will be TQString::null. If you use -TQDomDocument::createElementNS() or -TQDomDocument::createAttributeNS() instead, the prefix will not be -TQString::null; but it might be an empty string if the name does -not have a prefix. -

      See also setPrefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). - -

      TQDomNode TQDomNode::previousSibling () const [virtual] -

      -Returns the previous sibling in the document tree. Changing the -returned node will also change the node in the document tree. -

      For example, if you have XML like this: -

      -    <h1>Heading</h1>
      -    <p>The text...</p>
      -    <h2>Next heading</h2>
      -    
      - -and this TQDomNode represents the <p> tag, previousSibling() -will return the node representing the <h1> tag. -

      See also nextSibling(). - -

      TQDomNode TQDomNode::removeChild ( const TQDomNode & oldChild ) [virtual] -

      -Removes oldChild from the list of children. oldChild must be -a direct child of this node. -

      Returns a new reference to oldChild on success or a null node on failure. -

      See also insertBefore(), insertAfter(), replaceChild(), and appendChild(). - -

      TQDomNode TQDomNode::replaceChild ( const TQDomNode & newChild, const TQDomNode & oldChild ) [virtual] -

      -Replaces oldChild with newChild. oldChild must be a -direct child of this node. -

      If newChild is the child of another node, it is reparented to -this node. If newChild is a child of this node, then its -position in the list of children is changed. -

      If newChild is a TQDomDocumentFragment, then oldChild is -replaced by all of the children of the fragment. -

      Returns a new reference to oldChild on success or a null node an failure. -

      See also insertBefore(), insertAfter(), removeChild(), and appendChild(). - -

      void TQDomNode::save ( TQTextStream & str, int indent ) const -

      -Writes the XML representation of the node and all its children to -the stream str. This function uses indent as the amount of -space to indent the node. - -

      void TQDomNode::setNodeValue ( const TQString & v ) [virtual] -

      -Sets the node's value to v. -

      See also nodeValue(). - -

      void TQDomNode::setPrefix ( const TQString & pre ) [virtual] -

      -If the node has a namespace prefix, this function changes the -namespace prefix of the node to pre. Otherwise this function -does nothing. -

      Only nodes of type ElementNode or -AttributeNode can have -namespaces. A namespace prefix must have be specified at creation -time; it is not possible to add a namespace prefix afterwards. -

      See also prefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). - -

      TQDomAttr TQDomNode::toAttr () -

      -Converts a TQDomNode into a TQDomAttr. If the node is not an -attribute, the returned object will be null. -

      See also isAttr(). - -

      TQDomCDATASection TQDomNode::toCDATASection () -

      -Converts a TQDomNode into a TQDomCDATASection. If the node is not a -CDATA section, the returned object will be null. -

      See also isCDATASection(). - -

      TQDomCharacterData TQDomNode::toCharacterData () -

      -Converts a TQDomNode into a TQDomCharacterData. If the node is not a -character data node the returned object will be null. -

      See also isCharacterData(). - -

      TQDomComment TQDomNode::toComment () -

      -Converts a TQDomNode into a TQDomComment. If the node is not a -comment the returned object will be null. -

      See also isComment(). - -

      TQDomDocument TQDomNode::toDocument () -

      -Converts a TQDomNode into a TQDomDocument. If the node is not a -document the returned object will be null. -

      See also isDocument(). - -

      TQDomDocumentFragment TQDomNode::toDocumentFragment () -

      -Converts a TQDomNode into a TQDomDocumentFragment. If the node is -not a document fragment the returned object will be null. -

      See also isDocumentFragment(). - -

      TQDomDocumentType TQDomNode::toDocumentType () -

      -Converts a TQDomNode into a TQDomDocumentType. If the node is not a -document type the returned object will be null. -

      See also isDocumentType(). - -

      TQDomElement TQDomNode::toElement () -

      -Converts a TQDomNode into a TQDomElement. If the node is not an -element the returned object will be null. -

      See also isElement(). - -

      Example: xml/outliner/outlinetree.cpp. -

      TQDomEntity TQDomNode::toEntity () -

      -Converts a TQDomNode into a TQDomEntity. If the node is not an -entity the returned object will be null. -

      See also isEntity(). - -

      TQDomEntityReference TQDomNode::toEntityReference () -

      -Converts a TQDomNode into a TQDomEntityReference. If the node is not -an entity reference, the returned object will be null. -

      See also isEntityReference(). - -

      TQDomNotation TQDomNode::toNotation () -

      -Converts a TQDomNode into a TQDomNotation. If the node is not a -notation the returned object will be null. -

      See also isNotation(). - -

      TQDomProcessingInstruction TQDomNode::toProcessingInstruction () -

      -Converts a TQDomNode into a TQDomProcessingInstruction. If the node -is not a processing instruction the returned object will be null. -

      See also isProcessingInstruction(). - -

      TQDomText TQDomNode::toText () -

      -Converts a TQDomNode into a TQDomText. If the node is not a text, -the returned object will be null. -

      See also isText(). - -


      Related Functions

      -

      TQTextStream & operator<< ( TQTextStream & str, const TQDomNode & node ) -

      - -

      Writes the XML representation of the node node and all its -children to the stream str. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnodelist-members.html b/doc/html/qdomnodelist-members.html deleted file mode 100644 index db2207d4c..000000000 --- a/doc/html/qdomnodelist-members.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - -TQDomNodeList Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomNodeList

      - -

      This is the complete list of member functions for -TQDomNodeList, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnodelist.html b/doc/html/qdomnodelist.html deleted file mode 100644 index fc0f1990b..000000000 --- a/doc/html/qdomnodelist.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -TQDomNodeList Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomNodeList Class Reference
      [XML module]

      - -

      The TQDomNodeList class is a list of TQDomNode objects. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomNodeList class is a list of TQDomNode objects. - -

      - -

      Lists can be obtained by TQDomDocument::elementsByTagName() and -TQDomNode::childNodes(). The Document Object Model (DOM) requires -these lists to be "live": whenever you change the underlying -document, the contents of the list will get updated. -

      You can get a particular node from the list with item(). The -number of items in the list is returned by count() (and by -length()). -

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general -introduction of the DOM implementation see the TQDomDocument -documentation. -

      See also TQDomNode::childNodes(), TQDomDocument::elementsByTagName(), and XML. - -


      Member Function Documentation

      -

      TQDomNodeList::TQDomNodeList () -

      -Creates an empty node list. - -

      TQDomNodeList::TQDomNodeList ( const TQDomNodeList & n ) -

      -Constructs a copy of n. - -

      TQDomNodeList::~TQDomNodeList () [virtual] -

      -Destroys the object and frees its resources. - -

      uint TQDomNodeList::count () const -

      - -

      Returns the number of nodes in the list. -

      This function is the same as length(). - -

      TQDomNode TQDomNodeList::item ( int index ) const [virtual] -

      -Returns the node at position index. -

      If index is negative or if index >= length() then a null -node is returned (i.e. a node for which TQDomNode::isNull() returns -TRUE). -

      See also count(). - -

      uint TQDomNodeList::length () const [virtual] -

      -Returns the number of nodes in the list. -

      This function is the same as count(). - -

      bool TQDomNodeList::operator!= ( const TQDomNodeList & n ) const -

      -Returns TRUE the node list n and this node list are not equal; -otherwise returns FALSE. - -

      TQDomNodeList & TQDomNodeList::operator= ( const TQDomNodeList & n ) -

      -Assigns n to this node list. - -

      bool TQDomNodeList::operator== ( const TQDomNodeList & n ) const -

      -Returns TRUE if the node list n and this node list are equal; -otherwise returns FALSE. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnotation-members.html b/doc/html/qdomnotation-members.html deleted file mode 100644 index 616e68e7c..000000000 --- a/doc/html/qdomnotation-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - -TQDomNotation Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomNotation

      - -

      This is the complete list of member functions for -TQDomNotation, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomnotation.html b/doc/html/qdomnotation.html deleted file mode 100644 index d1b0f665c..000000000 --- a/doc/html/qdomnotation.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - -TQDomNotation Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomNotation Class Reference
      [XML module]

      - -

      The TQDomNotation class represents an XML notation. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomNotation class represents an XML notation. - -

      - -

      A notation either declares, by name, the format of an unparsed -entity (see section 4.7 of the XML 1.0 specification), or is used -for formal declaration of processing instruction targets (see -section 2.6 of the XML 1.0 specification). -

      DOM does not support editing notation nodes; they are therefore -read-only. -

      A notation node does not have any parent. -

      You can retrieve the publicId() and systemId() from a notation -node. -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomNotation::TQDomNotation () -

      -Constructor. - -

      TQDomNotation::TQDomNotation ( const TQDomNotation & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomNotation::~TQDomNotation () -

      -Destroys the object and frees its resources. - -

      bool TQDomNotation::isNotation () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomNotation::nodeType () const [virtual] -

      -Returns NotationNode. - -

      Reimplemented from TQDomNode. -

      TQDomNotation & TQDomNotation::operator= ( const TQDomNotation & x ) -

      -Assigns x to this DOM notation. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQString TQDomNotation::publicId () const -

      -Returns the public identifier of this notation. - -

      TQString TQDomNotation::systemId () const -

      -Returns the system identifier of this notation. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomprocessinginstruction-members.html b/doc/html/qdomprocessinginstruction-members.html deleted file mode 100644 index fd824462d..000000000 --- a/doc/html/qdomprocessinginstruction-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -TQDomProcessingInstruction Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomProcessingInstruction

      - -

      This is the complete list of member functions for -TQDomProcessingInstruction, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomprocessinginstruction.html b/doc/html/qdomprocessinginstruction.html deleted file mode 100644 index fa5686bd4..000000000 --- a/doc/html/qdomprocessinginstruction.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -TQDomProcessingInstruction Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomProcessingInstruction Class Reference
      [XML module]

      - -

      The TQDomProcessingInstruction class represents an XML processing -instruction. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomNode. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomProcessingInstruction class represents an XML processing -instruction. - -

      - -

      Processing instructions are used in XML to keep processor-specific -information in the text of the document. -

      The content of the processing instruction is retrieved with data() -and set with setData(). The processing instruction's target is -retrieved with target(). -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomProcessingInstruction::TQDomProcessingInstruction () -

      -Constructs an empty processing instruction. Use -TQDomDocument::createProcessingInstruction() to create a processing -instruction with content. - -

      TQDomProcessingInstruction::TQDomProcessingInstruction ( const TQDomProcessingInstruction & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomProcessingInstruction::~TQDomProcessingInstruction () -

      -Destroys the object and frees its resources. - -

      TQString TQDomProcessingInstruction::data () const [virtual] -

      -Returns the content of this processing instruction. -

      See also setData() and target(). - -

      bool TQDomProcessingInstruction::isProcessingInstruction () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomProcessingInstruction::nodeType () const [virtual] -

      -Returns ProcessingInstructionNode. - -

      Reimplemented from TQDomNode. -

      TQDomProcessingInstruction & TQDomProcessingInstruction::operator= ( const TQDomProcessingInstruction & x ) -

      -Assigns x to this processing instruction. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      void TQDomProcessingInstruction::setData ( const TQString & d ) [virtual] -

      -Sets the data contained in the processing instruction to d. -

      See also data(). - -

      TQString TQDomProcessingInstruction::target () const [virtual] -

      -Returns the target of this processing instruction. -

      See also data(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomtext-members.html b/doc/html/qdomtext-members.html deleted file mode 100644 index f2bc12e5c..000000000 --- a/doc/html/qdomtext-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -TQDomText Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDomText

      - -

      This is the complete list of member functions for -TQDomText, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdomtext.html b/doc/html/qdomtext.html deleted file mode 100644 index 0681fe57b..000000000 --- a/doc/html/qdomtext.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - -TQDomText Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQDomText Class Reference
      [XML module]

      - -

      The TQDomText class represents text data in the parsed XML document. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqdom.h> -

      Inherits TQDomCharacterData. -

      Inherited by TQDomCDATASection. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQDomText class represents text data in the parsed XML document. - -

      - -

      You can split the text in a TQDomText object over two TQDomText -objecs with splitText(). -

      For further information about the Document Object Model see -http://www.w3.org/TR/REC-DOM-Level-1/ and -http://www.w3.org/TR/DOM-Level-2-Core/. -For a more general introduction of the DOM implementation see the -TQDomDocument documentation. -

      See also XML. - -


      Member Function Documentation

      -

      TQDomText::TQDomText () -

      -Constructs an empty TQDomText object. -

      To construct a TQDomText with content, use TQDomDocument::createTextNode(). - -

      TQDomText::TQDomText ( const TQDomText & x ) -

      -Constructs a copy of x. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomText::~TQDomText () -

      -Destroys the object and frees its resources. - -

      bool TQDomText::isText () const [virtual] -

      -Returns TRUE. - -

      Reimplemented from TQDomNode. -

      TQDomNode::NodeType TQDomText::nodeType () const [virtual] -

      -Returns TextNode. - -

      Reimplemented from TQDomCharacterData. -

      Reimplemented in TQDomCDATASection. -

      TQDomText & TQDomText::operator= ( const TQDomText & x ) -

      -Assigns x to this DOM text. -

      The data of the copy is shared (shallow copy): modifying one node -will also change the other. If you want to make a deep copy, use -cloneNode(). - -

      TQDomText TQDomText::splitText ( int offset ) -

      -Splits this DOM text object into two TQDomText objects. This object -keeps its first offset characters and the second (newly -created) object is inserted into the document tree after this -object with the remaining characters. -

      The function returns the newly created object. -

      See also TQDomNode::normalize(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 3920da97e..e6fd2c03e 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -2044,300 +2044,300 @@
      -
      - QDomAttr - isAttr - name - nodeType - operator= - ownerElement - setValue - specified - value - ~QDomAttr -
      -
      -
      -
      - QDomCDATASection - isCDATASection - nodeType - operator= - ~QDomCDATASection -
      -
      -
      -
      - QDomCharacterData - appendData - data - deleteData - insertData - isCharacterData - length - nodeType - operator= - replaceData - setData - substringData - ~QDomCharacterData -
      -
      -
      -
      - QDomComment - isComment - nodeType - operator= - ~QDomComment -
      -
      -
      -
      - QDomDocument - createAttribute - createAttributeNS - createCDATASection - createComment - createDocumentFragment - createElement - createElementNS - createEntityReference - createProcessingInstruction - createTextNode - doctype - documentElement - elementById - elementsByTagName - elementsByTagNameNS - implementation - importNode - isDocument - nodeType - operator= - setContent - toCString - toString - ~QDomDocument -
      -
      -
      -
      - QDomDocumentFragment - isDocumentFragment - nodeType - operator= - ~QDomDocumentFragment -
      -
      -
      -
      - QDomDocumentType - entities - internalSubset - isDocumentType - name - nodeType - notations - operator= - publicId - systemId - ~QDomDocumentType -
      -
      -
      -
      - QDomElement - attribute - attributeNS - attributeNode - attributeNodeNS - attributes - elementsByTagName - elementsByTagNameNS - hasAttribute - hasAttributeNS - isElement - nodeType - operator= - removeAttribute - removeAttributeNS - removeAttributeNode - setAttribute - setAttributeNS - setAttributeNode - setAttributeNodeNS - setTagName - tagName - text - ~QDomElement -
      -
      -
      -
      - QDomEntity - isEntity - nodeType - notationName - operator= - publicId - systemId - ~QDomEntity -
      -
      -
      -
      - QDomEntityReference - isEntityReference - nodeType - operator= - ~QDomEntityReference -
      -
      -
      -
      - QDomImplementation - createDocument - createDocumentType - hasFeature - isNull - operator!= - operator= - operator== - ~QDomImplementation -
      -
      -
      -
      - QDomNamedNodeMap - contains - count - item - length - namedItem - namedItemNS - operator!= - operator= - operator== - removeNamedItem - removeNamedItemNS - setNamedItem - setNamedItemNS - ~QDomNamedNodeMap -
      -
      -
      -
      - QDomNode - NodeType - appendChild - attributes - childNodes - clear - cloneNode - firstChild - hasAttributes - hasChildNodes - insertAfter - insertBefore - isAttr - isCDATASection - isCharacterData - isComment - isDocument - isDocumentFragment - isDocumentType - isElement - isEntity - isEntityReference - isNotation - isNull - isProcessingInstruction - isSupported - isText - lastChild - localName - namedItem - namespaceURI - nextSibling - nodeName - nodeType - nodeValue - normalize - operator!= - operator= - operator== - ownerDocument - parentNode - prefix - previousSibling - removeChild - replaceChild - save - setNodeValue - setPrefix - toAttr - toCDATASection - toCharacterData - toComment - toDocument - toDocumentFragment - toDocumentType - toElement - toEntity - toEntityReference - toNotation - toProcessingInstruction - toText - ~QDomNode - operator<< -
      -
      -
      -
      - QDomNodeList - count - item - length - operator!= - operator= - operator== - ~QDomNodeList -
      -
      -
      -
      - QDomNotation - isNotation - nodeType - operator= - publicId - systemId - ~QDomNotation -
      -
      -
      -
      - QDomProcessingInstruction - data - isProcessingInstruction - nodeType - operator= - setData - target - ~QDomProcessingInstruction -
      -
      -
      -
      - QDomText - isText - nodeType - operator= - splitText - ~QDomText -
      -
      +
      + TQDomAttr + isAttr + name + nodeType + operator= + ownerElement + setValue + specified + value + ~TQDomAttr +
      +
      +
      +
      + TQDomCDATASection + isCDATASection + nodeType + operator= + ~TQDomCDATASection +
      +
      +
      +
      + TQDomCharacterData + appendData + data + deleteData + insertData + isCharacterData + length + nodeType + operator= + replaceData + setData + substringData + ~TQDomCharacterData +
      +
      +
      +
      + TQDomComment + isComment + nodeType + operator= + ~TQDomComment +
      +
      +
      +
      + TQDomDocument + createAttribute + createAttributeNS + createCDATASection + createComment + createDocumentFragment + createElement + createElementNS + createEntityReference + createProcessingInstruction + createTextNode + doctype + documentElement + elementById + elementsByTagName + elementsByTagNameNS + implementation + importNode + isDocument + nodeType + operator= + setContent + toCString + toString + ~TQDomDocument +
      +
      +
      +
      + TQDomDocumentFragment + isDocumentFragment + nodeType + operator= + ~TQDomDocumentFragment +
      +
      +
      +
      + TQDomDocumentType + entities + internalSubset + isDocumentType + name + nodeType + notations + operator= + publicId + systemId + ~TQDomDocumentType +
      +
      +
      +
      + TQDomElement + attribute + attributeNS + attributeNode + attributeNodeNS + attributes + elementsByTagName + elementsByTagNameNS + hasAttribute + hasAttributeNS + isElement + nodeType + operator= + removeAttribute + removeAttributeNS + removeAttributeNode + setAttribute + setAttributeNS + setAttributeNode + setAttributeNodeNS + setTagName + tagName + text + ~TQDomElement +
      +
      +
      +
      + TQDomEntity + isEntity + nodeType + notationName + operator= + publicId + systemId + ~TQDomEntity +
      +
      +
      +
      + TQDomEntityReference + isEntityReference + nodeType + operator= + ~TQDomEntityReference +
      +
      +
      +
      + TQDomImplementation + createDocument + createDocumentType + hasFeature + isNull + operator!= + operator= + operator== + ~TQDomImplementation +
      +
      +
      +
      + TQDomNamedNodeMap + contains + count + item + length + namedItem + namedItemNS + operator!= + operator= + operator== + removeNamedItem + removeNamedItemNS + setNamedItem + setNamedItemNS + ~TQDomNamedNodeMap +
      +
      +
      +
      + TQDomNode + NodeType + appendChild + attributes + childNodes + clear + cloneNode + firstChild + hasAttributes + hasChildNodes + insertAfter + insertBefore + isAttr + isCDATASection + isCharacterData + isComment + isDocument + isDocumentFragment + isDocumentType + isElement + isEntity + isEntityReference + isNotation + isNull + isProcessingInstruction + isSupported + isText + lastChild + localName + namedItem + namespaceURI + nextSibling + nodeName + nodeType + nodeValue + normalize + operator!= + operator= + operator== + ownerDocument + parentNode + prefix + previousSibling + removeChild + replaceChild + save + setNodeValue + setPrefix + toAttr + toCDATASection + toCharacterData + toComment + toDocument + toDocumentFragment + toDocumentType + toElement + toEntity + toEntityReference + toNotation + toProcessingInstruction + toText + ~TQDomNode + operator<< +
      +
      +
      +
      + TQDomNodeList + count + item + length + operator!= + operator= + operator== + ~TQDomNodeList +
      +
      +
      +
      + TQDomNotation + isNotation + nodeType + operator= + publicId + systemId + ~TQDomNotation +
      +
      +
      +
      + TQDomProcessingInstruction + data + isProcessingInstruction + nodeType + operator= + setData + target + ~TQDomProcessingInstruction +
      +
      +
      +
      + TQDomText + isText + nodeType + operator= + splitText + ~TQDomText +
      +
      QDoubleValidator @@ -9452,168 +9452,168 @@
      -
      - QXmlAttributes - append - clear - count - index - length - localName - qName - type - uri - value - ~QXmlAttributes -
      -
      -
      -
      - QXmlContentHandler - characters - endDocument - endElement - endPrefixMapping - errorString - ignorableWhitespace - processingInstruction - setDocumentLocator - skippedEntity - startDocument - startElement - startPrefixMapping -
      -
      -
      -
      - QXmlDeclHandler - attributeDecl - errorString - externalEntityDecl - internalEntityDecl -
      -
      -
      -
      - QXmlDefaultHandler - ~QXmlDefaultHandler -
      -
      -
      -
      - QXmlDTDHandler - errorString - notationDecl - unparsedEntityDecl -
      -
      -
      -
      - QXmlEntityResolver - errorString - resolveEntity -
      -
      -
      -
      - QXmlErrorHandler - error - errorString - fatalError - warning -
      -
      -
      -
      - QXmlInputSource - data - fetchData - fromRawData - next - reset - setData - ~QXmlInputSource -
      -
      -
      -
      - QXmlLexicalHandler - comment - endCDATA - endDTD - endEntity - errorString - startCDATA - startDTD - startEntity -
      -
      -
      -
      - QXmlLocator - columnNumber - lineNumber - ~QXmlLocator -
      -
      -
      -
      - QXmlNamespaceSupport - popContext - prefix - prefixes - processName - pushContext - reset - setPrefix - splitName - uri - ~QXmlNamespaceSupport -
      -
      -
      -
      - QXmlParseException - columnNumber - lineNumber - message - publicId - systemId -
      -
      -
      -
      - QXmlReader - DTDHandler - contentHandler - declHandler - entityResolver - errorHandler - feature - hasFeature - hasProperty - lexicalHandler - parse - property - setContentHandler - setDTDHandler - setDeclHandler - setEntityResolver - setErrorHandler - setFeature - setLexicalHandler - setProperty -
      -
      -
      -
      - QXmlSimpleReader - parse - parseContinue - setFeature - ~QXmlSimpleReader -
      -
      +
      + TQXmlAttributes + append + clear + count + index + length + localName + qName + type + uri + value + ~TQXmlAttributes +
      +
      +
      +
      + TQXmlContentHandler + characters + endDocument + endElement + endPrefixMapping + errorString + ignorableWhitespace + processingInstruction + setDocumentLocator + skippedEntity + startDocument + startElement + startPrefixMapping +
      +
      +
      +
      + TQXmlDeclHandler + attributeDecl + errorString + externalEntityDecl + internalEntityDecl +
      +
      +
      +
      + TQXmlDefaultHandler + ~TQXmlDefaultHandler +
      +
      +
      +
      + TQXmlDTDHandler + errorString + notationDecl + unparsedEntityDecl +
      +
      +
      +
      + TQXmlEntityResolver + errorString + resolveEntity +
      +
      +
      +
      + TQXmlErrorHandler + error + errorString + fatalError + warning +
      +
      +
      +
      + TQXmlInputSource + data + fetchData + fromRawData + next + reset + setData + ~TQXmlInputSource +
      +
      +
      +
      + TQXmlLexicalHandler + comment + endCDATA + endDTD + endEntity + errorString + startCDATA + startDTD + startEntity +
      +
      +
      +
      + TQXmlLocator + columnNumber + lineNumber + ~TQXmlLocator +
      +
      +
      +
      + TQXmlNamespaceSupport + popContext + prefix + prefixes + processName + pushContext + reset + setPrefix + splitName + uri + ~TQXmlNamespaceSupport +
      +
      +
      +
      + TQXmlParseException + columnNumber + lineNumber + message + publicId + systemId +
      +
      +
      +
      + TQXmlReader + DTDHandler + contentHandler + declHandler + entityResolver + errorHandler + feature + hasFeature + hasProperty + lexicalHandler + parse + property + setContentHandler + setDTDHandler + setDeclHandler + setEntityResolver + setErrorHandler + setFeature + setLexicalHandler + setProperty +
      +
      +
      +
      + TQXmlSimpleReader + parse + parseContinue + setFeature + ~TQXmlSimpleReader +
      +
      isActiveWindow diff --git a/doc/html/qxml-h.html b/doc/html/qxml-h.html deleted file mode 100644 index ec1d10935..000000000 --- a/doc/html/qxml-h.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - - -ntqxml.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqxml.h

      - -

      This is the verbatim text of the ntqxml.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqxml.h   3.3.8   edited Jan 11 14:39 $
      -**
      -** Definition of TQXmlSimpleReader and related classes.
      -**
      -** Created : 000518
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the xml module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQXML_H
      -#define TQXML_H
      -
      -#ifndef QT_H
      -#include "ntqtextstream.h"
      -#include "ntqfile.h"
      -#include "ntqstring.h"
      -#include "ntqstringlist.h"
      -#include "ntqvaluevector.h"
      -#endif // QT_H
      -
      -#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
      -#define TQM_EXPORT_XML
      -#else
      -#define TQM_EXPORT_XML TQ_EXPORT
      -#endif
      -
      -#ifndef TQT_NO_XML
      -
      -class TQXmlNamespaceSupport;
      -class TQXmlAttributes;
      -class TQXmlContentHandler;
      -class TQXmlDefaultHandler;
      -class TQXmlDTDHandler;
      -class TQXmlEntityResolver;
      -class TQXmlErrorHandler;
      -class TQXmlLexicalHandler;
      -class TQXmlDeclHandler;
      -class TQXmlInputSource;
      -class TQXmlLocator;
      -class TQXmlNamespaceSupport;
      -class TQXmlParseException;
      -
      -class TQXmlReader;
      -class TQXmlSimpleReader;
      -
      -class TQXmlSimpleReaderPrivate;
      -class TQXmlNamespaceSupportPrivate;
      -class TQXmlAttributesPrivate;
      -class TQXmlInputSourcePrivate;
      -class TQXmlParseExceptionPrivate;
      -class TQXmlLocatorPrivate;
      -class TQXmlDefaultHandlerPrivate;
      -
      -
      -//
      -// SAX Namespace Support
      -//
      -
      -class TQM_EXPORT_XML TQXmlNamespaceSupport
      -{
      -public:
      -    TQXmlNamespaceSupport();
      -    ~TQXmlNamespaceSupport();
      -
      -    void setPrefix( const TQString&, const TQString& );
      -
      -    TQString prefix( const TQString& ) const;
      -    TQString uri( const TQString& ) const;
      -    void splitName( const TQString&, TQString&, TQString& ) const;
      -    void processName( const TQString&, bool, TQString&, TQString& ) const;
      -    TQStringList prefixes() const;
      -    TQStringList prefixes( const TQString& ) const;
      -
      -    void pushContext();
      -    void popContext();
      -    void reset();
      -
      -private:
      -    TQXmlNamespaceSupportPrivate *d;
      -
      -    friend class TQXmlSimpleReader;
      -};
      -
      -
      -//
      -// SAX Attributes
      -//
      -
      -class TQM_EXPORT_XML TQXmlAttributes
      -{
      -public:
      -    TQXmlAttributes() {}
      -    virtual ~TQXmlAttributes() {}
      -
      -    int index( const TQString& qName ) const;
      -    int index( const TQString& uri, const TQString& localPart ) const;
      -    int length() const;
      -    int count() const;
      -    TQString localName( int index ) const;
      -    TQString qName( int index ) const;
      -    TQString uri( int index ) const;
      -    TQString type( int index ) const;
      -    TQString type( const TQString& qName ) const;
      -    TQString type( const TQString& uri, const TQString& localName ) const;
      -    TQString value( int index ) const;
      -    TQString value( const TQString& qName ) const;
      -    TQString value( const TQString& uri, const TQString& localName ) const;
      -
      -    void clear();
      -    void append( const TQString &qName, const TQString &uri, const TQString &localPart, const TQString &value );
      -
      -private:
      -    TQStringList qnameList;
      -    TQStringList uriList;
      -    TQStringList localnameList;
      -    TQStringList valueList;
      -
      -    TQXmlAttributesPrivate *d;
      -};
      -
      -//
      -// SAX Input Source
      -//
      -
      -class TQM_EXPORT_XML TQXmlInputSource
      -{
      -public:
      -    TQXmlInputSource();
      -    TQXmlInputSource( TQIODevice *dev );
      -    TQXmlInputSource( TQFile& file ); // obsolete
      -    TQXmlInputSource( TQTextStream& stream ); // obsolete
      -    virtual ~TQXmlInputSource();
      -
      -    virtual void setData( const TQString& dat );
      -    virtual void setData( const TQByteArray& dat );
      -    virtual void fetchData();
      -    virtual TQString data();
      -    virtual TQChar next();
      -    virtual void reset();
      -
      -    static const TQChar EndOfData;
      -    static const TQChar EndOfDocument;
      -
      -protected:
      -    virtual TQString fromRawData( const TQByteArray &data, bool beginning = FALSE );
      -
      -private:
      -    void init();
      -
      -    TQIODevice *inputDevice;
      -    TQTextStream *inputStream;
      -
      -    TQString str;
      -    const TQChar *unicode;
      -    int pos;
      -    int length;
      -    bool nextReturnedEndOfData;
      -    TQTextDecoder *encMapper;
      -
      -    TQXmlInputSourcePrivate *d;
      -};
      -
      -//
      -// SAX Exception Classes
      -//
      -
      -class TQM_EXPORT_XML TQXmlParseException
      -{
      -public:
      -    TQXmlParseException( const TQString& name="", int c=-1, int l=-1, const TQString& p="", const TQString& s="" )
      -	: msg( name ), column( c ), line( l ), pub( p ), sys( s )
      -    { }
      -
      -    int columnNumber() const;
      -    int lineNumber() const;
      -    TQString publicId() const;
      -    TQString systemId() const;
      -    TQString message() const;
      -
      -private:
      -    TQString msg;
      -    int column;
      -    int line;
      -    TQString pub;
      -    TQString sys;
      -
      -    TQXmlParseExceptionPrivate *d;
      -};
      -
      -
      -//
      -// XML Reader
      -//
      -
      -class TQM_EXPORT_XML TQXmlReader
      -{
      -public:
      -    virtual bool feature( const TQString& name, bool *ok = 0 ) const = 0;
      -    virtual void setFeature( const TQString& name, bool value ) = 0;
      -    virtual bool hasFeature( const TQString& name ) const = 0;
      -    virtual void* property( const TQString& name, bool *ok = 0 ) const = 0;
      -    virtual void setProperty( const TQString& name, void* value ) = 0;
      -    virtual bool hasProperty( const TQString& name ) const = 0;
      -    virtual void setEntityResolver( TQXmlEntityResolver* handler ) = 0;
      -    virtual TQXmlEntityResolver* entityResolver() const = 0;
      -    virtual void setDTDHandler( TQXmlDTDHandler* handler ) = 0;
      -    virtual TQXmlDTDHandler* DTDHandler() const = 0;
      -    virtual void setContentHandler( TQXmlContentHandler* handler ) = 0;
      -    virtual TQXmlContentHandler* contentHandler() const = 0;
      -    virtual void setErrorHandler( TQXmlErrorHandler* handler ) = 0;
      -    virtual TQXmlErrorHandler* errorHandler() const = 0;
      -    virtual void setLexicalHandler( TQXmlLexicalHandler* handler ) = 0;
      -    virtual TQXmlLexicalHandler* lexicalHandler() const = 0;
      -    virtual void setDeclHandler( TQXmlDeclHandler* handler ) = 0;
      -    virtual TQXmlDeclHandler* declHandler() const = 0;
      -    virtual bool parse( const TQXmlInputSource& input ) = 0;
      -    virtual bool parse( const TQXmlInputSource* input ) = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlSimpleReader : public TQXmlReader
      -{
      -public:
      -    TQXmlSimpleReader();
      -    virtual ~TQXmlSimpleReader();
      -
      -    bool feature( const TQString& name, bool *ok = 0 ) const;
      -    void setFeature( const TQString& name, bool value );
      -    bool hasFeature( const TQString& name ) const;
      -
      -    void* property( const TQString& name, bool *ok = 0 ) const;
      -    void setProperty( const TQString& name, void* value );
      -    bool hasProperty( const TQString& name ) const;
      -
      -    void setEntityResolver( TQXmlEntityResolver* handler );
      -    TQXmlEntityResolver* entityResolver() const;
      -    void setDTDHandler( TQXmlDTDHandler* handler );
      -    TQXmlDTDHandler* DTDHandler() const;
      -    void setContentHandler( TQXmlContentHandler* handler );
      -    TQXmlContentHandler* contentHandler() const;
      -    void setErrorHandler( TQXmlErrorHandler* handler );
      -    TQXmlErrorHandler* errorHandler() const;
      -    void setLexicalHandler( TQXmlLexicalHandler* handler );
      -    TQXmlLexicalHandler* lexicalHandler() const;
      -    void setDeclHandler( TQXmlDeclHandler* handler );
      -    TQXmlDeclHandler* declHandler() const;
      -
      -    bool parse( const TQXmlInputSource& input );
      -    bool parse( const TQXmlInputSource* input );
      -    virtual bool parse( const TQXmlInputSource* input, bool incremental );
      -    virtual bool parseContinue();
      -
      -private:
      -    // variables
      -    TQXmlContentHandler *contentHnd;
      -    TQXmlErrorHandler   *errorHnd;
      -    TQXmlDTDHandler     *dtdHnd;
      -    TQXmlEntityResolver *entityRes;
      -    TQXmlLexicalHandler *lexicalHnd;
      -    TQXmlDeclHandler    *declHnd;
      -
      -    TQXmlInputSource *inputSource;
      -
      -    TQChar c; // the character at reading position
      -    int   lineNr; // number of line
      -    int   columnNr; // position in line
      -
      -    int     nameArrayPos;
      -    TQChar   nameArray[256]; // only used for names
      -    TQString nameValue; // only used for names
      -    int     refArrayPos;
      -    TQChar   refArray[256]; // only used for references
      -    TQString refValue; // only used for references
      -    int     stringArrayPos;
      -    TQChar   stringArray[256]; // used for any other strings that are parsed
      -    TQString stringValue; // used for any other strings that are parsed
      -
      -    TQXmlSimpleReaderPrivate* d;
      -
      -    const TQString &string();
      -    void stringClear();
      -    inline void stringAddC() { stringAddC(c); }
      -    void stringAddC(const TQChar&);
      -    const TQString& name();
      -    void nameClear();
      -    inline void nameAddC() { nameAddC(c); }
      -    void nameAddC(const TQChar&);
      -    const TQString& ref();
      -    void refClear();
      -    inline void refAddC() { refAddC(c); }
      -    void refAddC(const TQChar&);
      -
      -    // used by parseReference() and parsePEReference()
      -    enum EntityRecognitionContext { InContent, InAttributeValue, InEntityValue, InDTD };
      -
      -    // private functions
      -    bool eat_ws();
      -    bool next_eat_ws();
      -
      -    void next();
      -    bool atEnd();
      -
      -    void init( const TQXmlInputSource* i );
      -    void initData();
      -
      -    bool entityExist( const TQString& ) const;
      -
      -    bool parseBeginOrContinue( int state, bool incremental );
      -
      -    bool parseProlog();
      -    bool parseElement();
      -    bool processElementEmptyTag();
      -    bool processElementETagBegin2();
      -    bool processElementAttribute();
      -    bool parseMisc();
      -    bool parseContent();
      -
      -    bool parsePI();
      -    bool parseDoctype();
      -    bool parseComment();
      -
      -    bool parseName();
      -    bool parseNmtoken();
      -    bool parseAttribute();
      -    bool parseReference();
      -    bool processReference();
      -
      -    bool parseExternalID();
      -    bool parsePEReference();
      -    bool parseMarkupdecl();
      -    bool parseAttlistDecl();
      -    bool parseAttType();
      -    bool parseAttValue();
      -    bool parseElementDecl();
      -    bool parseNotationDecl();
      -    bool parseChoiceSeq();
      -    bool parseEntityDecl();
      -    bool parseEntityValue();
      -
      -    bool parseString();
      -
      -    bool insertXmlRef( const TQString&, const TQString&, bool );
      -
      -    bool reportEndEntities();
      -    void reportParseError( const TQString& error );
      -
      -    typedef bool (TQXmlSimpleReader::*ParseFunction) ();
      -    void unexpectedEof( ParseFunction where, int state );
      -    void parseFailed( ParseFunction where, int state );
      -    void pushParseState( ParseFunction function, int state );
      -
      -    void setUndefEntityInAttrHack(bool b);
      -
      -    friend class TQXmlSimpleReaderPrivate;
      -    friend class TQXmlSimpleReaderLocator;
      -    friend class TQDomDocumentPrivate;
      -};
      -
      -//
      -// SAX Locator
      -//
      -
      -class TQM_EXPORT_XML TQXmlLocator
      -{
      -public:
      -    TQXmlLocator();
      -    virtual ~TQXmlLocator();
      -
      -    virtual int columnNumber() = 0;
      -    virtual int lineNumber() = 0;
      -//    TQString getPublicId()
      -//    TQString getSystemId()
      -};
      -
      -//
      -// SAX handler classes
      -//
      -
      -class TQM_EXPORT_XML TQXmlContentHandler
      -{
      -public:
      -    virtual void setDocumentLocator( TQXmlLocator* locator ) = 0;
      -    virtual bool startDocument() = 0;
      -    virtual bool endDocument() = 0;
      -    virtual bool startPrefixMapping( const TQString& prefix, const TQString& uri ) = 0;
      -    virtual bool endPrefixMapping( const TQString& prefix ) = 0;
      -    virtual bool startElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName, const TQXmlAttributes& atts ) = 0;
      -    virtual bool endElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName ) = 0;
      -    virtual bool characters( const TQString& ch ) = 0;
      -    virtual bool ignorableWhitespace( const TQString& ch ) = 0;
      -    virtual bool processingInstruction( const TQString& target, const TQString& data ) = 0;
      -    virtual bool skippedEntity( const TQString& name ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlErrorHandler
      -{
      -public:
      -    virtual bool warning( const TQXmlParseException& exception ) = 0;
      -    virtual bool error( const TQXmlParseException& exception ) = 0;
      -    virtual bool fatalError( const TQXmlParseException& exception ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlDTDHandler
      -{
      -public:
      -    virtual bool notationDecl( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      -    virtual bool unparsedEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId, const TQString& notationName ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlEntityResolver
      -{
      -public:
      -    virtual bool resolveEntity( const TQString& publicId, const TQString& systemId, TQXmlInputSource*& ret ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlLexicalHandler
      -{
      -public:
      -    virtual bool startDTD( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      -    virtual bool endDTD() = 0;
      -    virtual bool startEntity( const TQString& name ) = 0;
      -    virtual bool endEntity( const TQString& name ) = 0;
      -    virtual bool startCDATA() = 0;
      -    virtual bool endCDATA() = 0;
      -    virtual bool comment( const TQString& ch ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -class TQM_EXPORT_XML TQXmlDeclHandler
      -{
      -public:
      -    virtual bool attributeDecl( const TQString& eName, const TQString& aName, const TQString& type, const TQString& valueDefault, const TQString& value ) = 0;
      -    virtual bool internalEntityDecl( const TQString& name, const TQString& value ) = 0;
      -    virtual bool externalEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      -    virtual TQString errorString() = 0;
      -};
      -
      -
      -class TQM_EXPORT_XML TQXmlDefaultHandler : public TQXmlContentHandler, public TQXmlErrorHandler, public TQXmlDTDHandler, public TQXmlEntityResolver, public TQXmlLexicalHandler, public TQXmlDeclHandler
      -{
      -public:
      -    TQXmlDefaultHandler() { }
      -    virtual ~TQXmlDefaultHandler() { }
      -
      -    void setDocumentLocator( TQXmlLocator* locator );
      -    bool startDocument();
      -    bool endDocument();
      -    bool startPrefixMapping( const TQString& prefix, const TQString& uri );
      -    bool endPrefixMapping( const TQString& prefix );
      -    bool startElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName, const TQXmlAttributes& atts );
      -    bool endElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName );
      -    bool characters( const TQString& ch );
      -    bool ignorableWhitespace( const TQString& ch );
      -    bool processingInstruction( const TQString& target, const TQString& data );
      -    bool skippedEntity( const TQString& name );
      -
      -    bool warning( const TQXmlParseException& exception );
      -    bool error( const TQXmlParseException& exception );
      -    bool fatalError( const TQXmlParseException& exception );
      -
      -    bool notationDecl( const TQString& name, const TQString& publicId, const TQString& systemId );
      -    bool unparsedEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId, const TQString& notationName );
      -
      -    bool resolveEntity( const TQString& publicId, const TQString& systemId, TQXmlInputSource*& ret );
      -
      -    bool startDTD( const TQString& name, const TQString& publicId, const TQString& systemId );
      -    bool endDTD();
      -    bool startEntity( const TQString& name );
      -    bool endEntity( const TQString& name );
      -    bool startCDATA();
      -    bool endCDATA();
      -    bool comment( const TQString& ch );
      -
      -    bool attributeDecl( const TQString& eName, const TQString& aName, const TQString& type, const TQString& valueDefault, const TQString& value );
      -    bool internalEntityDecl( const TQString& name, const TQString& value );
      -    bool externalEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId );
      -
      -    TQString errorString();
      -
      -private:
      -    TQXmlDefaultHandlerPrivate *d;
      -};
      -
      -
      -//
      -// inlines
      -//
      -
      -inline bool TQXmlSimpleReader::atEnd()
      -{ return (c.unicode()|0x0001) == 0xffff; }
      -inline int TQXmlAttributes::count() const
      -{ return length(); }
      -
      -
      -#endif //TQT_NO_XML
      -
      -#endif
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlattributes-members.html b/doc/html/qxmlattributes-members.html deleted file mode 100644 index 2a898ce1a..000000000 --- a/doc/html/qxmlattributes-members.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - -TQXmlAttributes Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlAttributes

      - -

      This is the complete list of member functions for -TQXmlAttributes, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlattributes.html b/doc/html/qxmlattributes.html deleted file mode 100644 index d1b7af6b7..000000000 --- a/doc/html/qxmlattributes.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - -TQXmlAttributes Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlAttributes Class Reference
      [XML module]

      - -

      The TQXmlAttributes class provides XML attributes. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      List of all member functions. -

      Public Members

      -
        -
      • TQXmlAttributes ()
      • -
      • virtual ~TQXmlAttributes ()
      • -
      • int index ( const TQString & qName ) const
      • -
      • int index ( const TQString & uri, const TQString & localPart ) const
      • -
      • int length () const
      • -
      • int count () const
      • -
      • TQString localName ( int index ) const
      • -
      • TQString qName ( int index ) const
      • -
      • TQString uri ( int index ) const
      • -
      • TQString type ( int index ) const
      • -
      • TQString type ( const TQString & qName ) const
      • -
      • TQString type ( const TQString & uri, const TQString & localName ) const
      • -
      • TQString value ( int index ) const
      • -
      • TQString value ( const TQString & qName ) const
      • -
      • TQString value ( const TQString & uri, const TQString & localName ) const
      • -
      • void clear ()
      • -
      • void append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )
      • -
      -

      Detailed Description

      - - - -The TQXmlAttributes class provides XML attributes. - -

      - -

      If attributes are reported by TQXmlContentHandler::startElement() -this class is used to pass the attribute values. -

      Use index() to locate the position of an attribute in the list, -count() to retrieve the number of attributes, and clear() to -remove the attributes. New attributes can be added with append(). -Use type() to get an attribute's type and value() to get its -value. The attribute's name is available from localName() or -qName(), and its namespace URI from uri(). -

      See also XML. - -


      Member Function Documentation

      -

      TQXmlAttributes::TQXmlAttributes () -

      - -

      Constructs an empty attribute list. - -

      TQXmlAttributes::~TQXmlAttributes () [virtual] -

      - -

      Destroys the attributes object. - -

      void TQXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value ) -

      -Appends a new attribute entry to the list of attributes. The -qualified name of the attribute is qName, the namespace URI is -uri and the local name is localPart. The value of the -attribute is value. -

      See also qName(), uri(), localName(), and value(). - -

      void TQXmlAttributes::clear () -

      -Clears the list of attributes. -

      See also append(). - -

      int TQXmlAttributes::count () const -

      - -

      Returns the number of attributes in the list. This function is -equivalent to length(). - -

      int TQXmlAttributes::index ( const TQString & qName ) const -

      -Looks up the index of an attribute by the qualified name qName. -

      Returns the index of the attribute or -1 if it wasn't found. -

      See also the namespace description. - -

      int TQXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Looks up the index of an attribute by a namespace name. -

      uri specifies the namespace URI, or an empty string if the name -has no namespace URI. localPart specifies the attribute's local -name. -

      Returns the index of the attribute, or -1 if it wasn't found. -

      See also the namespace description. - -

      int TQXmlAttributes::length () const -

      -Returns the number of attributes in the list. -

      See also count(). - -

      Example: xml/tagreader-with-features/structureparser.cpp. -

      TQString TQXmlAttributes::localName ( int index ) const -

      -Looks up an attribute's local name for the attribute at position -index. If no namespace processing is done, the local name is -TQString::null. -

      See also the namespace description. - -

      TQString TQXmlAttributes::qName ( int index ) const -

      -Looks up an attribute's XML 1.0 qualified name for the attribute -at position index. -

      See also the namespace description. - -

      Example: xml/tagreader-with-features/structureparser.cpp. -

      TQString TQXmlAttributes::type ( int index ) const -

      -Looks up an attribute's type for the attribute at position index. -

      Currently only "CDATA" is returned. - -

      TQString TQXmlAttributes::type ( const TQString & qName ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Looks up an attribute's type for the qualified name qName. -

      Currently only "CDATA" is returned. - -

      TQString TQXmlAttributes::type ( const TQString & uri, const TQString & localName ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Looks up an attribute's type by namespace name. -

      uri specifies the namespace URI and localName specifies the -local name. If the name has no namespace URI, use an empty string -for uri. -

      Currently only "CDATA" is returned. - -

      TQString TQXmlAttributes::uri ( int index ) const -

      -Looks up an attribute's namespace URI for the attribute at -position index. If no namespace processing is done or if the -attribute has no namespace, the namespace URI is TQString::null. -

      See also the namespace description. - -

      Example: xml/tagreader-with-features/structureparser.cpp. -

      TQString TQXmlAttributes::value ( int index ) const -

      -Looks up an attribute's value for the attribute at position index. - -

      TQString TQXmlAttributes::value ( const TQString & qName ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Looks up an attribute's value for the qualified name qName. -

      See also the namespace description. - -

      TQString TQXmlAttributes::value ( const TQString & uri, const TQString & localName ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Looks up an attribute's value by namespace name. -

      uri specifies the namespace URI, or an empty string if the name -has no namespace URI. localName specifies the attribute's local -name. -

      See also the namespace description. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlcontenthandler-members.html b/doc/html/qxmlcontenthandler-members.html deleted file mode 100644 index e43748ff6..000000000 --- a/doc/html/qxmlcontenthandler-members.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - -TQXmlContentHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlContentHandler

      - -

      This is the complete list of member functions for -TQXmlContentHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlcontenthandler.html b/doc/html/qxmlcontenthandler.html deleted file mode 100644 index 3aeec1313..000000000 --- a/doc/html/qxmlcontenthandler.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - -TQXmlContentHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlContentHandler Class Reference
      [XML module]

      - -

      The TQXmlContentHandler class provides an interface to -report the logical content of XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual void setDocumentLocator ( TQXmlLocator * locator ) = 0
      • -
      • virtual bool startDocument () = 0
      • -
      • virtual bool endDocument () = 0
      • -
      • virtual bool startPrefixMapping ( const TQString & prefix, const TQString & uri ) = 0
      • -
      • virtual bool endPrefixMapping ( const TQString & prefix ) = 0
      • -
      • virtual bool startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) = 0
      • -
      • virtual bool endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) = 0
      • -
      • virtual bool characters ( const TQString & ch ) = 0
      • -
      • virtual bool ignorableWhitespace ( const TQString & ch ) = 0
      • -
      • virtual bool processingInstruction ( const TQString & target, const TQString & data ) = 0
      • -
      • virtual bool skippedEntity ( const TQString & name ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlContentHandler class provides an interface to -report the logical content of XML data. - -

      - -

      If the application needs to be informed of basic parsing events, -it can implement this interface and activate it using -TQXmlReader::setContentHandler(). The reader can then report basic -document-related events like the start and end of elements and -character data through this interface. -

      The order of events in this interface is very important, and -mirrors the order of information in the document itself. For -example, all of an element's content (character data, processing -instructions, and sub-elements) appears, in order, between the -startElement() event and the corresponding endElement() event. -

      The class TQXmlDefaultHandler provides a default implementation for -this interface; subclassing from the TQXmlDefaultHandler class is -very convenient if you only want to be informed of some parsing -events. -

      The startDocument() function is called at the start of the -document, and endDocument() is called at the end. Before parsing -begins setDocumentLocator() is called. For each element -startElement() is called, with endElement() being called at the -end of each element. The characters() function is called with -chunks of character data; ignorableWhitespace() is called with -chunks of whitespace and processingInstruction() is called with -processing instructions. If an entity is skipped skippedEntity() -is called. At the beginning of prefix-URI scopes -startPrefixMapping() is called. -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      bool TQXmlContentHandler::characters ( const TQString & ch ) [pure virtual] -

      - -

      The reader calls this function when it has parsed a chunk of -character data (either normal character data or character data -inside a CDATA section; if you need to distinguish between those -two types you must use TQXmlLexicalHandler::startCDATA() and -TQXmlLexicalHandler::endCDATA()). The character data is reported in -ch. -

      Some readers report whitespace in element content using the -ignorableWhitespace() function rather than using this one. -

      A reader may report the character data of an element in more than -one chunk; e.g. a reader might want to report "a<b" in three -characters() events ("a ", "<" and " b"). -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlContentHandler::endDocument () [pure virtual] -

      - -

      The reader calls this function after it has finished parsing. It -is called just once, and is the last handler function called. It -is called after the reader has read all input or has abandoned -parsing because of a fatal error. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also startDocument(). - -

      bool TQXmlContentHandler::endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) [pure virtual] -

      - -

      The reader calls this function when it has parsed an end element -tag with the qualified name qName, the local name localName -and the namespace URI namespaceURI. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also the namespace description. -

      See also startElement(). - -

      Example: xml/tagreader/structureparser.cpp. -

      bool TQXmlContentHandler::endPrefixMapping ( const TQString & prefix ) [pure virtual] -

      - -

      The reader calls this function to signal the end of a prefix -mapping for the prefix prefix. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also the namespace description. -

      See also startPrefixMapping(). - -

      TQString TQXmlContentHandler::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string, e.g. if any -of the handler functions returns FALSE. - -

      bool TQXmlContentHandler::ignorableWhitespace ( const TQString & ch ) [pure virtual] -

      - -

      Some readers may use this function to report each chunk of -whitespace in element content. The whitespace is reported in ch. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlContentHandler::processingInstruction ( const TQString & target, const TQString & data ) [pure virtual] -

      - -

      The reader calls this function when it has parsed a processing -instruction. -

      target is the target name of the processing instruction and data is the data in the processing instruction. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      void TQXmlContentHandler::setDocumentLocator ( TQXmlLocator * locator ) [pure virtual] -

      - -

      The reader calls this function before it starts parsing the -document. The argument locator is a pointer to a TQXmlLocator -which allows the application to get the parsing position within -the document. -

      Do not destroy the locator; it is destroyed when the reader is -destroyed. (Do not use the locator after the reader is -destroyed). - -

      bool TQXmlContentHandler::skippedEntity ( const TQString & name ) [pure virtual] -

      - -

      Some readers may skip entities if they have not seen the -declarations (e.g. because they are in an external DTD). If they -do so they report that they skipped the entity called name by -calling this function. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlContentHandler::startDocument () [pure virtual] -

      - -

      The reader calls this function when it starts parsing the -document. The reader calls this function just once, after the call -to setDocumentLocator(), and before any other functions in this -class or in the TQXmlDTDHandler class are called. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also endDocument(). - -

      Example: xml/tagreader/structureparser.cpp. -

      bool TQXmlContentHandler::startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) [pure virtual] -

      - -

      The reader calls this function when it has parsed a start element -tag. -

      There is a corresponding endElement() call when the corresponding -end element tag is read. The startElement() and endElement() calls -are always nested correctly. Empty element tags (e.g. <x/>) -cause a startElement() call to be immediately followed by an -endElement() call. -

      The attribute list provided only contains attributes with explicit -values. The attribute list contains attributes used for namespace -declaration (i.e. attributes starting with xmlns) only if the -namespace-prefix property of the reader is TRUE. -

      The argument namespaceURI is the namespace URI, or -TQString::null if the element has no namespace URI or if no -namespace processing is done. localName is the local name -(without prefix), or TQString::null if no namespace processing is -done, qName is the qualified name (with prefix) and atts are -the attributes attached to the element. If there are no -attributes, atts is an empty attributes object. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also the namespace description. -

      See also endElement(). - -

      Example: xml/tagreader/structureparser.cpp. -

      bool TQXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri ) [pure virtual] -

      - -

      The reader calls this function to signal the begin of a prefix-URI -namespace mapping scope. This information is not necessary for -normal namespace processing since the reader automatically -replaces prefixes for element and attribute names. -

      Note that startPrefixMapping() and endPrefixMapping() calls are -not guaranteed to be properly nested relative to each other: all -startPrefixMapping() events occur before the corresponding -startElement() event, and all endPrefixMapping() events occur -after the corresponding endElement() event, but their order is not -otherwise guaranteed. -

      The argument prefix is the namespace prefix being declared and -the argument uri is the namespace URI the prefix is mapped to. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also the namespace description. -

      See also endPrefixMapping(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldeclhandler-members.html b/doc/html/qxmldeclhandler-members.html deleted file mode 100644 index 73383f910..000000000 --- a/doc/html/qxmldeclhandler-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQXmlDeclHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlDeclHandler

      - -

      This is the complete list of member functions for -TQXmlDeclHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldeclhandler.html b/doc/html/qxmldeclhandler.html deleted file mode 100644 index 30c44c4a5..000000000 --- a/doc/html/qxmldeclhandler.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -TQXmlDeclHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlDeclHandler Class Reference
      [XML module]

      - -

      The TQXmlDeclHandler class provides an interface to report declaration -content of XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value ) = 0
      • -
      • virtual bool internalEntityDecl ( const TQString & name, const TQString & value ) = 0
      • -
      • virtual bool externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlDeclHandler class provides an interface to report declaration -content of XML data. - -

      - -

      You can set the declaration handler with -TQXmlReader::setDeclHandler(). -

      This interface is based on the SAX2 extension DeclHandler. -

      The interface provides attributeDecl(), internalEntityDecl() and -externalEntityDecl() functions. -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      bool TQXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value ) [pure virtual] -

      - -

      The reader calls this function to report an attribute type -declaration. Only the effective (first) declaration for an -attribute is reported. -

      The reader passes the name of the associated element in eName -and the name of the attribute in aName. It passes a string that -represents the attribute type in type and a string that -represents the attribute default in valueDefault. This string -is one of "#IMPLIED", "#REQUIRED", "#FIXED" or TQString::null (if -none of the others applies). The reader passes the attribute's -default value in value. If no default value is specified in the -XML file, value is TQString::null. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      TQString TQXmlDeclHandler::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string if any of -the handler functions returns FALSE. - -

      bool TQXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] -

      - -

      The reader calls this function to report a parsed external entity -declaration. Only the effective (first) declaration for each -entity is reported. -

      The reader passes the name of the entity in name, the public -identifier in publicId and the system identifier in systemId. If there is no public identifier specified, it passes -TQString::null in publicId. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value ) [pure virtual] -

      - -

      The reader calls this function to report an internal entity -declaration. Only the effective (first) declaration is reported. -

      The reader passes the name of the entity in name and the value -of the entity in value. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldefaulthandler-members.html b/doc/html/qxmldefaulthandler-members.html deleted file mode 100644 index d3c11dfa5..000000000 --- a/doc/html/qxmldefaulthandler-members.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -TQXmlDefaultHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlDefaultHandler

      - -

      This is the complete list of member functions for -TQXmlDefaultHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldefaulthandler.html b/doc/html/qxmldefaulthandler.html deleted file mode 100644 index 2fe489c6b..000000000 --- a/doc/html/qxmldefaulthandler.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - -TQXmlDefaultHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlDefaultHandler Class Reference
      [XML module]

      - -

      The TQXmlDefaultHandler class provides a default implementation of all -the XML handler classes. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherits TQXmlContentHandler, TQXmlErrorHandler, TQXmlDTDHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and TQXmlDeclHandler. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQXmlDefaultHandler class provides a default implementation of all -the XML handler classes. - -

      - -

      Very often we are only interested in parts of the things that the -reader reports. This class implements a default behaviour for the -handler classes (i.e. most of the time do nothing). Usually this -is the class you subclass for implementing your own customized -handler. -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      TQXmlDefaultHandler::TQXmlDefaultHandler () -

      - -

      Constructor. - -

      TQXmlDefaultHandler::~TQXmlDefaultHandler () [virtual] -

      - -

      Destructor. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldtdhandler-members.html b/doc/html/qxmldtdhandler-members.html deleted file mode 100644 index 864d64230..000000000 --- a/doc/html/qxmldtdhandler-members.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - -TQXmlDTDHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlDTDHandler

      - -

      This is the complete list of member functions for -TQXmlDTDHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmldtdhandler.html b/doc/html/qxmldtdhandler.html deleted file mode 100644 index 0ff34f250..000000000 --- a/doc/html/qxmldtdhandler.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - -TQXmlDTDHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlDTDHandler Class Reference
      [XML module]

      - -

      The TQXmlDTDHandler class provides an interface to report -DTD content of XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • -
      • virtual bool unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlDTDHandler class provides an interface to report -DTD content of XML data. - -

      - -

      If an application needs information about notations and unparsed -entities, it can implement this interface and register an instance -with TQXmlReader::setDTDHandler(). -

      Note that this interface includes only those DTD events that the -XML recommendation requires processors to report, i.e. notation -and unparsed entity declarations using notationDecl() and -unparsedEntityDecl() respectively. -

      See also the Introduction to SAX2. -

      See also TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      TQString TQXmlDTDHandler::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string if any of -the handler functions returns FALSE. - -

      bool TQXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] -

      - -

      The reader calls this function when it has parsed a notation -declaration. -

      The argument name is the notation name, publicId is the -notation's public identifier and systemId is the notation's -system identifier. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName ) [pure virtual] -

      - -

      The reader calls this function when it finds an unparsed entity -declaration. -

      The argument name is the unparsed entity's name, publicId is -the entity's public identifier, systemId is the entity's system -identifier and notationName is the name of the associated -notation. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlentityresolver-members.html b/doc/html/qxmlentityresolver-members.html deleted file mode 100644 index 9af4dbdd0..000000000 --- a/doc/html/qxmlentityresolver-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -TQXmlEntityResolver Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlEntityResolver

      - -

      This is the complete list of member functions for -TQXmlEntityResolver, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlentityresolver.html b/doc/html/qxmlentityresolver.html deleted file mode 100644 index b412efa35..000000000 --- a/doc/html/qxmlentityresolver.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - -TQXmlEntityResolver Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlEntityResolver Class Reference
      [XML module]

      - -

      The TQXmlEntityResolver class provides an interface to -resolve external entities contained in XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlEntityResolver class provides an interface to -resolve external entities contained in XML data. - -

      - -

      If an application needs to implement customized handling for -external entities, it must implement this interface, i.e. -resolveEntity(), and register it with -TQXmlReader::setEntityResolver(). -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      TQString TQXmlEntityResolver::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string if any of -the handler functions returns FALSE. - -

      bool TQXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) [pure virtual] -

      - -

      The reader calls this function before it opens any external -entity, except the top-level document entity. The application may -request the reader to resolve the entity itself (ret is 0) or -to use an entirely different input source (ret points to the -input source). -

      The reader deletes the input source ret when it no longer needs -it, so you should allocate it on the heap with new. -

      The argument publicId is the public identifier of the external -entity, systemId is the system identifier of the external -entity and ret is the return value of this function. If ret -is 0 the reader should resolve the entity itself, if it is -non-zero it must point to an input source which the reader uses -instead. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlerrorhandler-members.html b/doc/html/qxmlerrorhandler-members.html deleted file mode 100644 index a9c48c73b..000000000 --- a/doc/html/qxmlerrorhandler-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQXmlErrorHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlErrorHandler

      - -

      This is the complete list of member functions for -TQXmlErrorHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlerrorhandler.html b/doc/html/qxmlerrorhandler.html deleted file mode 100644 index 1dbeb9739..000000000 --- a/doc/html/qxmlerrorhandler.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - -TQXmlErrorHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlErrorHandler Class Reference
      [XML module]

      - -

      The TQXmlErrorHandler class provides an interface to report -errors in XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool warning ( const TQXmlParseException & exception ) = 0
      • -
      • virtual bool error ( const TQXmlParseException & exception ) = 0
      • -
      • virtual bool fatalError ( const TQXmlParseException & exception ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlErrorHandler class provides an interface to report -errors in XML data. - -

      - -

      If you want your application to report errors to the user or to -perform customized error handling, you should subclass this class. -

      You can set the error handler with TQXmlReader::setErrorHandler(). -

      Errors can be reported using warning(), error() and fatalError(), -with the error text being reported with errorString(). -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and XML. - -


      Member Function Documentation

      -

      bool TQXmlErrorHandler::error ( const TQXmlParseException & exception ) [pure virtual] -

      - -

      A reader might use this function to report a recoverable error. A -recoverable error corresponds to the definiton of "error" in -section 1.2 of the XML 1.0 specification. Details of the error are -stored in exception. -

      The reader must continue to provide normal parsing events after -invoking this function. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      TQString TQXmlErrorHandler::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string if any of -the handler functions returns FALSE. - -

      bool TQXmlErrorHandler::fatalError ( const TQXmlParseException & exception ) [pure virtual] -

      - -

      A reader must use this function to report a non-recoverable error. -Details of the error are stored in exception. -

      If this function returns TRUE the reader might try to go on -parsing and reporting further errors; but no regular parsing -events are reported. - -

      bool TQXmlErrorHandler::warning ( const TQXmlParseException & exception ) [pure virtual] -

      - -

      A reader might use this function to report a warning. Warnings are -conditions that are not errors or fatal errors as defined by the -XML 1.0 specification. Details of the warning are stored in exception. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlinputsource-members.html b/doc/html/qxmlinputsource-members.html deleted file mode 100644 index dd49b5099..000000000 --- a/doc/html/qxmlinputsource-members.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - -TQXmlInputSource Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlInputSource

      - -

      This is the complete list of member functions for -TQXmlInputSource, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlinputsource.html b/doc/html/qxmlinputsource.html deleted file mode 100644 index 4a2071617..000000000 --- a/doc/html/qxmlinputsource.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - -TQXmlInputSource Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlInputSource Class Reference
      [XML module]

      - -

      The TQXmlInputSource class provides the input data for the -TQXmlReader subclasses. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      List of all member functions. -

      Public Members

      - -

      Protected Members

      -
        -
      • virtual TQString fromRawData ( const TQByteArray & data, bool beginning = FALSE )
      • -
      -

      Detailed Description

      - - - -The TQXmlInputSource class provides the input data for the -TQXmlReader subclasses. - -

      - -

      All subclasses of TQXmlReader read the input XML document from this -class. -

      This class recognizes the encoding of the data by reading the -encoding declaration in the XML file if it finds one, and reading -the data using the corresponding encoding. If it does not find an -encoding declaration, then it assumes that the data is either in -UTF-8 or UTF-16, depending on whether it can find a byte-order -mark. -

      There are two ways to populate the input source with data: you can -construct it with a TQIODevice* so that the input source reads the -data from that device. Or you can set the data explicitly with one -of the setData() functions. -

      Usually you either construct a TQXmlInputSource that works on a -TQIODevice* or you construct an empty TQXmlInputSource and set the -data with setData(). There are only rare occasions where you would -want to mix both methods. -

      The TQXmlReader subclasses use the next() function to read the -input character by character. If you want to start from the -beginning again, use reset(). -

      The functions data() and fetchData() are useful if you want to do -something with the data other than parsing, e.g. displaying the -raw XML file. The benefit of using the TQXmlInputClass in such -cases is that it tries to use the correct encoding. -

      See also TQXmlReader, TQXmlSimpleReader, and XML. - -


      Member Function Documentation

      -

      TQXmlInputSource::TQXmlInputSource () -

      -Constructs an input source which contains no data. -

      See also setData(). - -

      TQXmlInputSource::TQXmlInputSource ( TQIODevice * dev ) -

      -Constructs an input source and gets the data from device dev. -If dev is not open, it is opened in read-only mode. If dev -is 0 or it is not possible to read from the device, the input -source will contain no data. -

      See also setData(), fetchData(), and TQIODevice. - -

      TQXmlInputSource::TQXmlInputSource ( TQFile & file ) -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Constructs an input source and gets the data from the file file. If the -file cannot be read the input source is empty. - -

      TQXmlInputSource::TQXmlInputSource ( TQTextStream & stream ) -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Constructs an input source and gets the data from the text stream stream. - -

      TQXmlInputSource::~TQXmlInputSource () [virtual] -

      -Destructor. - -

      TQString TQXmlInputSource::data () [virtual] -

      -Returns the data the input source contains or TQString::null if the -input source does not contain any data. -

      See also setData(), TQXmlInputSource(), and fetchData(). - -

      void TQXmlInputSource::fetchData () [virtual] -

      -This function reads more data from the device that was set during -construction. If the input source already contained data, this -function deletes that data first. -

      This object contains no data after a call to this function if the -object was constructed without a device to read data from or if -this function was not able to get more data from the device. -

      There are two occasions where a fetch is done implicitly by -another function call: during construction (so that the object -starts out with some initial data where available), and during a -call to next() (if the data had run out). -

      You don't normally need to use this function if you use next(). -

      See also data(), next(), and TQXmlInputSource(). - -

      TQString TQXmlInputSource::fromRawData ( const TQByteArray & data, bool beginning = FALSE ) [virtual protected] -

      -This function reads the XML file from data and tries to -recognize the encoding. It converts the raw data data into a -TQString and returns it. It tries its best to get the correct -encoding for the XML file. -

      If beginning is TRUE, this function assumes that the data -starts at the beginning of a new XML document and looks for an -encoding declaration. If beginning is FALSE, it converts the -raw data using the encoding determined from prior calls. - -

      TQChar TQXmlInputSource::next () [virtual] -

      -Returns the next character of the input source. If this function -reaches the end of available data, it returns -TQXmlInputSource::EndOfData. If you call next() after that, it -tries to fetch more data by calling fetchData(). If the -fetchData() call results in new data, this function returns the -first character of that data; otherwise it returns -TQXmlInputSource::EndOfDocument. -

      See also reset(), fetchData(), TQXmlSimpleReader::parse(), and TQXmlSimpleReader::parseContinue(). - -

      void TQXmlInputSource::reset () [virtual] -

      -This function sets the position used by next() to the beginning of -the data returned by data(). This is useful if you want to use the -input source for more than one parse. -

      See also next(). - -

      Example: xml/tagreader-with-features/tagreader.cpp. -

      void TQXmlInputSource::setData ( const TQString & dat ) [virtual] -

      -Sets the data of the input source to dat. -

      If the input source already contains data, this function deletes -that data first. -

      See also data(). - -

      void TQXmlInputSource::setData ( const TQByteArray & dat ) [virtual] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      The data dat is passed through the correct text-codec, before -it is set. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmllexicalhandler-members.html b/doc/html/qxmllexicalhandler-members.html deleted file mode 100644 index 4cce93589..000000000 --- a/doc/html/qxmllexicalhandler-members.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - -TQXmlLexicalHandler Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlLexicalHandler

      - -

      This is the complete list of member functions for -TQXmlLexicalHandler, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmllexicalhandler.html b/doc/html/qxmllexicalhandler.html deleted file mode 100644 index fc0bce232..000000000 --- a/doc/html/qxmllexicalhandler.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -TQXmlLexicalHandler Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlLexicalHandler Class Reference
      [XML module]

      - -

      The TQXmlLexicalHandler class provides an interface to -report the lexical content of XML data. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlDefaultHandler. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • -
      • virtual bool endDTD () = 0
      • -
      • virtual bool startEntity ( const TQString & name ) = 0
      • -
      • virtual bool endEntity ( const TQString & name ) = 0
      • -
      • virtual bool startCDATA () = 0
      • -
      • virtual bool endCDATA () = 0
      • -
      • virtual bool comment ( const TQString & ch ) = 0
      • -
      • virtual TQString errorString () = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlLexicalHandler class provides an interface to -report the lexical content of XML data. - -

      - -

      The events in the lexical handler apply to the entire document, -not just to the document element, and all lexical handler events -appear between the content handler's startDocument and endDocument -events. -

      You can set the lexical handler with -TQXmlReader::setLexicalHandler(). -

      This interface's design is based on the the SAX2 extension -LexicalHandler. -

      The interface provides the startDTD(), endDTD(), startEntity(), -endEntity(), startCDATA(), endCDATA() and comment() functions. -

      See also the Introduction to SAX2. -

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, and XML. - -


      Member Function Documentation

      -

      bool TQXmlLexicalHandler::comment ( const TQString & ch ) [pure virtual] -

      - -

      The reader calls this function to report an XML comment anywhere -in the document. It reports the text of the comment in ch. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. - -

      bool TQXmlLexicalHandler::endCDATA () [pure virtual] -

      - -

      The reader calls this function to report the end of a CDATA -section. -

      If this function returns FALSE the reader stops parsing and reports -an error. The reader uses the function errorString() to get the error -message. -

      See also startCDATA() and TQXmlContentHandler::characters(). - -

      bool TQXmlLexicalHandler::endDTD () [pure virtual] -

      - -

      The reader calls this function to report the end of a DTD -declaration, if any. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also startDTD(). - -

      bool TQXmlLexicalHandler::endEntity ( const TQString & name ) [pure virtual] -

      - -

      The reader calls this function to report the end of an entity -called name. -

      For every startEntity() call, there is a corresponding endEntity() -call. The calls to startEntity() and endEntity() are properly -nested. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also startEntity(), TQXmlContentHandler::skippedEntity(), and TQXmlSimpleReader::setFeature(). - -

      TQString TQXmlLexicalHandler::errorString () [pure virtual] -

      - -

      The reader calls this function to get an error string if any of -the handler functions returns FALSE. - -

      bool TQXmlLexicalHandler::startCDATA () [pure virtual] -

      - -

      The reader calls this function to report the start of a CDATA -section. The content of the CDATA section is reported through the -TQXmlContentHandler::characters() function. This function is -intended only to report the boundary. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also endCDATA(). - -

      bool TQXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] -

      - -

      The reader calls this function to report the start of a DTD -declaration, if any. It reports the name of the document type in -name, the public identifier in publicId and the system -identifier in systemId. -

      If the public identifier is missing, publicId is set to -TQString::null. If the system identifier is missing, systemId is -set to TQString::null. Note that it is not valid XML to have a -public identifier but no system identifier; in such cases a parse -error will occur. -

      All declarations reported through TQXmlDTDHandler or -TQXmlDeclHandler appear between the startDTD() and endDTD() calls. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also endDTD(). - -

      bool TQXmlLexicalHandler::startEntity ( const TQString & name ) [pure virtual] -

      - -

      The reader calls this function to report the start of an entity -called name. -

      Note that if the entity is unknown, the reader reports it through -TQXmlContentHandler::skippedEntity() and not through this -function. -

      If this function returns FALSE the reader stops parsing and -reports an error. The reader uses the function errorString() to -get the error message. -

      See also endEntity() and TQXmlSimpleReader::setFeature(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmllocator-members.html b/doc/html/qxmllocator-members.html deleted file mode 100644 index 1e81c6ad6..000000000 --- a/doc/html/qxmllocator-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQXmlLocator Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlLocator

      - -

      This is the complete list of member functions for -TQXmlLocator, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmllocator.html b/doc/html/qxmllocator.html deleted file mode 100644 index bdb05b098..000000000 --- a/doc/html/qxmllocator.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - -TQXmlLocator Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlLocator Class Reference
      [XML module]

      - -

      The TQXmlLocator class provides the XML handler classes with -information about the parsing position within a file. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQXmlLocator class provides the XML handler classes with -information about the parsing position within a file. - -

      - -

      The reader reports a TQXmlLocator to the content handler before it -starts to parse the document. This is done with the -TQXmlContentHandler::setDocumentLocator() function. The handler -classes can now use this locator to get the position (lineNumber() -and columnNumber()) that the reader has reached. -

      See also XML. - -


      Member Function Documentation

      -

      TQXmlLocator::TQXmlLocator () -

      -Constructor. - -

      TQXmlLocator::~TQXmlLocator () [virtual] -

      -Destructor. - -

      int TQXmlLocator::columnNumber () [pure virtual] -

      - -

      Returns the column number (starting at 1) or -1 if there is no -column number available. - -

      int TQXmlLocator::lineNumber () [pure virtual] -

      - -

      Returns the line number (starting at 1) or -1 if there is no line -number available. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlnamespacesupport-members.html b/doc/html/qxmlnamespacesupport-members.html deleted file mode 100644 index 515d57ca6..000000000 --- a/doc/html/qxmlnamespacesupport-members.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -TQXmlNamespaceSupport Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlNamespaceSupport

      - -

      This is the complete list of member functions for -TQXmlNamespaceSupport, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlnamespacesupport.html b/doc/html/qxmlnamespacesupport.html deleted file mode 100644 index ad95aee8a..000000000 --- a/doc/html/qxmlnamespacesupport.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - -TQXmlNamespaceSupport Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlNamespaceSupport Class Reference
      [XML module]

      - -

      The TQXmlNamespaceSupport class is a helper class for XML -readers which want to include namespace support. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQXmlNamespaceSupport class is a helper class for XML -readers which want to include namespace support. - -

      - -

      You can set the prefix for the current namespace with setPrefix(), -and get the list of current prefixes (or those for a given URI) -with prefixes(). The namespace URI is available from uri(). Use -pushContext() to start a new namespace context, and popContext() -to return to the previous namespace context. Use splitName() or -processName() to split a name into its prefix and local name. -

      See also the namespace description. -

      See also XML. - -


      Member Function Documentation

      -

      TQXmlNamespaceSupport::TQXmlNamespaceSupport () -

      -Constructs a TQXmlNamespaceSupport. - -

      TQXmlNamespaceSupport::~TQXmlNamespaceSupport () -

      -Destroys a TQXmlNamespaceSupport. - -

      void TQXmlNamespaceSupport::popContext () -

      -Reverts to the previous namespace context. -

      Normally, you should pop the context at the end of each XML -element. After popping the context, all namespace prefix mappings -that were previously in force are restored. -

      See also pushContext(). - -

      TQString TQXmlNamespaceSupport::prefix ( const TQString & uri ) const -

      -Returns one of the prefixes mapped to the namespace URI uri. -

      If more than one prefix is currently mapped to the same URI, this -function makes an arbitrary selection; if you want all of the -prefixes, use prefixes() instead. -

      Note: to check for a default prefix, use the uri() function with -an argument of "". - -

      TQStringList TQXmlNamespaceSupport::prefixes () const -

      -Returns a list of all the prefixes currently declared. -

      If there is a default prefix, this function does not return it in -the list; check for the default prefix using uri() with an -argument of "". -

      Note that if you want to iterate over the list, you should iterate -over a copy, e.g. -

      -    TQStringList list = myXmlNamespaceSupport.prefixes();
      -    TQStringList::iterator it = list.begin();
      -    while ( it != list.end() ) {
      -        myProcessing( *it );
      -        ++it;
      -    }
      -    
      - - -

      TQStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns a list of all prefixes currently declared for the -namespace URI uri. -

      The "xml:" prefix is included. If you only want one prefix that is -mapped to the namespace URI, and you don't care which one you get, -use the prefix() function instead. -

      Note: the empty (default) prefix is never included in this list; -to check for the presence of a default namespace, use uri() with -an argument of "". -

      Note that if you want to iterate over the list, you should iterate -over a copy, e.g. -

      -    TQStringList list = myXmlNamespaceSupport.prefixes( "" );
      -    TQStringList::Iterator it = list.begin();
      -    while( it != list.end() ) {
      -        myProcessing( *it );
      -        ++it;
      -    }
      -    
      - - -

      void TQXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const -

      -Processes a raw XML 1.0 name in the current context by removing -the prefix and looking it up among the prefixes currently -declared. -

      qname is the raw XML 1.0 name to be processed. isAttribute -is TRUE if the name is an attribute name. -

      This function stores the namespace URI in nsuri (which will be -set to TQString::null if the raw name has an undeclared prefix), -and stores the local name (without prefix) in localname (which -will be set to TQString::null if no namespace is in use). -

      Note that attribute names are processed differently than element -names: an unprefixed element name gets the default namespace (if -any), while an unprefixed element name does not. - -

      void TQXmlNamespaceSupport::pushContext () -

      -Starts a new namespace context. -

      Normally, you should push a new context at the beginning of each -XML element: the new context automatically inherits the -declarations of its parent context, and it also keeps track of -which declarations were made within this context. -

      See also popContext(). - -

      void TQXmlNamespaceSupport::reset () -

      -Resets this namespace support object ready for reuse. - -

      void TQXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri ) -

      -This function declares a prefix pre in the current namespace -context to be the namespace URI uri. The prefix remains in -force until this context is popped, unless it is shadowed in a -descendant context. -

      Note that there is an asymmetry in this library. prefix() does not -return the default "" prefix, even if you have declared one; to -check for a default prefix, you must look it up explicitly using -uri(). This asymmetry exists to make it easier to look up prefixes -for attribute names, where the default prefix is not allowed. - -

      void TQXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const -

      -Splits the name qname at the ':' and returns the prefix in prefix and the local name in localname. -

      See also processName(). - -

      TQString TQXmlNamespaceSupport::uri ( const TQString & prefix ) const -

      -Looks up the prefix prefix in the current context and returns -the currently-mapped namespace URI. Use the empty string ("") for -the default namespace. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlparseexception-members.html b/doc/html/qxmlparseexception-members.html deleted file mode 100644 index f09eb4928..000000000 --- a/doc/html/qxmlparseexception-members.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -TQXmlParseException Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlParseException

      - -

      This is the complete list of member functions for -TQXmlParseException, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlparseexception.html b/doc/html/qxmlparseexception.html deleted file mode 100644 index b0a0dd1a4..000000000 --- a/doc/html/qxmlparseexception.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - -TQXmlParseException Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlParseException Class Reference
      [XML module]

      - -

      The TQXmlParseException class is used to report errors with -the TQXmlErrorHandler interface. -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQXmlParseException class is used to report errors with -the TQXmlErrorHandler interface. - -

      - -

      The XML subsystem constructs an instance of this class when it -detects an error. You can retrieve the place where the error -occurred using systemId(), publicId(), lineNumber() and -columnNumber(), along with the error message(). -

      See also TQXmlErrorHandler, TQXmlReader, and XML. - -


      Member Function Documentation

      -

      TQXmlParseException::TQXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" ) -

      - -

      Constructs a parse exception with the error string name for -column c and line l for the public identifier p and the -system identifier s. - -

      int TQXmlParseException::columnNumber () const -

      -Returns the column number where the error occurred. - -

      int TQXmlParseException::lineNumber () const -

      -Returns the line number where the error occurred. - -

      TQString TQXmlParseException::message () const -

      -Returns the error message. - -

      TQString TQXmlParseException::publicId () const -

      -Returns the public identifier where the error occurred. - -

      TQString TQXmlParseException::systemId () const -

      -Returns the system identifier where the error occurred. - - -

      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlreader-members.html b/doc/html/qxmlreader-members.html deleted file mode 100644 index 99a0d29a9..000000000 --- a/doc/html/qxmlreader-members.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - -TQXmlReader Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlReader

      - -

      This is the complete list of member functions for -TQXmlReader, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlreader.html b/doc/html/qxmlreader.html deleted file mode 100644 index efb7a7f1d..000000000 --- a/doc/html/qxmlreader.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - -TQXmlReader Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlReader Class Reference
      [XML module]

      - -

      The TQXmlReader class provides an interface for XML readers (i.e. -parsers). -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherited by TQXmlSimpleReader. -

      List of all member functions. -

      Public Members

      -
        -
      • virtual bool feature ( const TQString & name, bool * ok = 0 ) const = 0
      • -
      • virtual void setFeature ( const TQString & name, bool value ) = 0
      • -
      • virtual bool hasFeature ( const TQString & name ) const = 0
      • -
      • virtual void * property ( const TQString & name, bool * ok = 0 ) const = 0
      • -
      • virtual void setProperty ( const TQString & name, void * value ) = 0
      • -
      • virtual bool hasProperty ( const TQString & name ) const = 0
      • -
      • virtual void setEntityResolver ( TQXmlEntityResolver * handler ) = 0
      • -
      • virtual TQXmlEntityResolver * entityResolver () const = 0
      • -
      • virtual void setDTDHandler ( TQXmlDTDHandler * handler ) = 0
      • -
      • virtual TQXmlDTDHandler * DTDHandler () const = 0
      • -
      • virtual void setContentHandler ( TQXmlContentHandler * handler ) = 0
      • -
      • virtual TQXmlContentHandler * contentHandler () const = 0
      • -
      • virtual void setErrorHandler ( TQXmlErrorHandler * handler ) = 0
      • -
      • virtual TQXmlErrorHandler * errorHandler () const = 0
      • -
      • virtual void setLexicalHandler ( TQXmlLexicalHandler * handler ) = 0
      • -
      • virtual TQXmlLexicalHandler * lexicalHandler () const = 0
      • -
      • virtual void setDeclHandler ( TQXmlDeclHandler * handler ) = 0
      • -
      • virtual TQXmlDeclHandler * declHandler () const = 0
      • -
      • virtual bool parse ( const TQXmlInputSource & input ) = 0  (obsolete)
      • -
      • virtual bool parse ( const TQXmlInputSource * input ) = 0
      • -
      -

      Detailed Description

      - - - -The TQXmlReader class provides an interface for XML readers (i.e. -parsers). - -

      - -

      This abstract class provides an interface for all of TQt's XML -readers. Currently there is only one implementation of a reader -included in TQt's XML module: TQXmlSimpleReader. In future releases -there might be more readers with different properties available -(e.g. a validating parser). -

      The design of the XML classes follows the SAX2 Java interface, with -the names adapted to fit TQt naming conventions. It should be very -easy for anybody who has worked with SAX2 to get started with the -TQt XML classes. -

      All readers use the class TQXmlInputSource to read the input -document. Since you are normally interested in particular content -in the XML document, the reader reports the content through -special handler classes (TQXmlDTDHandler, TQXmlDeclHandler, -TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler and -TQXmlLexicalHandler), which you must subclass, if you want to -process the contents. -

      Since the handler classes only describe interfaces you must -implement all the functions. We provide the TQXmlDefaultHandler -class to make this easier: it implements a default behaviour (do -nothing) for all functions, so you can subclass it and just -implement the functions you are interested in. -

      Features and properties of the reader can be set with setFeature() -and setProperty() respectively. You can set the reader to use your -own subclasses with setEntityResolver(), setDTDHandler(), -setContentHandler(), setErrorHandler(), setLexicalHandler() and -setDeclHandler(). The parse itself is started with a call to -parse(). -

      See also TQXmlSimpleReader and XML. - -


      Member Function Documentation

      -

      TQXmlDTDHandler * TQXmlReader::DTDHandler () const [pure virtual] -

      - -

      Returns the DTD handler or 0 if none was set. -

      See also setDTDHandler(). - -

      TQXmlContentHandler * TQXmlReader::contentHandler () const [pure virtual] -

      - -

      Returns the content handler or 0 if none was set. -

      See also setContentHandler(). - -

      TQXmlDeclHandler * TQXmlReader::declHandler () const [pure virtual] -

      - -

      Returns the declaration handler or 0 if none was set. -

      See also setDeclHandler(). - -

      TQXmlEntityResolver * TQXmlReader::entityResolver () const [pure virtual] -

      - -

      Returns the entity resolver or 0 if none was set. -

      See also setEntityResolver(). - -

      TQXmlErrorHandler * TQXmlReader::errorHandler () const [pure virtual] -

      - -

      Returns the error handler or 0 if none is set. -

      See also setErrorHandler(). - -

      bool TQXmlReader::feature ( const TQString & name, bool * ok = 0 ) const [pure virtual] -

      - -

      If the reader has the feature called name, the feature's value -is returned. If no such feature exists the return value is -undefined. -

      If ok is not 0: *ok is set to TRUE if the reader has the -feature called name; otherwise *ok is set to FALSE. -

      See also setFeature() and hasFeature(). - -

      bool TQXmlReader::hasFeature ( const TQString & name ) const [pure virtual] -

      - -

      Returns TRUE if the reader has the feature called name; -otherwise returns FALSE. -

      See also feature() and setFeature(). - -

      bool TQXmlReader::hasProperty ( const TQString & name ) const [pure virtual] -

      - -

      Returns TRUE if the reader has the property name; otherwise -returns FALSE. -

      See also property() and setProperty(). - -

      TQXmlLexicalHandler * TQXmlReader::lexicalHandler () const [pure virtual] -

      - -

      Returns the lexical handler or 0 if none was set. -

      See also setLexicalHandler(). - -

      bool TQXmlReader::parse ( const TQXmlInputSource * input ) [pure virtual] -

      - -

      Reads an XML document from input and parses it. Returns TRUE if -the parsing was successful; otherwise returns FALSE. - -

      Example: xml/tagreader/tagreader.cpp. -

      bool TQXmlReader::parse ( const TQXmlInputSource & input ) [pure virtual] -

      - -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      -

      void * TQXmlReader::property ( const TQString & name, bool * ok = 0 ) const [pure virtual] -

      - -

      If the reader has the property name, this function returns the -value of the property; otherwise the return value is undefined. -

      If ok is not 0: if the reader has the name property *ok -is set to TRUE; otherwise *ok is set to FALSE. -

      See also setProperty() and hasProperty(). - -

      void TQXmlReader::setContentHandler ( TQXmlContentHandler * handler ) [pure virtual] -

      - -

      Sets the content handler to handler. -

      See also contentHandler(). - -

      Example: xml/tagreader/tagreader.cpp. -

      void TQXmlReader::setDTDHandler ( TQXmlDTDHandler * handler ) [pure virtual] -

      - -

      Sets the DTD handler to handler. -

      See also DTDHandler(). - -

      void TQXmlReader::setDeclHandler ( TQXmlDeclHandler * handler ) [pure virtual] -

      - -

      Sets the declaration handler to handler. -

      See also declHandler(). - -

      void TQXmlReader::setEntityResolver ( TQXmlEntityResolver * handler ) [pure virtual] -

      - -

      Sets the entity resolver to handler. -

      See also entityResolver(). - -

      void TQXmlReader::setErrorHandler ( TQXmlErrorHandler * handler ) [pure virtual] -

      - -

      Sets the error handler to handler. Clears the error handler if -handler is 0. -

      See also errorHandler(). - -

      void TQXmlReader::setFeature ( const TQString & name, bool value ) [pure virtual] -

      - -

      Sets the feature called name to the given value. If the -reader doesn't have the feature nothing happens. -

      See also feature() and hasFeature(). - -

      Reimplemented in TQXmlSimpleReader. -

      void TQXmlReader::setLexicalHandler ( TQXmlLexicalHandler * handler ) [pure virtual] -

      - -

      Sets the lexical handler to handler. -

      See also lexicalHandler(). - -

      void TQXmlReader::setProperty ( const TQString & name, void * value ) [pure virtual] -

      - -

      Sets the property name to value. If the reader doesn't have -the property nothing happens. -

      See also property() and hasProperty(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlsimplereader-members.html b/doc/html/qxmlsimplereader-members.html deleted file mode 100644 index ce0a4c157..000000000 --- a/doc/html/qxmlsimplereader-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -TQXmlSimpleReader Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQXmlSimpleReader

      - -

      This is the complete list of member functions for -TQXmlSimpleReader, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qxmlsimplereader.html b/doc/html/qxmlsimplereader.html deleted file mode 100644 index 7371220fd..000000000 --- a/doc/html/qxmlsimplereader.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - -TQXmlSimpleReader Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQXmlSimpleReader Class Reference
      [XML module]

      - -

      The TQXmlSimpleReader class provides an implementation of a -simple XML reader (parser). -More... -

      All the functions in this class are reentrant when TQt is built with thread support.

      -

      #include <ntqxml.h> -

      Inherits TQXmlReader. -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - - -The TQXmlSimpleReader class provides an implementation of a -simple XML reader (parser). - -

      - - -

      This XML reader is sufficient for simple parsing tasks. The reader: -

        -
      • provides a well-formed parser; -
      • does not parse any external entities; -
      • can do namespace processing. -
      -

      Documents are parsed with a call to parse(). -

      See also XML. - -


      Member Function Documentation

      -

      TQXmlSimpleReader::TQXmlSimpleReader () -

      -Constructs a simple XML reader with the following feature settings: -
      -
      Feature Setting -
      http://xml.org/sax/features/namespaces TRUE -
      http://xml.org/sax/features/namespace-prefixes FALSE -
      http://trolltech.com/xml/features/report-whitespace-only-CharData -TRUE -
      http://trolltech.com/xml/features/report-start-end-entity FALSE -
      -

      More information about features can be found in the TQt SAX2 overview. -

      See also setFeature(). - -

      TQXmlSimpleReader::~TQXmlSimpleReader () [virtual] -

      -Destroys the simple XML reader. - -

      bool TQXmlSimpleReader::parse ( const TQXmlInputSource * input, bool incremental ) [virtual] -

      -Reads an XML document from input and parses it. Returns FALSE -if the parsing detects an error; otherwise returns TRUE. -

      If incremental is TRUE, the parser does not return FALSE when -it reaches the end of the input without reaching the end of the -XML file. Instead it stores the state of the parser so that -parsing can be continued at a later stage when more data is -available. You can use the function parseContinue() to continue -with parsing. This class stores a pointer to the input source input and the parseContinue() function tries to read from that -input souce. This means that you should not delete the input -source input until you've finished your calls to -parseContinue(). If you call this function with incremental -TRUE whilst an incremental parse is in progress a new parsing -session will be started and the previous session lost. -

      If incremental is FALSE, this function behaves like the normal -parse function, i.e. it returns FALSE when the end of input is -reached without reaching the end of the XML file and the parsing -cannot be continued. -

      See also parseContinue() and TQSocket. - -

      Examples: xml/tagreader-with-features/tagreader.cpp and xml/tagreader/tagreader.cpp. -

      bool TQXmlSimpleReader::parseContinue () [virtual] -

      -Continues incremental parsing; this function reads the input from -the TQXmlInputSource that was specified with the last parse() -command. To use this function, you must have called parse() -with the incremental argument set to TRUE. -

      Returns FALSE if a parsing error occurs; otherwise returns TRUE. -

      If the input source returns an empty string for the function -TQXmlInputSource::data(), then this means that the end of the XML -file has been reached; this is quite important, especially if you -want to use the reader to parse more than one XML file. -

      The case of the end of the XML file being reached without having -finished parsing is not considered to be an error: you can -continue parsing at a later stage by calling this function again -when there is more data available to parse. -

      This function assumes that the end of the XML document is reached -if the TQXmlInputSource::next() function returns -TQXmlInputSource::EndOfDocument. If the parser has not finished -parsing when it encounters this symbol, it is an error and FALSE -is returned. -

      See also parse() and TQXmlInputSource::next(). - -

      void TQXmlSimpleReader::setFeature ( const TQString & name, bool value ) [virtual] -

      -Sets the state of the feature name to value: -

      If the feature is not recognized, it is ignored. -

      The following features are supported: -

      -
      Feature Notes -
      http://xml.org/sax/features/namespaces -If this feature is TRUE, namespace processing is -performed. -
      http://xml.org/sax/features/namespace-prefixes -If this feature is TRUE, the the original prefixed names -and attributes used for namespace declarations are -reported. -
      http://trolltech.com/xml/features/report-whitespace-only-CharData -If this feature is TRUE, CharData that only contain -whitespace are not ignored, but are reported via -TQXmlContentHandler::characters(). -
      http://trolltech.com/xml/features/report-start-end-entity -If this feature is TRUE, the parser reports -TQXmlContentHandler::startEntity() and -TQXmlContentHandler::endEntity() events. So character data -might be reported in chunks. If this feature is FALSE, the -parser does not report those events, but rather silently -substitutes the entities and reports the character data in -one chunk. -
      -

      - -

          ** $Id: qt/tagreader.cpp   3.3.8   edited Jan 11 14:46 $
      -
              reader.setFeature( "http://xml.org/sax/features/namespace-prefixes",
      -                           TRUE );
      -
      -

      (Code taken from xml/tagreader-with-features/tagreader.cpp) -

      See also feature() and hasFeature(). - -

      Example: xml/tagreader-with-features/tagreader.cpp. -

      Reimplemented from TQXmlReader. - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/tagreader-example.html b/doc/html/tagreader-example.html index a7c939c68..947d614e2 100644 --- a/doc/html/tagreader-example.html +++ b/doc/html/tagreader-example.html @@ -54,16 +54,16 @@ indented corresponding to their nesting #ifndef STRUCTUREPARSER_H #define STRUCTUREPARSER_H -#include <ntqxml.h> +#include <tqxml.h> class TQString; -class StructureParser : public TQXmlDefaultHandler +class StructureParser : public TQXmlDefaultHandler { public: bool startDocument(); bool startElement( const TQString&, const TQString&, const TQString& , - const TQXmlAttributes& ); + const TQXmlAttributes& ); bool endElement( const TQString&, const TQString&, const TQString& ); private: @@ -90,22 +90,22 @@ private: #include <stdio.h> #include <ntqstring.h> -bool StructureParser::startDocument() +bool StructureParser::startDocument() { indent = ""; return TRUE; } -bool StructureParser::startElement( const TQString&, const TQString&, +bool StructureParser::startElement( const TQString&, const TQString&, const TQString& qName, - const TQXmlAttributes& ) + const TQXmlAttributes& ) { printf( "%s%s\n", (const char*)indent, (const char*)qName ); indent += " "; return TRUE; } -bool StructureParser::endElement( const TQString&, const TQString&, const TQString& ) +bool StructureParser::endElement( const TQString&, const TQString&, const TQString& ) { indent.remove( (uint)0, 4 ); return TRUE; @@ -126,7 +126,7 @@ private: #include "structureparser.h" #include <ntqfile.h> -#include <ntqxml.h> +#include <tqxml.h> #include <ntqwindowdefs.h> int main( int argc, char **argv ) @@ -136,12 +136,12 @@ int main( int argc, char **argv ) return 1; } StructureParser handler; - TQXmlSimpleReader reader; - reader.setContentHandler( &handler ); + TQXmlSimpleReader reader; + reader.setContentHandler( &handler ); for ( int i=1; i < argc; i++ ) { TQFile xmlFile( argv[i] ); - TQXmlInputSource source( &xmlFile ); - reader.parse( source ); + TQXmlInputSource source( &xmlFile ); + reader.parse( source ); } return 0; } diff --git a/doc/html/tagreader-with-features-example.html b/doc/html/tagreader-with-features-example.html index 9cf36b379..ff950e477 100644 --- a/doc/html/tagreader-with-features-example.html +++ b/doc/html/tagreader-with-features-example.html @@ -52,19 +52,19 @@ $Id: qt/structureparser.h 3.3.8 edited May 27 2003 $ #ifndef STRUCTUREPARSER_H #define STRUCTUREPARSER_H -#include <ntqxml.h> +#include <tqxml.h> #include <ntqptrstack.h> class TQListView; class TQListViewItem; class TQString; -class StructureParser: public TQXmlDefaultHandler +class StructureParser: public TQXmlDefaultHandler { public: StructureParser( TQListView * ); bool startElement( const TQString&, const TQString&, const TQString& , - const TQXmlAttributes& ); + const TQXmlAttributes& ); bool endElement( const TQString&, const TQString&, const TQString& ); void setListView( TQListView * ); @@ -89,7 +89,7 @@ $Id: qt/structureparser.cpp 3.3.8 edited May 27 2003 $ #include <ntqlistview.h> StructureParser::StructureParser( TQListView * t ) - : TQXmlDefaultHandler() + : TQXmlDefaultHandler() { setListView( t ); } @@ -102,10 +102,10 @@ void StructureParser::setListView( bool StructureParser::startElement( const TQString& namespaceURI, +bool StructureParser::startElement( const TQString& namespaceURI, const TQString& , const TQString& qName, - const TQXmlAttributes& attributes) + const TQXmlAttributes& attributes) { TQListViewItem * element; @@ -122,15 +122,15 @@ void StructureParser::setListView( element->setOpen( TRUE ); - if ( attributes.length() > 0 ) { - for ( int i = 0 ; i < attributes.length(); i++ ) { - new TQListViewItem( element, attributes.qName(i), attributes.uri(i) ); + if ( attributes.length() > 0 ) { + for ( int i = 0 ; i < attributes.length(); i++ ) { + new TQListViewItem( element, attributes.qName(i), attributes.uri(i) ); } } return TRUE; } -bool StructureParser::endElement( const TQString&, const TQString&, +bool StructureParser::endElement( const TQString&, const TQString&, const TQString& ) { stack.pop(); @@ -153,7 +153,7 @@ void StructureParser::setListView( ntqapplication.h> #include <ntqfile.h> -#include <ntqxml.h> +#include <tqxml.h> #include <ntqlistview.h> #include <ntqgrid.h> #include <ntqmainwindow.h> @@ -164,30 +164,30 @@ int main( int argc, char **argv ) TQApplication app( argc, argv ); TQFile xmlFile( argc == 2 ? argv[1] : "fnord.xml" ); - TQXmlInputSource source( &xmlFile ); + TQXmlInputSource source( &xmlFile ); - TQXmlSimpleReader reader; + TQXmlSimpleReader reader; TQGrid * container = new TQGrid( 3 ); TQListView * nameSpace = new TQListView( container, "table_namespace" ); StructureParser * handler = new StructureParser( nameSpace ); - reader.setContentHandler( handler ); - reader.parse( source ); + reader.setContentHandler( handler ); + reader.parse( source ); TQListView * namespacePrefix = new TQListView( container, "table_namespace_prefix" ); handler->setListView( namespacePrefix ); - reader.setFeature( "http://xml.org/sax/features/namespace-prefixes", + reader.setFeature( "http://xml.org/sax/features/namespace-prefixes", TRUE ); - source.reset(); - reader.parse( source ); + source.reset(); + reader.parse( source ); TQListView * prefix = new TQListView( container, "table_prefix"); handler->setListView( prefix ); - reader.setFeature( "http://xml.org/sax/features/namespaces", FALSE ); - source.reset(); - reader.parse( source ); + reader.setFeature( "http://xml.org/sax/features/namespaces", FALSE ); + source.reset(); + reader.parse( source ); // namespace label (void) new TQLabel( diff --git a/doc/html/titleindex b/doc/html/titleindex index addd6b50b..0549f4b31 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -344,40 +344,40 @@ QDockArea Class | ntqdockarea.html QDockArea Member List | qdockarea-members.html QDockWindow Class | ntqdockwindow.html QDockWindow Member List | qdockwindow-members.html -QDomAttr Class | qdomattr.html -QDomAttr Member List | qdomattr-members.html -QDomCDATASection Class | qdomcdatasection.html -QDomCDATASection Member List | qdomcdatasection-members.html -QDomCharacterData Class | qdomcharacterdata.html -QDomCharacterData Member List | qdomcharacterdata-members.html -QDomComment Class | qdomcomment.html -QDomComment Member List | qdomcomment-members.html -QDomDocument Class | qdomdocument.html -QDomDocument Member List | qdomdocument-members.html -QDomDocumentFragment Class | qdomdocumentfragment.html -QDomDocumentFragment Member List | qdomdocumentfragment-members.html -QDomDocumentType Class | qdomdocumenttype.html -QDomDocumentType Member List | qdomdocumenttype-members.html -QDomElement Class | qdomelement.html -QDomElement Member List | qdomelement-members.html -QDomEntity Class | qdomentity.html -QDomEntity Member List | qdomentity-members.html -QDomEntityReference Class | qdomentityreference.html -QDomEntityReference Member List | qdomentityreference-members.html -QDomImplementation Class | qdomimplementation.html -QDomImplementation Member List | qdomimplementation-members.html -QDomNamedNodeMap Class | qdomnamednodemap.html -QDomNamedNodeMap Member List | qdomnamednodemap-members.html -QDomNode Class | qdomnode.html -QDomNode Member List | qdomnode-members.html -QDomNodeList Class | qdomnodelist.html -QDomNodeList Member List | qdomnodelist-members.html -QDomNotation Class | qdomnotation.html -QDomNotation Member List | qdomnotation-members.html -QDomProcessingInstruction Class | qdomprocessinginstruction.html -QDomProcessingInstruction Member List | qdomprocessinginstruction-members.html -QDomText Class | qdomtext.html -QDomText Member List | qdomtext-members.html +TQDomAttr Class | tqdomattr.html +TQDomAttr Member List | tqdomattr-members.html +TQDomCDATASection Class | tqdomcdatasection.html +TQDomCDATASection Member List | tqdomcdatasection-members.html +TQDomCharacterData Class | tqdomcharacterdata.html +TQDomCharacterData Member List | tqdomcharacterdata-members.html +TQDomComment Class | tqdomcomment.html +TQDomComment Member List | tqdomcomment-members.html +TQDomDocument Class | tqdomdocument.html +TQDomDocument Member List | tqdomdocument-members.html +TQDomDocumentFragment Class | tqdomdocumentfragment.html +TQDomDocumentFragment Member List | tqdomdocumentfragment-members.html +TQDomDocumentType Class | tqdomdocumenttype.html +TQDomDocumentType Member List | tqdomdocumenttype-members.html +TQDomElement Class | tqdomelement.html +TQDomElement Member List | tqdomelement-members.html +TQDomEntity Class | tqdomentity.html +TQDomEntity Member List | tqdomentity-members.html +TQDomEntityReference Class | tqdomentityreference.html +TQDomEntityReference Member List | tqdomentityreference-members.html +TQDomImplementation Class | tqdomimplementation.html +TQDomImplementation Member List | tqdomimplementation-members.html +TQDomNamedNodeMap Class | tqdomnamednodemap.html +TQDomNamedNodeMap Member List | tqdomnamednodemap-members.html +TQDomNode Class | tqdomnode.html +TQDomNode Member List | tqdomnode-members.html +TQDomNodeList Class | tqdomnodelist.html +TQDomNodeList Member List | tqdomnodelist-members.html +TQDomNotation Class | tqdomnotation.html +TQDomNotation Member List | tqdomnotation-members.html +TQDomProcessingInstruction Class | tqdomprocessinginstruction.html +TQDomProcessingInstruction Member List | tqdomprocessinginstruction-members.html +TQDomText Class | tqdomtext.html +TQDomText Member List | tqdomtext-members.html QDoubleValidator Class | qdoublevalidator.html QDoubleValidator Member List | qdoublevalidator-members.html QDragEnterEvent Class | qdragenterevent.html @@ -977,34 +977,34 @@ QWizard Class | ntqwizard.html QWizard Member List | qwizard-members.html QWorkspace Class | ntqworkspace.html QWorkspace Member List | qworkspace-members.html -QXmlAttributes Class | qxmlattributes.html -QXmlAttributes Member List | qxmlattributes-members.html -QXmlContentHandler Class | qxmlcontenthandler.html -QXmlContentHandler Member List | qxmlcontenthandler-members.html -QXmlDTDHandler Class | qxmldtdhandler.html -QXmlDTDHandler Member List | qxmldtdhandler-members.html -QXmlDeclHandler Class | qxmldeclhandler.html -QXmlDeclHandler Member List | qxmldeclhandler-members.html -QXmlDefaultHandler Class | qxmldefaulthandler.html -QXmlDefaultHandler Member List | qxmldefaulthandler-members.html -QXmlEntityResolver Class | qxmlentityresolver.html -QXmlEntityResolver Member List | qxmlentityresolver-members.html -QXmlErrorHandler Class | qxmlerrorhandler.html -QXmlErrorHandler Member List | qxmlerrorhandler-members.html -QXmlInputSource Class | qxmlinputsource.html -QXmlInputSource Member List | qxmlinputsource-members.html -QXmlLexicalHandler Class | qxmllexicalhandler.html -QXmlLexicalHandler Member List | qxmllexicalhandler-members.html -QXmlLocator Class | qxmllocator.html -QXmlLocator Member List | qxmllocator-members.html -QXmlNamespaceSupport Class | qxmlnamespacesupport.html -QXmlNamespaceSupport Member List | qxmlnamespacesupport-members.html -QXmlParseException Class | qxmlparseexception.html -QXmlParseException Member List | qxmlparseexception-members.html -QXmlReader Class | qxmlreader.html -QXmlReader Member List | qxmlreader-members.html -QXmlSimpleReader Class | qxmlsimplereader.html -QXmlSimpleReader Member List | qxmlsimplereader-members.html +TQXmlAttributes Class | tqxmlattributes.html +TQXmlAttributes Member List | tqxmlattributes-members.html +TQXmlContentHandler Class | tqxmlcontenthandler.html +TQXmlContentHandler Member List | tqxmlcontenthandler-members.html +TQXmlDTDHandler Class | tqxmldtdhandler.html +TQXmlDTDHandler Member List | tqxmldtdhandler-members.html +TQXmlDeclHandler Class | tqxmldeclhandler.html +TQXmlDeclHandler Member List | tqxmldeclhandler-members.html +TQXmlDefaultHandler Class | tqxmldefaulthandler.html +TQXmlDefaultHandler Member List | tqxmldefaulthandler-members.html +TQXmlEntityResolver Class | tqxmlentityresolver.html +TQXmlEntityResolver Member List | tqxmlentityresolver-members.html +TQXmlErrorHandler Class | tqxmlerrorhandler.html +TQXmlErrorHandler Member List | tqxmlerrorhandler-members.html +TQXmlInputSource Class | tqxmlinputsource.html +TQXmlInputSource Member List | tqxmlinputsource-members.html +TQXmlLexicalHandler Class | tqxmllexicalhandler.html +TQXmlLexicalHandler Member List | tqxmllexicalhandler-members.html +TQXmlLocator Class | tqxmllocator.html +TQXmlLocator Member List | tqxmllocator-members.html +TQXmlNamespaceSupport Class | tqxmlnamespacesupport.html +TQXmlNamespaceSupport Member List | tqxmlnamespacesupport-members.html +TQXmlParseException Class | tqxmlparseexception.html +TQXmlParseException Member List | tqxmlparseexception-members.html +TQXmlReader Class | tqxmlreader.html +TQXmlReader Member List | tqxmlreader-members.html +TQXmlSimpleReader Class | tqxmlsimplereader.html +TQXmlSimpleReader Member List | tqxmlsimplereader-members.html QXtWidget Class | qxtwidget.html QXtWidget Member List | qxtwidget-members.html Qt Class | ntqt.html @@ -1215,7 +1215,7 @@ qdirectpainter_qws.h Include File | qdirectpainter_qws-h.html ntqdns.h Include File | qdns-h.html ntqdockarea.h Include File | qdockarea-h.html ntqdockwindow.h Include File | qdockwindow-h.html -ntqdom.h Include File | qdom-h.html +tqdom.h Include File | tqdom-h.html ntqdragobject.h Include File | qdragobject-h.html ntqdrawutil.h Include File | qdrawutil-h.html ntqdropsite.h Include File | qdropsite-h.html @@ -1424,7 +1424,7 @@ ntqwizard.h Include File | qwizard-h.html ntqwmatrix.h Include File | qwmatrix-h.html ntqworkspace.h Include File | qworkspace-h.html qwsdecoration_qws.h Include File | qwsdecoration_qws-h.html -ntqxml.h Include File | qxml-h.html +tqxml.h Include File | tqxml-h.html qxtwidget.h Include File | qxtwidget-h.html sql/overview/basicbrowsing/main.cpp Example File | sql-overview-basicbrowsing-main-cpp.html sql/overview/basicbrowsing2/main.cpp Example File | sql-overview-basicbrowsing2-main-cpp.html diff --git a/doc/html/tqdom-h.html b/doc/html/tqdom-h.html new file mode 100644 index 000000000..56fa674d8 --- /dev/null +++ b/doc/html/tqdom-h.html @@ -0,0 +1,722 @@ + + + + + +tqdom.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqdom.h

      + +

      This is the verbatim text of the tqdom.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqdom.h   3.3.8   edited Jan 11 14:39 $
      +**
      +** Definition of TQDomDocument and related classes.
      +**
      +** Created : 000518
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the xml module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQDOM_H
      +#define TQDOM_H
      +
      +#ifndef QT_H
      +#include "ntqstring.h"
      +#endif // QT_H
      +
      +#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
      +#define TQM_EXPORT_DOM
      +#else
      +#define TQM_EXPORT_DOM TQ_EXPORT
      +#endif
      +
      +#ifndef TQT_NO_DOM
      +
      +class TQIODevice;
      +class TQTextStream;
      +
      +class TQXmlInputSource;
      +class TQXmlReader;
      +
      +class TQDomDocumentPrivate;
      +class TQDomDocumentTypePrivate;
      +class TQDomDocumentFragmentPrivate;
      +class TQDomNodePrivate;
      +class TQDomNodeListPrivate;
      +class TQDomImplementationPrivate;
      +class TQDomElementPrivate;
      +class TQDomNotationPrivate;
      +class TQDomEntityPrivate;
      +class TQDomEntityReferencePrivate;
      +class TQDomProcessingInstructionPrivate;
      +class TQDomAttrPrivate;
      +class TQDomCharacterDataPrivate;
      +class TQDomTextPrivate;
      +class TQDomCommentPrivate;
      +class TQDomCDATASectionPrivate;
      +class TQDomNamedNodeMapPrivate;
      +class TQDomImplementationPrivate;
      +
      +class TQDomNodeList;
      +class TQDomElement;
      +class TQDomText;
      +class TQDomComment;
      +class TQDomCDATASection;
      +class TQDomProcessingInstruction;
      +class TQDomAttr;
      +class TQDomEntityReference;
      +class TQDomDocument;
      +class TQDomNamedNodeMap;
      +class TQDomDocument;
      +class TQDomDocumentFragment;
      +class TQDomDocumentType;
      +class TQDomImplementation;
      +class TQDomNode;
      +class TQDomEntity;
      +class TQDomNotation;
      +class TQDomCharacterData;
      +
      +class TQM_EXPORT_DOM TQDomImplementation
      +{
      +public:
      +    TQDomImplementation();
      +    TQDomImplementation( const TQDomImplementation& );
      +    virtual ~TQDomImplementation();
      +    TQDomImplementation& operator= ( const TQDomImplementation& );
      +    bool operator== ( const TQDomImplementation& ) const;
      +    bool operator!= ( const TQDomImplementation& ) const;
      +
      +    // functions
      +    virtual bool hasFeature( const TQString& feature, const TQString& version );
      +    virtual TQDomDocumentType createDocumentType( const TQString& qName, const TQString& publicId, const TQString& systemId );
      +    virtual TQDomDocument createDocument( const TQString& nsURI, const TQString& qName, const TQDomDocumentType& doctype );
      +
      +    // TQt extension
      +    bool isNull();
      +
      +private:
      +    TQDomImplementationPrivate* impl;
      +    TQDomImplementation( TQDomImplementationPrivate* );
      +
      +    friend class TQDomDocument;
      +};
      +
      +class TQM_EXPORT_DOM TQDomNode
      +{
      +public:
      +    enum NodeType {
      +	ElementNode               = 1,
      +	AttributeNode             = 2,
      +	TextNode                  = 3,
      +	CDATASectionNode          = 4,
      +	EntityReferenceNode       = 5,
      +	EntityNode                = 6,
      +	ProcessingInstructionNode = 7,
      +	CommentNode               = 8,
      +	DocumentNode              = 9,
      +	DocumentTypeNode          = 10,
      +	DocumentFragmentNode      = 11,
      +	NotationNode              = 12,
      +	BaseNode                  = 21,// this is not in the standard
      +	CharacterDataNode         = 22 // this is not in the standard
      +    };
      +
      +    TQDomNode();
      +    TQDomNode( const TQDomNode& );
      +    TQDomNode& operator= ( const TQDomNode& );
      +    bool operator== ( const TQDomNode& ) const;
      +    bool operator!= ( const TQDomNode& ) const;
      +    virtual ~TQDomNode();
      +
      +    // DOM functions
      +    virtual TQDomNode insertBefore( const TQDomNode& newChild, const TQDomNode& refChild );
      +    virtual TQDomNode insertAfter( const TQDomNode& newChild, const TQDomNode& refChild );
      +    virtual TQDomNode replaceChild( const TQDomNode& newChild, const TQDomNode& oldChild );
      +    virtual TQDomNode removeChild( const TQDomNode& oldChild );
      +    virtual TQDomNode appendChild( const TQDomNode& newChild );
      +    virtual bool hasChildNodes() const;
      +    virtual TQDomNode cloneNode( bool deep = TRUE ) const;
      +    virtual void normalize();
      +    virtual bool isSupported( const TQString& feature, const TQString& version ) const;
      +
      +    // DOM read only attributes
      +    virtual TQString nodeName() const;
      +    virtual TQDomNode::NodeType nodeType() const;
      +    virtual TQDomNode         parentNode() const;
      +    virtual TQDomNodeList     childNodes() const;
      +    virtual TQDomNode         firstChild() const;
      +    virtual TQDomNode         lastChild() const;
      +    virtual TQDomNode         previousSibling() const;
      +    virtual TQDomNode         nextSibling() const;
      +    virtual TQDomNamedNodeMap attributes() const;
      +    virtual TQDomDocument     ownerDocument() const;
      +    virtual TQString namespaceURI() const;
      +    virtual TQString localName() const;
      +    virtual bool hasAttributes() const;
      +
      +    // DOM attributes
      +    virtual TQString nodeValue() const;
      +    virtual void setNodeValue( const TQString& );
      +    virtual TQString prefix() const;
      +    virtual void setPrefix( const TQString& pre );
      +
      +    // TQt extensions
      +    virtual bool isAttr() const;
      +    virtual bool isCDATASection() const;
      +    virtual bool isDocumentFragment() const;
      +    virtual bool isDocument() const;
      +    virtual bool isDocumentType() const;
      +    virtual bool isElement() const;
      +    virtual bool isEntityReference() const;
      +    virtual bool isText() const;
      +    virtual bool isEntity() const;
      +    virtual bool isNotation() const;
      +    virtual bool isProcessingInstruction() const;
      +    virtual bool isCharacterData() const;
      +    virtual bool isComment() const;
      +
      +    /**
      +     * Shortcut to avoid dealing with TQDomNodeList
      +     * all the time.
      +     */
      +    TQDomNode namedItem( const TQString& name ) const;
      +
      +    bool isNull() const;
      +    void clear();
      +
      +    TQDomAttr toAttr();
      +    TQDomCDATASection toCDATASection();
      +    TQDomDocumentFragment toDocumentFragment();
      +    TQDomDocument toDocument();
      +    TQDomDocumentType toDocumentType();
      +    TQDomElement toElement();
      +    TQDomEntityReference toEntityReference();
      +    TQDomText toText();
      +    TQDomEntity toEntity();
      +    TQDomNotation toNotation();
      +    TQDomProcessingInstruction toProcessingInstruction();
      +    TQDomCharacterData toCharacterData();
      +    TQDomComment toComment();
      +
      +    void save( TQTextStream&, int ) const;
      +
      +protected:
      +    TQDomNodePrivate* impl;
      +    TQDomNode( TQDomNodePrivate* );
      +
      +private:
      +    friend class TQDomDocument;
      +    friend class TQDomDocumentType;
      +    friend class TQDomNodeList;
      +    friend class TQDomNamedNodeMap;
      +};
      +
      +class TQM_EXPORT_DOM TQDomNodeList
      +{
      +public:
      +    TQDomNodeList();
      +    TQDomNodeList( const TQDomNodeList& );
      +    TQDomNodeList& operator= ( const TQDomNodeList& );
      +    bool operator== ( const TQDomNodeList& ) const;
      +    bool operator!= ( const TQDomNodeList& ) const;
      +    virtual ~TQDomNodeList();
      +
      +    // DOM functions
      +    virtual TQDomNode item( int index ) const;
      +
      +    // DOM read only attributes
      +    virtual uint length() const;
      +    uint count() const { return length(); } // TQt API consitancy
      +
      +private:
      +    TQDomNodeListPrivate* impl;
      +    TQDomNodeList( TQDomNodeListPrivate* );
      +
      +    friend class TQDomNode;
      +    friend class TQDomElement;
      +    friend class TQDomDocument;
      +};
      +
      +class TQM_EXPORT_DOM TQDomDocumentType : public TQDomNode
      +{
      +public:
      +    TQDomDocumentType();
      +    TQDomDocumentType( const TQDomDocumentType& x );
      +    TQDomDocumentType& operator= ( const TQDomDocumentType& );
      +    ~TQDomDocumentType();
      +
      +    // DOM read only attributes
      +    virtual TQString name() const;
      +    virtual TQDomNamedNodeMap entities() const;
      +    virtual TQDomNamedNodeMap notations() const;
      +    virtual TQString publicId() const;
      +    virtual TQString systemId() const;
      +    virtual TQString internalSubset() const;
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isDocumentType() const;
      +
      +private:
      +    TQDomDocumentType( TQDomDocumentTypePrivate* );
      +
      +    friend class TQDomImplementation;
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomDocument : public TQDomNode
      +{
      +public:
      +    TQDomDocument();
      +    Q_EXPLICIT TQDomDocument( const TQString& name );
      +    Q_EXPLICIT TQDomDocument( const TQDomDocumentType& doctype );
      +    TQDomDocument( const TQDomDocument& x );
      +    TQDomDocument& operator= ( const TQDomDocument& );
      +    ~TQDomDocument();
      +
      +    // DOM functions
      +    TQDomElement createElement( const TQString& tagName );
      +    TQDomDocumentFragment createDocumentFragment();
      +    TQDomText createTextNode( const TQString& data );
      +    TQDomComment createComment( const TQString& data );
      +    TQDomCDATASection createCDATASection( const TQString& data );
      +    TQDomProcessingInstruction createProcessingInstruction( const TQString& target, const TQString& data );
      +    TQDomAttr createAttribute( const TQString& name );
      +    TQDomEntityReference createEntityReference( const TQString& name );
      +    TQDomNodeList elementsByTagName( const TQString& tagname ) const;
      +    TQDomNode importNode( const TQDomNode& importedNode, bool deep );
      +    TQDomElement createElementNS( const TQString& nsURI, const TQString& qName );
      +    TQDomAttr createAttributeNS( const TQString& nsURI, const TQString& qName );
      +    TQDomNodeList elementsByTagNameNS( const TQString& nsURI, const TQString& localName );
      +    TQDomElement elementById( const TQString& elementId );
      +
      +    // DOM read only attributes
      +    TQDomDocumentType doctype() const;
      +    TQDomImplementation implementation() const;
      +    TQDomElement documentElement() const;
      +
      +    // TQt extensions
      +    bool setContent( const TQCString& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( const TQByteArray& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( const TQString& text, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( TQIODevice* dev, bool namespaceProcessing, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( const TQCString& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0 );
      +    bool setContent( const TQByteArray& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( const TQString& text, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +    bool setContent( TQIODevice* dev, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +
      +    bool setContent( TQXmlInputSource *source, TQXmlReader *reader, TQString *errorMsg=0, int *errorLine=0, int *errorColumn=0  );
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isDocument() const;
      +
      +    // TQt extensions
      +    TQString toString() const; // ### TQt 4: merge the two overloads
      +    TQString toString( int ) const;
      +    TQCString toCString() const; // ### TQt 4: merge the two overloads
      +    TQCString toCString( int ) const;
      +
      +private:
      +    TQDomDocument( TQDomDocumentPrivate* );
      +
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomNamedNodeMap
      +{
      +public:
      +    TQDomNamedNodeMap();
      +    TQDomNamedNodeMap( const TQDomNamedNodeMap& );
      +    TQDomNamedNodeMap& operator= ( const TQDomNamedNodeMap& );
      +    bool operator== ( const TQDomNamedNodeMap& ) const;
      +    bool operator!= ( const TQDomNamedNodeMap& ) const;
      +    ~TQDomNamedNodeMap();
      +
      +    // DOM functions
      +    TQDomNode namedItem( const TQString& name ) const;
      +    TQDomNode setNamedItem( const TQDomNode& newNode );
      +    TQDomNode removeNamedItem( const TQString& name );
      +    TQDomNode item( int index ) const;
      +    TQDomNode namedItemNS( const TQString& nsURI, const TQString& localName ) const;
      +    TQDomNode setNamedItemNS( const TQDomNode& newNode );
      +    TQDomNode removeNamedItemNS( const TQString& nsURI, const TQString& localName );
      +
      +    // DOM read only attributes
      +    uint length() const;
      +    uint count() const { return length(); } // TQt API consitancy
      +
      +    // TQt extension
      +    bool contains( const TQString& name ) const;
      +
      +private:
      +    TQDomNamedNodeMapPrivate* impl;
      +    TQDomNamedNodeMap( TQDomNamedNodeMapPrivate* );
      +
      +    friend class TQDomNode;
      +    friend class TQDomDocumentType;
      +    friend class TQDomElement;
      +};
      +
      +class TQM_EXPORT_DOM TQDomDocumentFragment : public TQDomNode
      +{
      +public:
      +    TQDomDocumentFragment();
      +    TQDomDocumentFragment( const TQDomDocumentFragment& x );
      +    TQDomDocumentFragment& operator= ( const TQDomDocumentFragment& );
      +    ~TQDomDocumentFragment();
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isDocumentFragment() const;
      +
      +private:
      +    TQDomDocumentFragment( TQDomDocumentFragmentPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomCharacterData : public TQDomNode
      +{
      +public:
      +    TQDomCharacterData();
      +    TQDomCharacterData( const TQDomCharacterData& x );
      +    TQDomCharacterData& operator= ( const TQDomCharacterData& );
      +    ~TQDomCharacterData();
      +
      +    // DOM functions
      +    virtual TQString substringData( unsigned long offset, unsigned long count );
      +    virtual void appendData( const TQString& arg );
      +    virtual void insertData( unsigned long offset, const TQString& arg );
      +    virtual void deleteData( unsigned long offset, unsigned long count );
      +    virtual void replaceData( unsigned long offset, unsigned long count, const TQString& arg );
      +
      +    // DOM read only attributes
      +    virtual uint length() const;
      +
      +    // DOM attributes
      +    virtual TQString data() const;
      +    virtual void setData( const TQString& );
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isCharacterData() const;
      +
      +private:
      +    TQDomCharacterData( TQDomCharacterDataPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomText;
      +    friend class TQDomComment;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomAttr : public TQDomNode
      +{
      +public:
      +    TQDomAttr();
      +    TQDomAttr( const TQDomAttr& x );
      +    TQDomAttr& operator= ( const TQDomAttr& );
      +    ~TQDomAttr();
      +
      +    // DOM read only attributes
      +    virtual TQString name() const;
      +    virtual bool specified() const;
      +    virtual TQDomElement ownerElement() const;
      +
      +    // DOM attributes
      +    virtual TQString value() const;
      +    virtual void setValue( const TQString& );
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isAttr() const;
      +
      +private:
      +    TQDomAttr( TQDomAttrPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomElement;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomElement : public TQDomNode
      +{
      +public:
      +    TQDomElement();
      +    TQDomElement( const TQDomElement& x );
      +    TQDomElement& operator= ( const TQDomElement& );
      +    ~TQDomElement();
      +
      +    // DOM functions
      +    TQString attribute( const TQString& name, const TQString& defValue = TQString::null ) const;
      +    void setAttribute( const TQString& name, const TQString& value );
      +    void setAttribute( const TQString& name, int value );
      +    void setAttribute( const TQString& name, uint value );
      +    void setAttribute( const TQString& name, long value );
      +    void setAttribute( const TQString& name, ulong value );
      +    void setAttribute( const TQString& name, double value );
      +    void removeAttribute( const TQString& name );
      +    TQDomAttr attributeNode( const TQString& name);
      +    TQDomAttr setAttributeNode( const TQDomAttr& newAttr );
      +    TQDomAttr removeAttributeNode( const TQDomAttr& oldAttr );
      +    virtual TQDomNodeList elementsByTagName( const TQString& tagname ) const;
      +    bool hasAttribute( const TQString& name ) const;
      +
      +    TQString attributeNS( const TQString nsURI, const TQString& localName, const TQString& defValue ) const;
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, const TQString& value );
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, int value );
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, uint value );
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, long value );
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, ulong value );
      +    void setAttributeNS( const TQString nsURI, const TQString& qName, double value );
      +    void removeAttributeNS( const TQString& nsURI, const TQString& localName );
      +    TQDomAttr attributeNodeNS( const TQString& nsURI, const TQString& localName );
      +    TQDomAttr setAttributeNodeNS( const TQDomAttr& newAttr );
      +    virtual TQDomNodeList elementsByTagNameNS( const TQString& nsURI, const TQString& localName ) const;
      +    bool hasAttributeNS( const TQString& nsURI, const TQString& localName ) const;
      +
      +    // DOM read only attributes
      +    TQString tagName() const;
      +    void setTagName( const TQString& name ); // TQt extension
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNamedNodeMap attributes() const;
      +    TQDomNode::NodeType nodeType() const;
      +    bool isElement() const;
      +
      +    TQString text() const;
      +
      +private:
      +    TQDomElement( TQDomElementPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +    friend class TQDomAttr;
      +};
      +
      +class TQM_EXPORT_DOM TQDomText : public TQDomCharacterData
      +{
      +public:
      +    TQDomText();
      +    TQDomText( const TQDomText& x );
      +    TQDomText& operator= ( const TQDomText& );
      +    ~TQDomText();
      +
      +    // DOM functions
      +    TQDomText splitText( int offset );
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isText() const;
      +
      +private:
      +    TQDomText( TQDomTextPrivate* );
      +
      +    friend class TQDomCDATASection;
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomComment : public TQDomCharacterData
      +{
      +public:
      +    TQDomComment();
      +    TQDomComment( const TQDomComment& x );
      +    TQDomComment& operator= ( const TQDomComment& );
      +    ~TQDomComment();
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isComment() const;
      +
      +private:
      +    TQDomComment( TQDomCommentPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomCDATASection : public TQDomText
      +{
      +public:
      +    TQDomCDATASection();
      +    TQDomCDATASection( const TQDomCDATASection& x );
      +    TQDomCDATASection& operator= ( const TQDomCDATASection& );
      +    ~TQDomCDATASection();
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isCDATASection() const;
      +
      +private:
      +    TQDomCDATASection( TQDomCDATASectionPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomNotation : public TQDomNode
      +{
      +public:
      +    TQDomNotation();
      +    TQDomNotation( const TQDomNotation& x );
      +    TQDomNotation& operator= ( const TQDomNotation& );
      +    ~TQDomNotation();
      +
      +    // DOM read only attributes
      +    TQString publicId() const;
      +    TQString systemId() const;
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isNotation() const;
      +
      +private:
      +    TQDomNotation( TQDomNotationPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomEntity : public TQDomNode
      +{
      +public:
      +    TQDomEntity();
      +    TQDomEntity( const TQDomEntity& x );
      +    TQDomEntity& operator= ( const TQDomEntity& );
      +    ~TQDomEntity();
      +
      +    // DOM read only attributes
      +    virtual TQString publicId() const;
      +    virtual TQString systemId() const;
      +    virtual TQString notationName() const;
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isEntity() const;
      +
      +private:
      +    TQDomEntity( TQDomEntityPrivate* );
      +
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomEntityReference : public TQDomNode
      +{
      +public:
      +    TQDomEntityReference();
      +    TQDomEntityReference( const TQDomEntityReference& x );
      +    TQDomEntityReference& operator= ( const TQDomEntityReference& );
      +    ~TQDomEntityReference();
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isEntityReference() const;
      +
      +private:
      +    TQDomEntityReference( TQDomEntityReferencePrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +class TQM_EXPORT_DOM TQDomProcessingInstruction : public TQDomNode
      +{
      +public:
      +    TQDomProcessingInstruction();
      +    TQDomProcessingInstruction( const TQDomProcessingInstruction& x );
      +    TQDomProcessingInstruction& operator= ( const TQDomProcessingInstruction& );
      +    ~TQDomProcessingInstruction();
      +
      +    // DOM read only attributes
      +    virtual TQString target() const;
      +
      +    // DOM attributes
      +    virtual TQString data() const;
      +    virtual void setData( const TQString& d );
      +
      +    // Reimplemented from TQDomNode
      +    TQDomNode::NodeType nodeType() const;
      +    bool isProcessingInstruction() const;
      +
      +private:
      +    TQDomProcessingInstruction( TQDomProcessingInstructionPrivate* );
      +
      +    friend class TQDomDocument;
      +    friend class TQDomNode;
      +};
      +
      +
      +TQM_EXPORT_DOM TQTextStream& operator<<( TQTextStream&, const TQDomNode& );
      +
      +#endif //TQT_NO_DOM
      +#endif // TQDOM_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomattr-members.html b/doc/html/tqdomattr-members.html new file mode 100644 index 000000000..2497a06d7 --- /dev/null +++ b/doc/html/tqdomattr-members.html @@ -0,0 +1,112 @@ + + + + + +TQDomAttr Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomAttr

      + +

      This is the complete list of member functions for +TQDomAttr, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomattr.html b/doc/html/tqdomattr.html new file mode 100644 index 000000000..051f77056 --- /dev/null +++ b/doc/html/tqdomattr.html @@ -0,0 +1,165 @@ + + + + + +TQDomAttr Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomAttr Class Reference
      [XML module]

      + +

      The TQDomAttr class represents one attribute of a TQDomElement. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomAttr class represents one attribute of a TQDomElement. + +

      + +

      For example, the following piece of XML produces an element with +no children, but two attributes: +

      +    <link href="http://www.trolltech.com" color="red" />
      +    
      + +

      You can access the attributes of an element with code like this: +

      +    TQDomElement e = //...
      +    //...
      +    TQDomAttr a = e.attributeNode( "href" );
      +    cout << a.value() << endl;                // prints "http://www.trolltech.com"
      +    a.setValue( "http://doc.trolltech.com" ); // change the node's attribute
      +    TQDomAttr a2 = e.attributeNode( "href" );
      +    cout << a2.value() << endl;               // prints "http://doc.trolltech.com"
      +    
      + +

      This example also shows that changing an attribute received from +an element changes the attribute of the element. If you do not +want to change the value of the element's attribute you must +use cloneNode() to get an independent copy of the attribute. +

      TQDomAttr can return the name() and value() of an attribute. An +attribute's value is set with setValue(). If specified() returns +TRUE the value was either set in the document or set with +setValue(); otherwise the value hasn't been set. The node this +attribute is attached to (if any) is returned by ownerElement(). +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomAttr::TQDomAttr () +

      +Constructs an empty attribute. + +

      TQDomAttr::TQDomAttr ( const TQDomAttr & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomAttr::~TQDomAttr () +

      +Destroys the object and frees its resources. + +

      bool TQDomAttr::isAttr () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQString TQDomAttr::name () const [virtual] +

      +Returns the attribute's name. + +

      TQDomNode::NodeType TQDomAttr::nodeType () const [virtual] +

      +Returns AttributeNode. + +

      Reimplemented from TQDomNode. +

      TQDomAttr & TQDomAttr::operator= ( const TQDomAttr & x ) +

      +Assigns x to this DOM attribute. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomElement TQDomAttr::ownerElement () const [virtual] +

      +Returns the element node this attribute is attached to or a null node if this attribute is not +attached to any element. + +

      void TQDomAttr::setValue ( const TQString & v ) [virtual] +

      +Sets the attribute's value to v. +

      See also value(). + +

      bool TQDomAttr::specified () const [virtual] +

      +Returns TRUE if the attribute has either been expicitly specified +in the XML document or was set by the user with setValue(). +Returns FALSE if the value hasn't been specified or set. +

      See also setValue(). + +

      TQString TQDomAttr::value () const [virtual] +

      +Returns the value of the attribute or TQString::null if the +attribute has not been specified. +

      See also specified() and setValue(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcdatasection-members.html b/doc/html/tqdomcdatasection-members.html new file mode 100644 index 000000000..a33dd4dbe --- /dev/null +++ b/doc/html/tqdomcdatasection-members.html @@ -0,0 +1,116 @@ + + + + + +TQDomCDATASection Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomCDATASection

      + +

      This is the complete list of member functions for +TQDomCDATASection, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcdatasection.html b/doc/html/tqdomcdatasection.html new file mode 100644 index 000000000..6d2f58058 --- /dev/null +++ b/doc/html/tqdomcdatasection.html @@ -0,0 +1,116 @@ + + + + + +TQDomCDATASection Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomCDATASection Class Reference
      [XML module]

      + +

      The TQDomCDATASection class represents an XML CDATA section. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomText. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomCDATASection class represents an XML CDATA section. + +

      + +

      CDATA sections are used to escape blocks of text containing +characters that would otherwise be regarded as markup. The only +delimiter that is recognized in a CDATA section is the "]]>" +string that terminates the CDATA section. CDATA sections cannot be +nested. Their primary purpose is for including material such as +XML fragments, without needing to escape all the delimiters. +

      Adjacent TQDomCDATASection nodes are not merged by the +TQDomNode::normalize() function. +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomCDATASection::TQDomCDATASection () +

      +Constructs an empty CDATA section. To create a CDATA section with +content, use the TQDomDocument::createCDATASection() function. + +

      TQDomCDATASection::TQDomCDATASection ( const TQDomCDATASection & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomCDATASection::~TQDomCDATASection () +

      +Destroys the object and frees its resources. + +

      bool TQDomCDATASection::isCDATASection () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomCDATASection::nodeType () const [virtual] +

      +Returns CDATASection. + +

      Reimplemented from TQDomText. +

      TQDomCDATASection & TQDomCDATASection::operator= ( const TQDomCDATASection & x ) +

      +Assigns x to this CDATA section. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcharacterdata-members.html b/doc/html/tqdomcharacterdata-members.html new file mode 100644 index 000000000..e72794a7c --- /dev/null +++ b/doc/html/tqdomcharacterdata-members.html @@ -0,0 +1,115 @@ + + + + + +TQDomCharacterData Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomCharacterData

      + +

      This is the complete list of member functions for +TQDomCharacterData, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcharacterdata.html b/doc/html/tqdomcharacterdata.html new file mode 100644 index 000000000..4834f5222 --- /dev/null +++ b/doc/html/tqdomcharacterdata.html @@ -0,0 +1,160 @@ + + + + + +TQDomCharacterData Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomCharacterData Class Reference
      [XML module]

      + +

      The TQDomCharacterData class represents a generic string in the DOM. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      Inherited by TQDomText and TQDomComment. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomCharacterData class represents a generic string in the DOM. + +

      + +

      Character data as used in XML specifies a generic data string. +More specialized versions of this class are TQDomText, TQDomComment +and TQDomCDATASection. +

      The data string is set with setData() and retrieved with data(). +You can retrieve a portion of the data string using +substringData(). Extra data can be appended with appendData(), or +inserted with insertData(). Portions of the data string can be +deleted with deleteData() or replaced with replaceData(). The +length of the data string is returned by length(). +

      The node type of the node containing this character data is +returned by nodeType(). +

      See also TQDomText, TQDomComment, TQDomCDATASection, and XML. + +


      Member Function Documentation

      +

      TQDomCharacterData::TQDomCharacterData () +

      +Constructs an empty character data object. + +

      TQDomCharacterData::TQDomCharacterData ( const TQDomCharacterData & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomCharacterData::~TQDomCharacterData () +

      +Destroys the object and frees its resources. + +

      void TQDomCharacterData::appendData ( const TQString & arg ) [virtual] +

      +Appends the string arg to the stored string. + +

      TQString TQDomCharacterData::data () const [virtual] +

      +Returns the string stored in this object. +

      If the node is a null node, it will return +TQString::null. + +

      void TQDomCharacterData::deleteData ( unsigned long offset, unsigned long count ) [virtual] +

      +Deletes a substring of length count from position offset. + +

      void TQDomCharacterData::insertData ( unsigned long offset, const TQString & arg ) [virtual] +

      +Inserts the string arg into the stored string at position offset. + +

      bool TQDomCharacterData::isCharacterData () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      uint TQDomCharacterData::length () const [virtual] +

      +Returns the length of the stored string. + +

      TQDomNode::NodeType TQDomCharacterData::nodeType () const [virtual] +

      +Returns the type of node this object refers to (i.e. TextNode, +CDATASectionNode, CommentNode or CharacterDataNode). For +a null node CharacterDataNode is +returned. + +

      Reimplemented from TQDomNode. +

      Reimplemented in TQDomText and TQDomComment. +

      TQDomCharacterData & TQDomCharacterData::operator= ( const TQDomCharacterData & x ) +

      +Assigns x to this character data. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      void TQDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg ) [virtual] +

      +Replaces the substring of length count starting at position offset with the string arg. + +

      void TQDomCharacterData::setData ( const TQString & v ) [virtual] +

      +Sets this object's string to v. + +

      TQString TQDomCharacterData::substringData ( unsigned long offset, unsigned long count ) [virtual] +

      +Returns the substring of length count from position offset. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcomment-members.html b/doc/html/tqdomcomment-members.html new file mode 100644 index 000000000..83aefe6b4 --- /dev/null +++ b/doc/html/tqdomcomment-members.html @@ -0,0 +1,115 @@ + + + + + +TQDomComment Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomComment

      + +

      This is the complete list of member functions for +TQDomComment, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomcomment.html b/doc/html/tqdomcomment.html new file mode 100644 index 000000000..72f411ed1 --- /dev/null +++ b/doc/html/tqdomcomment.html @@ -0,0 +1,114 @@ + + + + + +TQDomComment Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomComment Class Reference
      [XML module]

      + +

      The TQDomComment class represents an XML comment. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomCharacterData. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomComment class represents an XML comment. + +

      + +

      A comment in the parsed XML such as this: +

      +    <!-- this is a comment -->
      +    
      + +is represented by TQDomComment objects in the parsed Dom tree. +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomComment::TQDomComment () +

      +Constructs an empty comment. To construct a comment with content, +use the TQDomDocument::createComment() function. + +

      TQDomComment::TQDomComment ( const TQDomComment & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomComment::~TQDomComment () +

      +Destroys the object and frees its resources. + +

      bool TQDomComment::isComment () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomComment::nodeType () const [virtual] +

      +Returns CommentNode. + +

      Reimplemented from TQDomCharacterData. +

      TQDomComment & TQDomComment::operator= ( const TQDomComment & x ) +

      +Assigns x to this DOM comment. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocument-members.html b/doc/html/tqdomdocument-members.html new file mode 100644 index 000000000..0b89557e0 --- /dev/null +++ b/doc/html/tqdomdocument-members.html @@ -0,0 +1,127 @@ + + + + + +TQDomDocument Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomDocument

      + +

      This is the complete list of member functions for +TQDomDocument, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocument.html b/doc/html/tqdomdocument.html new file mode 100644 index 000000000..b0d145098 --- /dev/null +++ b/doc/html/tqdomdocument.html @@ -0,0 +1,504 @@ + + + + + +TQDomDocument Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomDocument Class Reference
      [XML module]

      + +

      The TQDomDocument class represents an XML document. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      +
        +
      • TQDomDocument ()
      • +
      • explicit TQDomDocument ( const TQString & name )
      • +
      • explicit TQDomDocument ( const TQDomDocumentType & doctype )
      • +
      • TQDomDocument ( const TQDomDocument & x )
      • +
      • TQDomDocument & operator= ( const TQDomDocument & x )
      • +
      • ~TQDomDocument ()
      • +
      • TQDomElement createElement ( const TQString & tagName )
      • +
      • TQDomDocumentFragment createDocumentFragment ()
      • +
      • TQDomText createTextNode ( const TQString & value )
      • +
      • TQDomComment createComment ( const TQString & value )
      • +
      • TQDomCDATASection createCDATASection ( const TQString & value )
      • +
      • TQDomProcessingInstruction createProcessingInstruction ( const TQString & target, const TQString & data )
      • +
      • TQDomAttr createAttribute ( const TQString & name )
      • +
      • TQDomEntityReference createEntityReference ( const TQString & name )
      • +
      • TQDomNodeList elementsByTagName ( const TQString & tagname ) const
      • +
      • TQDomNode importNode ( const TQDomNode & importedNode, bool deep )
      • +
      • TQDomElement createElementNS ( const TQString & nsURI, const TQString & qName )
      • +
      • TQDomAttr createAttributeNS ( const TQString & nsURI, const TQString & qName )
      • +
      • TQDomNodeList elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )
      • +
      • TQDomElement elementById ( const TQString & elementId )
      • +
      • TQDomDocumentType doctype () const
      • +
      • TQDomImplementation implementation () const
      • +
      • TQDomElement documentElement () const
      • +
      • bool setContent ( const TQCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( const TQByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( const TQCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( const TQByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • bool setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )
      • +
      • virtual TQDomNode::NodeType nodeType () const
      • +
      • virtual bool isDocument () const
      • +
      • TQString toString () const
      • +
      • TQString toString ( int indent ) const
      • +
      • TQCString toCString () const
      • +
      • TQCString toCString ( int indent ) const
      • +
      +

      Detailed Description

      + + + +The TQDomDocument class represents an XML document. + +

      + +

      The TQDomDocument class represents the entire XML document. +Conceptually, it is the root of the document tree, and provides +the primary access to the document's data. +

      Since elements, text nodes, comments, processing instructions, +etc., cannot exist outside the context of a document, the document +class also contains the factory functions needed to create these +objects. The node objects created have an ownerDocument() function +which associates them with the document within whose context they +were created. The DOM classes that will be used most often are +TQDomNode, TQDomDocument, TQDomElement and TQDomText. +

      The parsed XML is represented internally by a tree of objects that +can be accessed using the various TQDom classes. All TQDom classes +only reference objects in the internal tree. The internal +objects in the DOM tree will get deleted once the last TQDom +object referencing them and the TQDomDocument itself are deleted. +

      Creation of elements, text nodes, etc. is done using the various +factory functions provided in this class. Using the default +constructors of the TQDom classes will only result in empty +objects that cannot be manipulated or inserted into the Document. +

      The TQDomDocument class has several functions for creating document +data, for example, createElement(), createTextNode(), +createComment(), createCDATASection(), +createProcessingInstruction(), createAttribute() and +createEntityReference(). Some of these functions have versions +that support namespaces, i.e. createElementNS() and +createAttributeNS(). The createDocumentFragment() function is used +to hold parts of the document; this is useful for manipulating for +complex documents. +

      The entire content of the document is set with setContent(). This +function parses the string it is passed as an XML document and +creates the DOM tree that represents the document. The root +element is available using documentElement(). The textual +representation of the document can be obtained using toString(). +

      It is possible to insert a node from another document into the +document using importNode(). +

      You can obtain a list of all the elements that have a particular +tag with elementsByTagName() or with elementsByTagNameNS(). +

      The TQDom classes are typically used as follows: +

      +    TQDomDocument doc( "mydocument" );
      +    TQFile file( "mydocument.xml" );
      +    if ( !file.open( IO_ReadOnly ) )
      +        return;
      +    if ( !doc.setContent( &file ) ) {
      +        file.close();
      +        return;
      +    }
      +    file.close();
      +
      +    // print out the element names of all elements that are direct children
      +    // of the outermost element.
      +    TQDomElement docElem = doc.documentElement();
      +
      +    TQDomNode n = docElem.firstChild();
      +    while( !n.isNull() ) {
      +        TQDomElement e = n.toElement(); // try to convert the node to an element.
      +        if( !e.isNull() ) {
      +            cout << e.tagName() << endl; // the node really is an element.
      +        }
      +        n = n.nextSibling();
      +    }
      +
      +    // Here we append a new element to the end of the document
      +    TQDomElement elem = doc.createElement( "img" );
      +    elem.setAttribute( "src", "myimage.png" );
      +    docElem.appendChild( elem );
      +    
      + +

      Once doc and elem go out of scope, the whole internal tree +representing the XML document is deleted. +

      To create a document using DOM use code like this: +

      +    TQDomDocument doc( "MyML" );
      +    TQDomElement root = doc.createElement( "MyML" );
      +    doc.appendChild( root );
      +
      +    TQDomElement tag = doc.createElement( "Greeting" );
      +    root.appendChild( tag );
      +
      +    TQDomText t = doc.createTextNode( "Hello World" );
      +    tag.appendChild( t );
      +
      +    TQString xml = doc.toString();
      +    
      + +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomDocument::TQDomDocument () +

      +Constructs an empty document. + +

      explicit TQDomDocument::TQDomDocument ( const TQString & name ) +

      +Creates a document and sets the name of the document type to name. + +

      explicit TQDomDocument::TQDomDocument ( const TQDomDocumentType & doctype ) +

      +Creates a document with the document type doctype. +

      See also TQDomImplementation::createDocumentType(). + +

      TQDomDocument::TQDomDocument ( const TQDomDocument & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomDocument::~TQDomDocument () +

      +Destroys the object and frees its resources. + +

      TQDomAttr TQDomDocument::createAttribute ( const TQString & name ) +

      +Creates a new attribute called name that can be inserted into +an element, e.g. using TQDomElement::setAttributeNode(). +

      See also createAttributeNS(). + +

      TQDomAttr TQDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName ) +

      +Creates a new attribute with namespace support that can be +inserted into an element. The name of the attribute is qName +and the namespace URI is nsURI. This function also sets +TQDomNode::prefix() and TQDomNode::localName() to appropriate values +(depending on qName). +

      See also createAttribute(). + +

      TQDomCDATASection TQDomDocument::createCDATASection ( const TQString & value ) +

      +Creates a new CDATA section for the string value that can be +inserted into the document, e.g. using TQDomNode::appendChild(). +

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomComment TQDomDocument::createComment ( const TQString & value ) +

      +Creates a new comment for the string value that can be inserted +into the document, e.g. using TQDomNode::appendChild(). +

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomDocumentFragment TQDomDocument::createDocumentFragment () +

      +Creates a new document fragment, that can be used to hold parts of +the document, e.g. when doing complex manipulations of the +document tree. + +

      TQDomElement TQDomDocument::createElement ( const TQString & tagName ) +

      +Creates a new element called tagName that can be inserted into +the DOM tree, e.g. using TQDomNode::appendChild(). +

      See also createElementNS(), TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomElement TQDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName ) +

      +Creates a new element with namespace support that can be inserted +into the DOM tree. The name of the element is qName and the +namespace URI is nsURI. This function also sets +TQDomNode::prefix() and TQDomNode::localName() to appropriate values +(depending on qName). +

      See also createElement(). + +

      TQDomEntityReference TQDomDocument::createEntityReference ( const TQString & name ) +

      +Creates a new entity reference called name that can be inserted +into the document, e.g. using TQDomNode::appendChild(). +

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomProcessingInstruction TQDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data ) +

      +Creates a new processing instruction that can be inserted into the +document, e.g. using TQDomNode::appendChild(). This function sets +the target for the processing instruction to target and the +data to data. +

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomText TQDomDocument::createTextNode ( const TQString & value ) +

      +Creates a text node for the string value that can be inserted +into the document tree, e.g. using TQDomNode::appendChild(). +

      Warning: All characters within an XML document must be in the range: +

      #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] +

      This rule also applies to characters encoded as character entities and +characters in CDATA sections. If you use this function to insert +characters outside of this range, the document will not be well-formed. +

      If you want to store binary data in an XML document you must either use +your own scheme to escape illegal characters, or you must store it in +an external unparsed entity. +

      See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). + +

      TQDomDocumentType TQDomDocument::doctype () const +

      +Returns the document type of this document. + +

      TQDomElement TQDomDocument::documentElement () const +

      +Returns the root element of the document. + +

      TQDomElement TQDomDocument::elementById ( const TQString & elementId ) +

      +Returns the element whose ID is equal to elementId. If no +element with the ID was found, this function returns a null element. +

      Since the TQDomClasses do not know which attributes are element +IDs, this function returns always a null + element. This may change in a future version. + +

      TQDomNodeList TQDomDocument::elementsByTagName ( const TQString & tagname ) const +

      +Returns a TQDomNodeList, that contains all the elements in the +document with the name tagname. The order of the node list is +the order they are encountered in a preorder traversal of the +element tree. +

      See also elementsByTagNameNS() and TQDomElement::elementsByTagName(). + +

      TQDomNodeList TQDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) +

      +Returns a TQDomNodeList that contains all the elements in the +document with the local name localName and a namespace URI of +nsURI. The order of the node list is the order they are +encountered in a preorder traversal of the element tree. +

      See also elementsByTagName() and TQDomElement::elementsByTagNameNS(). + +

      TQDomImplementation TQDomDocument::implementation () const +

      +Returns a TQDomImplementation object. + +

      TQDomNode TQDomDocument::importNode ( const TQDomNode & importedNode, bool deep ) +

      +Imports the node importedNode from another document to this +document. importedNode remains in the original document; this +function creates a copy that can be used within this document. +

      This function returns the imported node that belongs to this +document. The returned node has no parent. It is not possible to +import TQDomDocument and TQDomDocumentType nodes. In those cases +this function returns a null node. +

      If deep is TRUE, this function imports not only the node importedNode but its whole subtree; if it is FALSE, only the importedNode is imported. The argument deep has no effect on +TQDomAttr and TQDomEntityReference nodes, since the descendents of +TQDomAttr nodes are always imported and those of +TQDomEntityReference nodes are never imported. +

      The behavior of this function is slightly different depending on +the node types: +

      +
      Node Type Behaviour +
      TQDomAttr +The owner element is set to 0 and the specified flag is +set to TRUE in the generated attribute. The whole subtree +of importedNode is always imported for attribute nodes: +deep has no effect. +
      TQDomDocument +Document nodes cannot be imported. +
      TQDomDocumentFragment +If deep is TRUE, this function imports the whole +document fragment; otherwise it only generates an empty +document fragment. +
      TQDomDocumentType +Document type nodes cannot be imported. +
      TQDomElement +Attributes for which TQDomAttr::specified() is TRUE are +also imported, other attributes are not imported. If deep is TRUE, this function also imports the subtree of importedNode; otherwise it imports only the element node +(and some attributes, see above). +
      TQDomEntity +Entity nodes can be imported, but at the moment there is +no way to use them since the document type is read-only in +DOM level 2. +
      TQDomEntityReference +Descendents of entity reference nodes are never imported: +deep has no effect. +
      TQDomNotation +Notation nodes can be imported, but at the moment there is +no way to use them since the document type is read-only in +DOM level 2. +
      TQDomProcessingInstruction +The target and value of the processing instruction is +copied to the new node. +
      TQDomText +The text is copied to the new node. +
      TQDomCDATASection +The text is copied to the new node. +
      TQDomComment +The text is copied to the new node. +
      +

      See also TQDomElement::setAttribute(), TQDomNode::insertBefore(), TQDomNode::insertAfter(), TQDomNode::replaceChild(), TQDomNode::removeChild(), and TQDomNode::appendChild(). + +

      bool TQDomDocument::isDocument () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomDocument::nodeType () const [virtual] +

      +Returns DocumentNode. + +

      Reimplemented from TQDomNode. +

      TQDomDocument & TQDomDocument::operator= ( const TQDomDocument & x ) +

      +Assigns x to this DOM document. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      bool TQDomDocument::setContent ( const TQByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This function parses the XML document from the byte array buffer and sets it as the content of the document. It tries to +detect the encoding of the document as required by the XML +specification. +

      If namespaceProcessing is TRUE, the parser recognizes +namespaces in the XML file and sets the prefix name, local name +and namespace URI to appropriate values. If namespaceProcessing +is FALSE, the parser does no namespace processing when it reads +the XML file. +

      If a parse error occurs, the function returns FALSE; otherwise it +returns TRUE. If a parse error occurs and errorMsg, errorLine and errorColumn are not 0, the error message is +placed in *errorMsg, the line number *errorLine and the +column number in *errorColumn. +

      If namespaceProcessing is TRUE, the function TQDomNode::prefix() +returns a string for all elements and attributes. It returns an +empty string if the element or attribute has no prefix. +

      If namespaceProcessing is FALSE, the functions +TQDomNode::prefix(), TQDomNode::localName() and +TQDomNode::namespaceURI() return TQString::null. +

      See also TQDomNode::namespaceURI(), TQDomNode::localName(), TQDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). + +

      bool TQDomDocument::setContent ( const TQCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the C string buffer. +

      Warning: This function does not try to detect the encoding: +instead it assumes that the C string is UTF-8 encoded. + +

      bool TQDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the string text. +Since text is already a Unicode string, no encoding detection +is done. + +

      bool TQDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the IO device dev. + +

      bool TQDomDocument::setContent ( const TQCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the C string buffer. +

      No namespace processing is performed. +

      Warning: This function does not try to detect the encoding: +instead it assumes that the C string is UTF-8 encoded. + +

      bool TQDomDocument::setContent ( const TQByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the byte array buffer. +

      No namespace processing is performed. + +

      bool TQDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the string text. +Since text is already a Unicode string, no encoding detection +is performed. +

      No namespace processing is performed either. + +

      bool TQDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the IO device dev. +

      No namespace processing is performed. + +

      bool TQDomDocument::setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function reads the XML document from the TQXmlInputSource source and +parses it with the TQXmlReader reader. +

      This function doesn't change the features of the reader. If you want to +use certain features for parsing you can use this function to set up the +reader appropriate. +

      See also TQXmlSimpleReader. + +

      TQCString TQDomDocument::toCString () const +

      +Converts the parsed document back to its textual representation +and returns a TQCString for that is encoded in UTF-8. +

      See also toString(). + +

      TQCString TQDomDocument::toCString ( int indent ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function uses indent as the amount of space to indent +subelements. + +

      TQString TQDomDocument::toString () const +

      +Converts the parsed document back to its textual representation. +

      See also toCString(). + +

      TQString TQDomDocument::toString ( int indent ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function uses indent as the amount of space to indent +subelements. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocumentfragment-members.html b/doc/html/tqdomdocumentfragment-members.html new file mode 100644 index 000000000..0f4b47c82 --- /dev/null +++ b/doc/html/tqdomdocumentfragment-members.html @@ -0,0 +1,107 @@ + + + + + +TQDomDocumentFragment Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomDocumentFragment

      + +

      This is the complete list of member functions for +TQDomDocumentFragment, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocumentfragment.html b/doc/html/tqdomdocumentfragment.html new file mode 100644 index 000000000..58f0505ab --- /dev/null +++ b/doc/html/tqdomdocumentfragment.html @@ -0,0 +1,117 @@ + + + + + +TQDomDocumentFragment Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomDocumentFragment Class Reference
      [XML module]

      + +

      The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. + +

      + +

      If you want to do complex tree operations it is useful to have a +lightweight class to store nodes and their relations. +TQDomDocumentFragment stores a subtree of a document which does not +necessarily represent a well-formed XML document. +

      TQDomDocumentFragment is also useful if you want to group several +nodes in a list and insert them all together as children of some +node. In these cases TQDomDocumentFragment can be used as a +temporary container for this list of children. +

      The most important feature of TQDomDocumentFragment is that it is +treated in a special way by TQDomNode::insertAfter(), +TQDomNode::insertBefore(), TQDomNode::replaceChild() and +TQDomNode::appendChild(): instead of inserting the fragment itself, all +the fragment's children are inserted. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomDocumentFragment::TQDomDocumentFragment () +

      +Constructs an empty document fragment. + +

      TQDomDocumentFragment::TQDomDocumentFragment ( const TQDomDocumentFragment & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomDocumentFragment::~TQDomDocumentFragment () +

      +Destroys the object and frees its resources. + +

      bool TQDomDocumentFragment::isDocumentFragment () const [virtual] +

      +This function reimplements TQDomNode::isDocumentFragment(). +

      See also nodeType() and TQDomNode::toDocumentFragment(). + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomDocumentFragment::nodeType () const [virtual] +

      +Returns DocumentFragment. +

      See also isDocumentFragment() and TQDomNode::toDocumentFragment(). + +

      Reimplemented from TQDomNode. +

      TQDomDocumentFragment & TQDomDocumentFragment::operator= ( const TQDomDocumentFragment & x ) +

      +Assigns x to this DOM document fragment. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocumenttype-members.html b/doc/html/tqdomdocumenttype-members.html new file mode 100644 index 000000000..29dd79d4e --- /dev/null +++ b/doc/html/tqdomdocumenttype-members.html @@ -0,0 +1,113 @@ + + + + + +TQDomDocumentType Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomDocumentType

      + +

      This is the complete list of member functions for +TQDomDocumentType, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomdocumenttype.html b/doc/html/tqdomdocumenttype.html new file mode 100644 index 000000000..8f171a0fa --- /dev/null +++ b/doc/html/tqdomdocumenttype.html @@ -0,0 +1,150 @@ + + + + + +TQDomDocumentType Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomDocumentType Class Reference
      [XML module]

      + +

      The TQDomDocumentType class is the representation of the DTD +in the document tree. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomDocumentType class is the representation of the DTD +in the document tree. + +

      + +

      The TQDomDocumentType class allows read-only access to some of the +data structures in the DTD: it can return a map of all entities() +and notations(). In addition the function name() returns the name +of the document type as specified in the <!DOCTYPE name> +tag. This class also provides the publicId(), systemId() and +internalSubset() functions. +

      See also TQDomDocument and XML. + +


      Member Function Documentation

      +

      TQDomDocumentType::TQDomDocumentType () +

      +Creates an empty TQDomDocumentType object. + +

      TQDomDocumentType::TQDomDocumentType ( const TQDomDocumentType & n ) +

      +Constructs a copy of n. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomDocumentType::~TQDomDocumentType () +

      +Destroys the object and frees its resources. + +

      TQDomNamedNodeMap TQDomDocumentType::entities () const [virtual] +

      +Returns a map of all entities described in the DTD. + +

      TQString TQDomDocumentType::internalSubset () const [virtual] +

      +Returns the internal subset of the document type or TQString::null +if there is no internal subset. +

      See also publicId() and systemId(). + +

      bool TQDomDocumentType::isDocumentType () const [virtual] +

      +This function overloads TQDomNode::isDocumentType(). +

      See also nodeType() and TQDomNode::toDocumentType(). + +

      Reimplemented from TQDomNode. +

      TQString TQDomDocumentType::name () const [virtual] +

      +Returns the name of the document type as specified in the +<!DOCTYPE name> tag. +

      See also nodeName(). + +

      TQDomNode::NodeType TQDomDocumentType::nodeType () const [virtual] +

      +Returns DocumentTypeNode. +

      See also isDocumentType() and TQDomNode::toDocumentType(). + +

      Reimplemented from TQDomNode. +

      TQDomNamedNodeMap TQDomDocumentType::notations () const [virtual] +

      +Returns a map of all notations described in the DTD. + +

      TQDomDocumentType & TQDomDocumentType::operator= ( const TQDomDocumentType & n ) +

      +Assigns n to this document type. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQString TQDomDocumentType::publicId () const [virtual] +

      +Returns the public identifier of the external DTD subset or +TQString::null if there is no public identifier. +

      See also systemId(), internalSubset(), and TQDomImplementation::createDocumentType(). + +

      TQString TQDomDocumentType::systemId () const [virtual] +

      +Returns the system identifier of the external DTD subset or +TQString::null if there is no system identifier. +

      See also publicId(), internalSubset(), and TQDomImplementation::createDocumentType(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomelement-members.html b/doc/html/tqdomelement-members.html new file mode 100644 index 000000000..55a2cacb1 --- /dev/null +++ b/doc/html/tqdomelement-members.html @@ -0,0 +1,125 @@ + + + + + +TQDomElement Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomElement

      + +

      This is the complete list of member functions for +TQDomElement, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomelement.html b/doc/html/tqdomelement.html new file mode 100644 index 000000000..6a2bd1f6e --- /dev/null +++ b/doc/html/tqdomelement.html @@ -0,0 +1,350 @@ + + + + + +TQDomElement Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomElement Class Reference
      [XML module]

      + +

      The TQDomElement class represents one element in the DOM tree. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      +
        +
      • TQDomElement ()
      • +
      • TQDomElement ( const TQDomElement & x )
      • +
      • TQDomElement & operator= ( const TQDomElement & x )
      • +
      • ~TQDomElement ()
      • +
      • TQString attribute ( const TQString & name, const TQString & defValue = TQString::null ) const
      • +
      • void setAttribute ( const TQString & name, const TQString & value )
      • +
      • void setAttribute ( const TQString & name, int value )
      • +
      • void setAttribute ( const TQString & name, uint value )
      • +
      • void setAttribute ( const TQString & name, long value )
      • +
      • void setAttribute ( const TQString & name, ulong value )
      • +
      • void setAttribute ( const TQString & name, double value )
      • +
      • void removeAttribute ( const TQString & name )
      • +
      • TQDomAttr attributeNode ( const TQString & name )
      • +
      • TQDomAttr setAttributeNode ( const TQDomAttr & newAttr )
      • +
      • TQDomAttr removeAttributeNode ( const TQDomAttr & oldAttr )
      • +
      • virtual TQDomNodeList elementsByTagName ( const TQString & tagname ) const
      • +
      • bool hasAttribute ( const TQString & name ) const
      • +
      • TQString attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value )
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, int value )
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, uint value )
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, long value )
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value )
      • +
      • void setAttributeNS ( const TQString nsURI, const TQString & qName, double value )
      • +
      • void removeAttributeNS ( const TQString & nsURI, const TQString & localName )
      • +
      • TQDomAttr attributeNodeNS ( const TQString & nsURI, const TQString & localName )
      • +
      • TQDomAttr setAttributeNodeNS ( const TQDomAttr & newAttr )
      • +
      • virtual TQDomNodeList elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const
      • +
      • bool hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const
      • +
      • TQString tagName () const
      • +
      • void setTagName ( const TQString & name )
      • +
      • virtual TQDomNamedNodeMap attributes () const
      • +
      • virtual TQDomNode::NodeType nodeType () const
      • +
      • virtual bool isElement () const
      • +
      • TQString text () const
      • +
      +

      Detailed Description

      + + + +The TQDomElement class represents one element in the DOM tree. + +

      + +

      Elements have a tagName() and zero or more attributes associated +with them. The tag name can be changed with setTagName(). +

      Element attributes are represented by TQDomAttr objects that can +be queried using the attribute() and attributeNode() functions. +You can set attributes with the setAttribute() and +setAttributeNode() functions. Attributes can be removed with +removeAttribute(). There are namespace-aware equivalents to these +functions, i.e. setAttributeNS(), setAttributeNodeNS() and +removeAttributeNS(). +

      If you want to access the text of a node use text(), e.g. +

      +    TQDomElement e = //...
      +    //...
      +    TQString s = e.text()
      +    
      + +The text() function operates recursively to find the text (since +not all elements contain text). If you want to find all the text +in all of a node's children, iterate over the children looking for +TQDomText nodes, e.g. +
      +    TQString text;
      +    TQDomElement element = doc.documentElement();
      +    for( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() )
      +    {
      +        TQDomText t = n.toText();
      +        if ( !t.isNull() )
      +            text += t.data();
      +    }
      +    
      + +Note that we attempt to convert each node to a text node and use +text() rather than using firstChild().toText().data() or +n.toText().data() directly on the node, because the node may not +be a text element. +

      You can get a list of all the decendents of an element which have +a specified tag name with elementsByTagName() or +elementsByTagNameNS(). +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomElement::TQDomElement () +

      +Constructs an empty element. Use the TQDomDocument::createElement() +function to construct elements with content. + +

      TQDomElement::TQDomElement ( const TQDomElement & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomElement::~TQDomElement () +

      +Destroys the object and frees its resources. + +

      TQString TQDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const +

      +Returns the attribute called name. If the attribute does not +exist defValue is returned. +

      See also setAttribute(), attributeNode(), setAttributeNode(), and attributeNS(). + +

      TQString TQDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const +

      +Returns the attribute with the local name localName and the +namespace URI nsURI. If the attribute does not exist defValue is returned. +

      See also setAttributeNS(), attributeNodeNS(), setAttributeNodeNS(), and attribute(). + +

      TQDomAttr TQDomElement::attributeNode ( const TQString & name ) +

      +Returns the TQDomAttr object that corresponds to the attribute +called name. If no such attribute exists a null attribute is returned. +

      See also setAttributeNode(), attribute(), setAttribute(), and attributeNodeNS(). + +

      TQDomAttr TQDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName ) +

      +Returns the TQDomAttr object that corresponds to the attribute with +the local name localName and the namespace URI nsURI. If no +such attribute exists a null + attribute is returned. +

      See also setAttributeNode(), attribute(), and setAttribute(). + +

      TQDomNamedNodeMap TQDomElement::attributes () const [virtual] +

      +Returns a TQDomNamedNodeMap containing all this element's attributes. +

      See also attribute(), setAttribute(), attributeNode(), and setAttributeNode(). + +

      Reimplemented from TQDomNode. +

      TQDomNodeList TQDomElement::elementsByTagName ( const TQString & tagname ) const [virtual] +

      +Returns a TQDomNodeList containing all descendent elements of this +element that are called tagname. The order they are in the node +list is the order they are encountered in a preorder traversal of +the element tree. +

      See also elementsByTagNameNS() and TQDomDocument::elementsByTagName(). + +

      TQDomNodeList TQDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const [virtual] +

      +Returns a TQDomNodeList containing all the descendent elements of +this element with the local name localName and the namespace +URI nsURI. The order they are in the node list is the order +they are encountered in a preorder traversal of the element tree. +

      See also elementsByTagName() and TQDomDocument::elementsByTagNameNS(). + +

      bool TQDomElement::hasAttribute ( const TQString & name ) const +

      +Returns TRUE if this element has an attribute called name; +otherwise returns FALSE. + +

      bool TQDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const +

      +Returns TRUE if this element has an attribute with the local name +localName and the namespace URI nsURI; otherwise returns +FALSE. + +

      bool TQDomElement::isElement () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomElement::nodeType () const [virtual] +

      +Returns ElementNode. + +

      Reimplemented from TQDomNode. +

      TQDomElement & TQDomElement::operator= ( const TQDomElement & x ) +

      +Assigns x to this DOM element. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      void TQDomElement::removeAttribute ( const TQString & name ) +

      +Removes the attribute called name name from this element. +

      See also setAttribute(), attribute(), and removeAttributeNS(). + +

      void TQDomElement::removeAttributeNS ( const TQString & nsURI, const TQString & localName ) +

      +Removes the attribute with the local name localName and the +namespace URI nsURI from this element. +

      See also setAttributeNS(), attributeNS(), and removeAttribute(). + +

      TQDomAttr TQDomElement::removeAttributeNode ( const TQDomAttr & oldAttr ) +

      +Removes the attribute oldAttr from the element and returns it. +

      See also attributeNode() and setAttributeNode(). + +

      void TQDomElement::setAttribute ( const TQString & name, const TQString & value ) +

      +Adds an attribute called name with value value. If an +attribute with the same name exists, its value is replaced by value. +

      See also attribute(), setAttributeNode(), and setAttributeNS(). + +

      void TQDomElement::setAttribute ( const TQString & name, int value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttribute ( const TQString & name, uint value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttribute ( const TQString & name, long value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttribute ( const TQString & name, ulong value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttribute ( const TQString & name, double value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value ) +

      +Adds an attribute with the qualified name qName and the +namespace URI nsURI with the value value. If an attribute +with the same local name and namespace URI exists, its prefix is +replaced by the prefix of qName and its value is repaced by value. +

      Although qName is the qualified name, the local name is used to +decide if an existing attribute's value should be replaced. +

      See also attributeNS(), setAttributeNodeNS(), and setAttribute(). + +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, int value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, uint value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, long value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, double value ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      TQDomAttr TQDomElement::setAttributeNode ( const TQDomAttr & newAttr ) +

      +Adds the attribute newAttr to this element. +

      If the element has another attribute that has the same name as newAttr, this function replaces that attribute and returns it; +otherwise the function returns a null + attribute. +

      See also attributeNode(), setAttribute(), and setAttributeNodeNS(). + +

      TQDomAttr TQDomElement::setAttributeNodeNS ( const TQDomAttr & newAttr ) +

      +Adds the attribute newAttr to this element. +

      If the element has another attribute that has the same local name +and namespace URI as newAttr, this function replaces that +attribute and returns it; otherwise the function returns a null attribute. +

      See also attributeNodeNS(), setAttributeNS(), and setAttributeNode(). + +

      void TQDomElement::setTagName ( const TQString & name ) +

      +Sets this element's tag name to name. +

      See also tagName(). + +

      TQString TQDomElement::tagName () const +

      +Returns the tag name of this element. For an XML element like this: +
      +    <img src="myimg.png">
      +    
      + +the tagname would return "img". +

      See also setTagName(). + +

      TQString TQDomElement::text () const +

      +Returns the element's text or TQString::null. +

      Example: +

      +    <h1>Hello <b>TQt</b> <![CDATA[<xml is cool>]]></h1>
      +    
      + +

      The function text() of the TQDomElement for the <h1> tag, +will return "Hello TQt <xml is cool>". +

      Comments are ignored by this function. It only evaluates TQDomText +and TQDomCDATASection objects. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomentity-members.html b/doc/html/tqdomentity-members.html new file mode 100644 index 000000000..224789966 --- /dev/null +++ b/doc/html/tqdomentity-members.html @@ -0,0 +1,110 @@ + + + + + +TQDomEntity Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomEntity

      + +

      This is the complete list of member functions for +TQDomEntity, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomentity.html b/doc/html/tqdomentity.html new file mode 100644 index 000000000..0b335e8f4 --- /dev/null +++ b/doc/html/tqdomentity.html @@ -0,0 +1,138 @@ + + + + + +TQDomEntity Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomEntity Class Reference
      [XML module]

      + +

      The TQDomEntity class represents an XML entity. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomEntity class represents an XML entity. + +

      + +

      This class represents an entity in an XML document, either parsed +or unparsed. Note that this models the entity itself not the +entity declaration. +

      DOM does not support editing entity nodes; if a user wants to make +changes to the contents of an entity, every related +TQDomEntityReference node must be replaced in the DOM tree by a +clone of the entity's contents, and then the desired changes must +be made to each of the clones instead. All the descendents of an +entity node are read-only. +

      An entity node does not have any parent. +

      You can access the entity's publicId(), systemId() and +notationName() when available. +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomEntity::TQDomEntity () +

      +Constructs an empty entity. + +

      TQDomEntity::TQDomEntity ( const TQDomEntity & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomEntity::~TQDomEntity () +

      +Destroys the object and frees its resources. + +

      bool TQDomEntity::isEntity () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomEntity::nodeType () const [virtual] +

      +Returns EntityNode. + +

      Reimplemented from TQDomNode. +

      TQString TQDomEntity::notationName () const [virtual] +

      +For unparsed entities this function returns the name of the +notation for the entity. For parsed entities this function returns +TQString::null. + +

      TQDomEntity & TQDomEntity::operator= ( const TQDomEntity & x ) +

      +Assigns x to this DOM entity. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQString TQDomEntity::publicId () const [virtual] +

      +Returns the public identifier associated with this entity. If the +public identifier was not specified TQString::null is returned. + +

      TQString TQDomEntity::systemId () const [virtual] +

      +Returns the system identifier associated with this entity. If the +system identifier was not specified TQString::null is returned. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomentityreference-members.html b/doc/html/tqdomentityreference-members.html new file mode 100644 index 000000000..6365e07b4 --- /dev/null +++ b/doc/html/tqdomentityreference-members.html @@ -0,0 +1,107 @@ + + + + + +TQDomEntityReference Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomEntityReference

      + +

      This is the complete list of member functions for +TQDomEntityReference, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomentityreference.html b/doc/html/tqdomentityreference.html new file mode 100644 index 000000000..0b66e9b28 --- /dev/null +++ b/doc/html/tqdomentityreference.html @@ -0,0 +1,125 @@ + + + + + +TQDomEntityReference Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomEntityReference Class Reference
      [XML module]

      + +

      The TQDomEntityReference class represents an XML entity reference. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomEntityReference class represents an XML entity reference. + +

      + +

      A TQDomEntityReference object may be inserted into the DOM tree +when an entity reference is in the source document, or when the +user wishes to insert an entity reference. +

      Note that character references and references to predefined +entities are expanded by the XML processor so that characters are +represented by their Unicode equivalent rather than by an entity +reference. +

      Moreover, the XML processor may completely expand references to +entities while building the DOM tree, instead of providing +TQDomEntityReference objects. +

      If it does provide such objects, then for a given entity reference +node, it may be that there is no entity node representing the +referenced entity; but if such an entity exists, then the child +list of the entity reference node is the same as that of the +entity node. As with the entity node, all descendents of the +entity reference are read-only. +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomEntityReference::TQDomEntityReference () +

      +Constructs an empty entity reference. Use +TQDomDocument::createEntityReference() to create a entity reference +with content. + +

      TQDomEntityReference::TQDomEntityReference ( const TQDomEntityReference & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomEntityReference::~TQDomEntityReference () +

      +Destroys the object and frees its resources. + +

      bool TQDomEntityReference::isEntityReference () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomEntityReference::nodeType () const [virtual] +

      +Returns EntityReference. + +

      Reimplemented from TQDomNode. +

      TQDomEntityReference & TQDomEntityReference::operator= ( const TQDomEntityReference & x ) +

      +Assigns x to this entity reference. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomimplementation-members.html b/doc/html/tqdomimplementation-members.html new file mode 100644 index 000000000..347442ef1 --- /dev/null +++ b/doc/html/tqdomimplementation-members.html @@ -0,0 +1,55 @@ + + + + + +TQDomImplementation Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomImplementation

      + +

      This is the complete list of member functions for +TQDomImplementation, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomimplementation.html b/doc/html/tqdomimplementation.html new file mode 100644 index 000000000..36d495214 --- /dev/null +++ b/doc/html/tqdomimplementation.html @@ -0,0 +1,149 @@ + + + + + +TQDomImplementation Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomImplementation Class Reference
      [XML module]

      + +

      The TQDomImplementation class provides information about the +features of the DOM implementation. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      List of all member functions. +

      Public Members

      +
        +
      • TQDomImplementation ()
      • +
      • TQDomImplementation ( const TQDomImplementation & x )
      • +
      • virtual ~TQDomImplementation ()
      • +
      • TQDomImplementation & operator= ( const TQDomImplementation & x )
      • +
      • bool operator== ( const TQDomImplementation & x ) const
      • +
      • bool operator!= ( const TQDomImplementation & x ) const
      • +
      • virtual bool hasFeature ( const TQString & feature, const TQString & version )
      • +
      • virtual TQDomDocumentType createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )
      • +
      • virtual TQDomDocument createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )
      • +
      • bool isNull ()
      • +
      +

      Detailed Description

      + + + +The TQDomImplementation class provides information about the +features of the DOM implementation. + +

      + +

      This class describes the features that are supported by the DOM +implementation. Currently the XML subset of DOM Level 1 and DOM +Level 2 Core are supported. +

      Normally you will use the function TQDomDocument::implementation() +to get the implementation object. +

      You can create a new document type with createDocumentType() and a +new document with createDocument(). +

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general +introduction of the DOM implementation see the TQDomDocument +documentation. +

      See also hasFeature() and XML. + +


      Member Function Documentation

      +

      TQDomImplementation::TQDomImplementation () +

      +Constructs a TQDomImplementation object. + +

      TQDomImplementation::TQDomImplementation ( const TQDomImplementation & x ) +

      +Constructs a copy of x. + +

      TQDomImplementation::~TQDomImplementation () [virtual] +

      +Destroys the object and frees its resources. + +

      TQDomDocument TQDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype ) [virtual] +

      +Creates a DOM document with the document type doctype. This +function also adds a root element node with the qualified name qName and the namespace URI nsURI. + +

      TQDomDocumentType TQDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId ) [virtual] +

      +Creates a document type node for the name qName. +

      publicId specifies the public identifier of the external +subset. If you specify TQString::null as the publicId, this +means that the document type has no public identifier. +

      systemId specifies the system identifier of the external +subset. If you specify TQString::null as the systemId, this +means that the document type has no system identifier. +

      Since you cannot have a public identifier without a system +identifier, the public identifier is set to TQString::null if there +is no system identifier. +

      DOM level 2 does not support any other document type declaration +features. +

      The only way you can use a document type that was created this +way, is in combination with the createDocument() function to +create a TQDomDocument with this document type. +

      See also createDocument(). + +

      bool TQDomImplementation::hasFeature ( const TQString & feature, const TQString & version ) [virtual] +

      +The function returns TRUE if TQDom implements the requested version of a feature; otherwise returns FALSE. +

      The currently supported features and their versions: +

      +
      Feature Version +
      XML 1.0 +
      + +

      bool TQDomImplementation::isNull () +

      +Returns FALSE if the object was created by +TQDomDocument::implementation(); otherwise returns TRUE. + +

      bool TQDomImplementation::operator!= ( const TQDomImplementation & x ) const +

      +Returns TRUE if x and this DOM implementation object were +created from different TQDomDocuments; otherwise returns FALSE. + +

      TQDomImplementation & TQDomImplementation::operator= ( const TQDomImplementation & x ) +

      +Assigns x to this DOM implementation. + +

      bool TQDomImplementation::operator== ( const TQDomImplementation & x ) const +

      +Returns TRUE if x and this DOM implementation object were +created from the same TQDomDocument; otherwise returns FALSE. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnamednodemap-members.html b/doc/html/tqdomnamednodemap-members.html new file mode 100644 index 000000000..9c9123fa2 --- /dev/null +++ b/doc/html/tqdomnamednodemap-members.html @@ -0,0 +1,61 @@ + + + + + +TQDomNamedNodeMap Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomNamedNodeMap

      + +

      This is the complete list of member functions for +TQDomNamedNodeMap, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnamednodemap.html b/doc/html/tqdomnamednodemap.html new file mode 100644 index 000000000..4b1dd231a --- /dev/null +++ b/doc/html/tqdomnamednodemap.html @@ -0,0 +1,200 @@ + + + + + +TQDomNamedNodeMap Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomNamedNodeMap Class Reference
      [XML module]

      + +

      The TQDomNamedNodeMap class contains a collection of nodes +that can be accessed by name. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomNamedNodeMap class contains a collection of nodes +that can be accessed by name. + +

      + +

      Note that TQDomNamedNodeMap does not inherit from TQDomNodeList. +TQDomNamedNodeMaps do not provide any specific node ordering. +Although nodes in a TQDomNamedNodeMap may be accessed by an ordinal +index, this is simply to allow a convenient enumeration of the +contents of a TQDomNamedNodeMap, and does not imply that the DOM +specifies an ordering of the nodes. +

      The TQDomNamedNodeMap is used in three places: +

        +
      1. TQDomDocumentType::entities() returns a map of all entities +described in the DTD. +
      2. TQDomDocumentType::notations() returns a map of all notations +described in the DTD. +
      3. TQDomNode::attributes() returns a map of all attributes of an +element. +
      +

      Items in the map are identified by the name which TQDomNode::name() +returns. Nodes are retrieved using namedItem(), namedItemNS() or +item(). New nodes are inserted with setNamedItem() or +setNamedItemNS() and removed with removeNamedItem() or +removeNamedItemNS(). Use contains() to see if an item with the +given name is in the named node map. The number of items is +returned by length(). +

      Terminology: in this class we use "item" and "node" +interchangeably. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomNamedNodeMap::TQDomNamedNodeMap () +

      +Constructs an empty named node map. + +

      TQDomNamedNodeMap::TQDomNamedNodeMap ( const TQDomNamedNodeMap & n ) +

      +Constructs a copy of n. + +

      TQDomNamedNodeMap::~TQDomNamedNodeMap () +

      +Destroys the object and frees its resources. + +

      bool TQDomNamedNodeMap::contains ( const TQString & name ) const +

      +Returns TRUE if the map contains a node called name; otherwise +returns FALSE. + +

      uint TQDomNamedNodeMap::count () const +

      + +

      Returns the number of nodes in the map. +

      This function is the same as length(). + +

      TQDomNode TQDomNamedNodeMap::item ( int index ) const +

      +Retrieves the node at position index. +

      This can be used to iterate over the map. Note that the nodes in +the map are ordered arbitrarily. +

      See also length(). + +

      uint TQDomNamedNodeMap::length () const +

      +Returns the number of nodes in the map. +

      See also item(). + +

      TQDomNode TQDomNamedNodeMap::namedItem ( const TQString & name ) const +

      +Returns the node called name. +

      If the named node map does not contain such a node, a null node is returned. A node's name is +the name returned by TQDomNode::nodeName(). +

      See also setNamedItem() and namedItemNS(). + +

      TQDomNode TQDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const +

      +Returns the node associated with the local name localName and +the namespace URI nsURI. +

      If the map does not contain such a node, a null node is returned. +

      See also setNamedItemNS() and namedItem(). + +

      bool TQDomNamedNodeMap::operator!= ( const TQDomNamedNodeMap & n ) const +

      +Returns TRUE if n and this named node map are not equal; +otherwise returns FALSE. + +

      TQDomNamedNodeMap & TQDomNamedNodeMap::operator= ( const TQDomNamedNodeMap & n ) +

      +Assigns n to this named node map. + +

      bool TQDomNamedNodeMap::operator== ( const TQDomNamedNodeMap & n ) const +

      +Returns TRUE if n and this named node map are equal; otherwise +returns FALSE. + +

      TQDomNode TQDomNamedNodeMap::removeNamedItem ( const TQString & name ) +

      +Removes the node called name from the map. +

      The function returns the removed node or a null node if the map did not contain a +node called name. +

      See also setNamedItem(), namedItem(), and removeNamedItemNS(). + +

      TQDomNode TQDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName ) +

      +Removes the node with the local name localName and the +namespace URI nsURI from the map. +

      The function returns the removed node or a null node if the map did not contain a +node with the local name localName and the namespace URI nsURI. +

      See also setNamedItemNS(), namedItemNS(), and removeNamedItem(). + +

      TQDomNode TQDomNamedNodeMap::setNamedItem ( const TQDomNode & newNode ) +

      +Inserts the node newNode into the named node map. The name used +by the map is the node name of newNode as returned by +TQDomNode::nodeName(). +

      If the new node replaces an existing node, i.e. the map contains a +node with the same name, the replaced node is returned. +

      See also namedItem(), removeNamedItem(), and setNamedItemNS(). + +

      TQDomNode TQDomNamedNodeMap::setNamedItemNS ( const TQDomNode & newNode ) +

      +Inserts the node newNode in the map. If a node with the same +namespace URI and the same local name already exists in the map, +it is replaced by newNode. If the new node replaces an existing +node, the replaced node is returned. +

      See also namedItemNS(), removeNamedItemNS(), and setNamedItem(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnode-members.html b/doc/html/tqdomnode-members.html new file mode 100644 index 000000000..a41b2b5e2 --- /dev/null +++ b/doc/html/tqdomnode-members.html @@ -0,0 +1,107 @@ + + + + + +TQDomNode Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomNode

      + +

      This is the complete list of member functions for +TQDomNode, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnode.html b/doc/html/tqdomnode.html new file mode 100644 index 000000000..ad1b7ec3b --- /dev/null +++ b/doc/html/tqdomnode.html @@ -0,0 +1,741 @@ + + + + + +TQDomNode Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomNode Class Reference
      [XML module]

      + +

      The TQDomNode class is the base class for all the nodes in a DOM tree. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherited by TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. +

      List of all member functions. +

      Public Members

      + +

      Related Functions

      +
        +
      • TQTextStream & operator<< ( TQTextStream & str, const TQDomNode & node )
      • +
      +

      Detailed Description

      + + + +The TQDomNode class is the base class for all the nodes in a DOM tree. + +

      + +

      Many functions in the DOM return a TQDomNode. +

      You can find out the type of a node using isAttr(), +isCDATASection(), isDocumentFragment(), isDocument(), +isDocumentType(), isElement(), isEntityReference(), isText(), +isEntity(), isNotation(), isProcessingInstruction(), +isCharacterData() and isComment(). +

      A TQDomNode can be converted into one of its subclasses using +toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), +toDocumentType(), toElement(), toEntityReference(), toText(), +toEntity(), toNotation(), toProcessingInstruction(), +toCharacterData() or toComment(). You can convert a node to a null +node with clear(). +

      Copies of the TQDomNode class share their data using explicit sharing. This means that modifying one node will change all +copies. This is especially useful in combination with functions +which return a TQDomNode, e.g. firstChild(). You can make an +independent (deep) copy of the node with cloneNode(). +

      Nodes are inserted with insertBefore(), insertAfter() or +appendChild(). You can replace one node with another using +replaceChild() and remove a node with removeChild(). +

      To traverse nodes use firstChild() to get a node's first child (if +any), and nextSibling() to traverse. TQDomNode also provides +lastChild(), previousSibling() and parentNode(). To find the first +child node with a particular node name use namedItem(). +

      To find out if a node has children use hasChildNodes() and to get +a list of all of a node's children use childNodes(). +

      The node's name and value (the meaning of which varies depending +on its type) is returned by nodeName() and nodeValue() +respectively. The node's type is returned by nodeType(). The +node's value can be set with setNodeValue(). +

      The document to which the node belongs is returned by +ownerDocument(). +

      Adjacent TQDomText nodes can be merged into a single node with +normalize(). +

      TQDomElement nodes have attributes which can be retrieved with +attributes(). +

      TQDomElement and TQDomAttr nodes can have namespaces which can be +retrieved with namespaceURI(). Their local name is retrieved with +localName(), and their prefix with prefix(). The prefix can be set +with setPrefix(). +

      You can write the XML representation of the node to a text stream +with save(). +

      The following example looks for the first element in an XML document and +prints the names of all the elements that are its direct children. +

      +    TQDomDocument d;
      +    d.setContent( someXML );
      +    TQDomNode n = d.firstChild();
      +    while ( !n.isNull() ) {
      +        if ( n.isElement() ) {
      +            TQDomElement e = n.toElement();
      +            cout << "Element name: " << e.tagName() << endl;
      +            break;
      +        }
      +        n = n.nextSibling();
      +    }
      +    
      + +

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general +introduction of the DOM implementation see the TQDomDocument +documentation. +

      See also XML. + +


      Member Type Documentation

      +

      TQDomNode::NodeType

      + +

      This enum defines the type of the node: +

        +
      • TQDomNode::ElementNode +
      • TQDomNode::AttributeNode +
      • TQDomNode::TextNode +
      • TQDomNode::CDATASectionNode +
      • TQDomNode::EntityReferenceNode +
      • TQDomNode::EntityNode +
      • TQDomNode::ProcessingInstructionNode +
      • TQDomNode::CommentNode +
      • TQDomNode::DocumentNode +
      • TQDomNode::DocumentTypeNode +
      • TQDomNode::DocumentFragmentNode +
      • TQDomNode::NotationNode +
      • TQDomNode::BaseNode - A TQDomNode object, i.e. not a TQDomNode subclass. +
      • TQDomNode::CharacterDataNode +
      +

      Member Function Documentation

      +

      TQDomNode::TQDomNode () +

      +Constructs a null node. + +

      TQDomNode::TQDomNode ( const TQDomNode & n ) +

      +Constructs a copy of n. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomNode::~TQDomNode () [virtual] +

      +Destroys the object and frees its resources. + +

      TQDomNode TQDomNode::appendChild ( const TQDomNode & newChild ) [virtual] +

      +Appends newChild as the node's last child. +

      If newChild is the child of another node, it is reparented to +this node. If newChild is a child of this node, then its +position in the list of children is changed. +

      If newChild is a TQDomDocumentFragment, then the children of the +fragment are removed from the fragment and appended. +

      Returns a new reference to newChild. +

      See also insertBefore(), insertAfter(), replaceChild(), and removeChild(). + +

      TQDomNamedNodeMap TQDomNode::attributes () const [virtual] +

      +Returns a named node map of all attributes. Attributes are only +provided for TQDomElements. +

      Changing the attributes in the map will also change the attributes +of this TQDomNode. + +

      Reimplemented in TQDomElement. +

      TQDomNodeList TQDomNode::childNodes () const [virtual] +

      +Returns a list of all direct child nodes. +

      Most often you will call this function on a TQDomElement object. +

      For example, if the XML document looks like this: +

      +    <body>
      +    <h1>Heading</h1>
      +    <p>Hello <b>you</b></p>
      +    </body>
      +    
      + +Then the list of child nodes for the "body"-element will contain +the node created by the <h1> tag and the node created by the +<p> tag. +

      The nodes in the list are not copied; so changing the nodes in the +list will also change the children of this node. +

      See also firstChild() and lastChild(). + +

      void TQDomNode::clear () +

      +Converts the node into a null node; if it was not a null node +before, its type and contents are deleted. +

      See also isNull(). + +

      TQDomNode TQDomNode::cloneNode ( bool deep = TRUE ) const [virtual] +

      +Creates a deep (not shallow) copy of the TQDomNode. +

      If deep is TRUE, then the cloning is done recursively which +means that all the node's children are deep copied too. If deep +is FALSE only the node itself is copied and the copy will have no +child nodes. + +

      TQDomNode TQDomNode::firstChild () const [virtual] +

      +Returns the first child of the node. If there is no child node, a +null node is returned. Changing the +returned node will also change the node in the document tree. +

      See also lastChild() and childNodes(). + +

      Example: xml/outliner/outlinetree.cpp. +

      bool TQDomNode::hasAttributes () const [virtual] +

      +Returns TRUE if the node has attributes; otherwise returns FALSE. +

      See also attributes(). + +

      bool TQDomNode::hasChildNodes () const [virtual] +

      +Returns TRUE if the node has one or more children; otherwise +returns FALSE. + +

      TQDomNode TQDomNode::insertAfter ( const TQDomNode & newChild, const TQDomNode & refChild ) [virtual] +

      +Inserts the node newChild after the child node refChild. refChild must be a direct child of this node. If refChild is +null then newChild is appended as this +node's last child. +

      If newChild is the child of another node, it is reparented to +this node. If newChild is a child of this node, then its +position in the list of children is changed. +

      If newChild is a TQDomDocumentFragment, then the children of the +fragment are removed from the fragment and inserted after refChild. +

      Returns a new reference to newChild on success or a null node on failure. +

      See also insertBefore(), replaceChild(), removeChild(), and appendChild(). + +

      TQDomNode TQDomNode::insertBefore ( const TQDomNode & newChild, const TQDomNode & refChild ) [virtual] +

      +Inserts the node newChild before the child node refChild. +refChild must be a direct child of this node. If refChild is +null then newChild is inserted as the +node's first child. +

      If newChild is the child of another node, it is reparented to +this node. If newChild is a child of this node, then its +position in the list of children is changed. +

      If newChild is a TQDomDocumentFragment, then the children of the +fragment are removed from the fragment and inserted before refChild. +

      Returns a new reference to newChild on success or a null node on failure. +

      See also insertAfter(), replaceChild(), removeChild(), and appendChild(). + +

      bool TQDomNode::isAttr () const [virtual] +

      +Returns TRUE if the node is an attribute; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomAttribute; you can get the TQDomAttribute with +toAttribute(). +

      See also toAttr(). + +

      Reimplemented in TQDomAttr. +

      bool TQDomNode::isCDATASection () const [virtual] +

      +Returns TRUE if the node is a CDATA section; otherwise returns +FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomCDATASection; you can get the TQDomCDATASection with +toCDATASection(). +

      See also toCDATASection(). + +

      Reimplemented in TQDomCDATASection. +

      bool TQDomNode::isCharacterData () const [virtual] +

      +Returns TRUE if the node is a character data node; otherwise +returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomCharacterData; you can get the TQDomCharacterData with +toCharacterData(). +

      See also toCharacterData(). + +

      Reimplemented in TQDomCharacterData. +

      bool TQDomNode::isComment () const [virtual] +

      +Returns TRUE if the node is a comment; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomComment; you can get the TQDomComment with toComment(). +

      See also toComment(). + +

      Reimplemented in TQDomComment. +

      bool TQDomNode::isDocument () const [virtual] +

      +Returns TRUE if the node is a document; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomDocument; you can get the TQDomDocument with toDocument(). +

      See also toDocument(). + +

      Reimplemented in TQDomDocument. +

      bool TQDomNode::isDocumentFragment () const [virtual] +

      +Returns TRUE if the node is a document fragment; otherwise returns +FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomDocumentFragment; you can get the TQDomDocumentFragment +with toDocumentFragment(). +

      See also toDocumentFragment(). + +

      Reimplemented in TQDomDocumentFragment. +

      bool TQDomNode::isDocumentType () const [virtual] +

      +Returns TRUE if the node is a document type; otherwise returns +FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomDocumentType; you can get the TQDomDocumentType with +toDocumentType(). +

      See also toDocumentType(). + +

      Reimplemented in TQDomDocumentType. +

      bool TQDomNode::isElement () const [virtual] +

      +Returns TRUE if the node is an element; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomElement; you can get the TQDomElement with toElement(). +

      See also toElement(). + +

      Example: xml/outliner/outlinetree.cpp. +

      Reimplemented in TQDomElement. +

      bool TQDomNode::isEntity () const [virtual] +

      +Returns TRUE if the node is an entity; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomEntity; you can get the TQDomEntity with toEntity(). +

      See also toEntity(). + +

      Reimplemented in TQDomEntity. +

      bool TQDomNode::isEntityReference () const [virtual] +

      +Returns TRUE if the node is an entity reference; otherwise returns +FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomEntityReference; you can get the TQDomEntityReference with +toEntityReference(). +

      See also toEntityReference(). + +

      Reimplemented in TQDomEntityReference. +

      bool TQDomNode::isNotation () const [virtual] +

      +Returns TRUE if the node is a notation; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomNotation; you can get the TQDomNotation with toNotation(). +

      See also toNotation(). + +

      Reimplemented in TQDomNotation. +

      bool TQDomNode::isNull () const +

      +Returns TRUE if this node is null (i.e. if it has no type or +contents); otherwise returns FALSE. + +

      Example: xml/outliner/outlinetree.cpp. +

      bool TQDomNode::isProcessingInstruction () const [virtual] +

      +Returns TRUE if the node is a processing instruction; otherwise +returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomProcessingInstruction; you can get the +TQProcessingInstruction with toProcessingInstruction(). +

      See also toProcessingInstruction(). + +

      Reimplemented in TQDomProcessingInstruction. +

      bool TQDomNode::isSupported ( const TQString & feature, const TQString & version ) const [virtual] +

      +Returns TRUE if the DOM implementation implements the feature feature and this feature is supported by this node in the version +version; otherwise returns FALSE. +

      See also TQDomImplementation::hasFeature(). + +

      bool TQDomNode::isText () const [virtual] +

      +Returns TRUE if the node is a text node; otherwise returns FALSE. +

      If this function returns TRUE, it does not imply that this object +is a TQDomText; you can get the TQDomText with toText(). +

      See also toText(). + +

      Reimplemented in TQDomText. +

      TQDomNode TQDomNode::lastChild () const [virtual] +

      +Returns the last child of the node. If there is no child node, a +null node is returned. Changing the +returned node will also change the node in the document tree. +

      See also firstChild() and childNodes(). + +

      TQString TQDomNode::localName () const [virtual] +

      +If the node uses namespaces, this function returns the local name +of the node; otherwise it returns TQString::null. +

      Only nodes of type ElementNode or +AttributeNode can have +namespaces. A namespace must have been specified at creation time; +it is not possible to add a namespace afterwards. +

      See also prefix(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). + +

      TQDomNode TQDomNode::namedItem ( const TQString & name ) const +

      +Returns the first direct child node for which nodeName() equals name. +

      If no such direct child exists, a null node +is returned. +

      See also nodeName(). + +

      TQString TQDomNode::namespaceURI () const [virtual] +

      +Returns the namespace URI of this node or TQString::null if the +node has no namespace URI. +

      Only nodes of type ElementNode or +AttributeNode can have +namespaces. A namespace URI must be specified at creation time and +cannot be changed later. +

      See also prefix(), localName(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). + +

      TQDomNode TQDomNode::nextSibling () const [virtual] +

      +Returns the next sibling in the document tree. Changing the +returned node will also change the node in the document tree. +

      If you have XML like this: +

      +    <h1>Heading</h1>
      +    <p>The text...</p>
      +    <h2>Next heading</h2>
      +    
      + +and this TQDomNode represents the <p> tag, nextSibling() will +return the node representing the <h2> tag. +

      See also previousSibling(). + +

      Example: xml/outliner/outlinetree.cpp. +

      TQString TQDomNode::nodeName () const [virtual] +

      +Returns the name of the node. +

      The meaning of the name depends on the subclass: +

      +
      Name Meaning +
      TQDomAttr The name of the attribute +
      TQDomCDATASection The string "#cdata-section" +
      TQDomComment The string "#comment" +
      TQDomDocument The string "#document" +
      TQDomDocumentFragment The string "#document-fragment" +
      TQDomDocumentType The name of the document type +
      TQDomElement The tag name +
      TQDomEntity The name of the entity +
      TQDomEntityReference The name of the referenced entity +
      TQDomNotation The name of the notation +
      TQDomProcessingInstruction The target of the processing instruction +
      TQDomText The string "#text" +
      +

      See also nodeValue(). + +

      Example: xml/outliner/outlinetree.cpp. +

      TQDomNode::NodeType TQDomNode::nodeType () const [virtual] +

      +Returns the type of the node. +

      See also toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData(), and toComment(). + +

      Reimplemented in TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. +

      TQString TQDomNode::nodeValue () const [virtual] +

      +Returns the value of the node. +

      The meaning of the value depends on the subclass: +

      +
      Name Meaning +
      TQDomAttr The attribute value +
      TQDomCDATASection The content of the CDATA section +
      TQDomComment The comment +
      TQDomProcessingInstruction The data of the processing intruction +
      TQDomText The text +
      +

      All the other subclasses do not have a node value and will return +TQString::null. +

      See also setNodeValue() and nodeName(). + +

      Example: xml/outliner/outlinetree.cpp. +

      void TQDomNode::normalize () [virtual] +

      +Calling normalize() on an element converts all its children into a +standard form. This means that adjacent TQDomText objects will be +merged into a single text object (TQDomCDATASection nodes are not +merged). + +

      bool TQDomNode::operator!= ( const TQDomNode & n ) const +

      +Returns TRUE if n and this DOM node are not equal; otherwise +returns FALSE. + +

      TQDomNode & TQDomNode::operator= ( const TQDomNode & n ) +

      +Assigns a copy of n to this DOM node. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      bool TQDomNode::operator== ( const TQDomNode & n ) const +

      +Returns TRUE if n and this DOM node are equal; otherwise +returns FALSE. + +

      TQDomDocument TQDomNode::ownerDocument () const [virtual] +

      +Returns the document to which this node belongs. + +

      TQDomNode TQDomNode::parentNode () const [virtual] +

      +Returns the parent node. If this node has no parent, a null node +is returned (i.e. a node for which isNull() returns TRUE). + +

      TQString TQDomNode::prefix () const [virtual] +

      +Returns the namespace prefix of the node or TQString::null if the +node has no namespace prefix. +

      Only nodes of type ElementNode or +AttributeNode can have +namespaces. A namespace prefix must be specified at creation time. +If a node was created with a namespace prefix, you can change it +later with setPrefix(). +

      If you create an element or attribute with +TQDomDocument::createElement() or TQDomDocument::createAttribute(), +the prefix will be TQString::null. If you use +TQDomDocument::createElementNS() or +TQDomDocument::createAttributeNS() instead, the prefix will not be +TQString::null; but it might be an empty string if the name does +not have a prefix. +

      See also setPrefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). + +

      TQDomNode TQDomNode::previousSibling () const [virtual] +

      +Returns the previous sibling in the document tree. Changing the +returned node will also change the node in the document tree. +

      For example, if you have XML like this: +

      +    <h1>Heading</h1>
      +    <p>The text...</p>
      +    <h2>Next heading</h2>
      +    
      + +and this TQDomNode represents the <p> tag, previousSibling() +will return the node representing the <h1> tag. +

      See also nextSibling(). + +

      TQDomNode TQDomNode::removeChild ( const TQDomNode & oldChild ) [virtual] +

      +Removes oldChild from the list of children. oldChild must be +a direct child of this node. +

      Returns a new reference to oldChild on success or a null node on failure. +

      See also insertBefore(), insertAfter(), replaceChild(), and appendChild(). + +

      TQDomNode TQDomNode::replaceChild ( const TQDomNode & newChild, const TQDomNode & oldChild ) [virtual] +

      +Replaces oldChild with newChild. oldChild must be a +direct child of this node. +

      If newChild is the child of another node, it is reparented to +this node. If newChild is a child of this node, then its +position in the list of children is changed. +

      If newChild is a TQDomDocumentFragment, then oldChild is +replaced by all of the children of the fragment. +

      Returns a new reference to oldChild on success or a null node an failure. +

      See also insertBefore(), insertAfter(), removeChild(), and appendChild(). + +

      void TQDomNode::save ( TQTextStream & str, int indent ) const +

      +Writes the XML representation of the node and all its children to +the stream str. This function uses indent as the amount of +space to indent the node. + +

      void TQDomNode::setNodeValue ( const TQString & v ) [virtual] +

      +Sets the node's value to v. +

      See also nodeValue(). + +

      void TQDomNode::setPrefix ( const TQString & pre ) [virtual] +

      +If the node has a namespace prefix, this function changes the +namespace prefix of the node to pre. Otherwise this function +does nothing. +

      Only nodes of type ElementNode or +AttributeNode can have +namespaces. A namespace prefix must have be specified at creation +time; it is not possible to add a namespace prefix afterwards. +

      See also prefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). + +

      TQDomAttr TQDomNode::toAttr () +

      +Converts a TQDomNode into a TQDomAttr. If the node is not an +attribute, the returned object will be null. +

      See also isAttr(). + +

      TQDomCDATASection TQDomNode::toCDATASection () +

      +Converts a TQDomNode into a TQDomCDATASection. If the node is not a +CDATA section, the returned object will be null. +

      See also isCDATASection(). + +

      TQDomCharacterData TQDomNode::toCharacterData () +

      +Converts a TQDomNode into a TQDomCharacterData. If the node is not a +character data node the returned object will be null. +

      See also isCharacterData(). + +

      TQDomComment TQDomNode::toComment () +

      +Converts a TQDomNode into a TQDomComment. If the node is not a +comment the returned object will be null. +

      See also isComment(). + +

      TQDomDocument TQDomNode::toDocument () +

      +Converts a TQDomNode into a TQDomDocument. If the node is not a +document the returned object will be null. +

      See also isDocument(). + +

      TQDomDocumentFragment TQDomNode::toDocumentFragment () +

      +Converts a TQDomNode into a TQDomDocumentFragment. If the node is +not a document fragment the returned object will be null. +

      See also isDocumentFragment(). + +

      TQDomDocumentType TQDomNode::toDocumentType () +

      +Converts a TQDomNode into a TQDomDocumentType. If the node is not a +document type the returned object will be null. +

      See also isDocumentType(). + +

      TQDomElement TQDomNode::toElement () +

      +Converts a TQDomNode into a TQDomElement. If the node is not an +element the returned object will be null. +

      See also isElement(). + +

      Example: xml/outliner/outlinetree.cpp. +

      TQDomEntity TQDomNode::toEntity () +

      +Converts a TQDomNode into a TQDomEntity. If the node is not an +entity the returned object will be null. +

      See also isEntity(). + +

      TQDomEntityReference TQDomNode::toEntityReference () +

      +Converts a TQDomNode into a TQDomEntityReference. If the node is not +an entity reference, the returned object will be null. +

      See also isEntityReference(). + +

      TQDomNotation TQDomNode::toNotation () +

      +Converts a TQDomNode into a TQDomNotation. If the node is not a +notation the returned object will be null. +

      See also isNotation(). + +

      TQDomProcessingInstruction TQDomNode::toProcessingInstruction () +

      +Converts a TQDomNode into a TQDomProcessingInstruction. If the node +is not a processing instruction the returned object will be null. +

      See also isProcessingInstruction(). + +

      TQDomText TQDomNode::toText () +

      +Converts a TQDomNode into a TQDomText. If the node is not a text, +the returned object will be null. +

      See also isText(). + +


      Related Functions

      +

      TQTextStream & operator<< ( TQTextStream & str, const TQDomNode & node ) +

      + +

      Writes the XML representation of the node node and all its +children to the stream str. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnodelist-members.html b/doc/html/tqdomnodelist-members.html new file mode 100644 index 000000000..9fc132d6a --- /dev/null +++ b/doc/html/tqdomnodelist-members.html @@ -0,0 +1,54 @@ + + + + + +TQDomNodeList Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomNodeList

      + +

      This is the complete list of member functions for +TQDomNodeList, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnodelist.html b/doc/html/tqdomnodelist.html new file mode 100644 index 000000000..4d58f571f --- /dev/null +++ b/doc/html/tqdomnodelist.html @@ -0,0 +1,127 @@ + + + + + +TQDomNodeList Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomNodeList Class Reference
      [XML module]

      + +

      The TQDomNodeList class is a list of TQDomNode objects. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomNodeList class is a list of TQDomNode objects. + +

      + +

      Lists can be obtained by TQDomDocument::elementsByTagName() and +TQDomNode::childNodes(). The Document Object Model (DOM) requires +these lists to be "live": whenever you change the underlying +document, the contents of the list will get updated. +

      You can get a particular node from the list with item(). The +number of items in the list is returned by count() (and by +length()). +

      For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general +introduction of the DOM implementation see the TQDomDocument +documentation. +

      See also TQDomNode::childNodes(), TQDomDocument::elementsByTagName(), and XML. + +


      Member Function Documentation

      +

      TQDomNodeList::TQDomNodeList () +

      +Creates an empty node list. + +

      TQDomNodeList::TQDomNodeList ( const TQDomNodeList & n ) +

      +Constructs a copy of n. + +

      TQDomNodeList::~TQDomNodeList () [virtual] +

      +Destroys the object and frees its resources. + +

      uint TQDomNodeList::count () const +

      + +

      Returns the number of nodes in the list. +

      This function is the same as length(). + +

      TQDomNode TQDomNodeList::item ( int index ) const [virtual] +

      +Returns the node at position index. +

      If index is negative or if index >= length() then a null +node is returned (i.e. a node for which TQDomNode::isNull() returns +TRUE). +

      See also count(). + +

      uint TQDomNodeList::length () const [virtual] +

      +Returns the number of nodes in the list. +

      This function is the same as count(). + +

      bool TQDomNodeList::operator!= ( const TQDomNodeList & n ) const +

      +Returns TRUE the node list n and this node list are not equal; +otherwise returns FALSE. + +

      TQDomNodeList & TQDomNodeList::operator= ( const TQDomNodeList & n ) +

      +Assigns n to this node list. + +

      bool TQDomNodeList::operator== ( const TQDomNodeList & n ) const +

      +Returns TRUE if the node list n and this node list are equal; +otherwise returns FALSE. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnotation-members.html b/doc/html/tqdomnotation-members.html new file mode 100644 index 000000000..915b36c2e --- /dev/null +++ b/doc/html/tqdomnotation-members.html @@ -0,0 +1,109 @@ + + + + + +TQDomNotation Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomNotation

      + +

      This is the complete list of member functions for +TQDomNotation, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomnotation.html b/doc/html/tqdomnotation.html new file mode 100644 index 000000000..a451c624c --- /dev/null +++ b/doc/html/tqdomnotation.html @@ -0,0 +1,126 @@ + + + + + +TQDomNotation Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomNotation Class Reference
      [XML module]

      + +

      The TQDomNotation class represents an XML notation. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomNotation class represents an XML notation. + +

      + +

      A notation either declares, by name, the format of an unparsed +entity (see section 4.7 of the XML 1.0 specification), or is used +for formal declaration of processing instruction targets (see +section 2.6 of the XML 1.0 specification). +

      DOM does not support editing notation nodes; they are therefore +read-only. +

      A notation node does not have any parent. +

      You can retrieve the publicId() and systemId() from a notation +node. +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomNotation::TQDomNotation () +

      +Constructor. + +

      TQDomNotation::TQDomNotation ( const TQDomNotation & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomNotation::~TQDomNotation () +

      +Destroys the object and frees its resources. + +

      bool TQDomNotation::isNotation () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomNotation::nodeType () const [virtual] +

      +Returns NotationNode. + +

      Reimplemented from TQDomNode. +

      TQDomNotation & TQDomNotation::operator= ( const TQDomNotation & x ) +

      +Assigns x to this DOM notation. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQString TQDomNotation::publicId () const +

      +Returns the public identifier of this notation. + +

      TQString TQDomNotation::systemId () const +

      +Returns the system identifier of this notation. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomprocessinginstruction-members.html b/doc/html/tqdomprocessinginstruction-members.html new file mode 100644 index 000000000..be7682723 --- /dev/null +++ b/doc/html/tqdomprocessinginstruction-members.html @@ -0,0 +1,110 @@ + + + + + +TQDomProcessingInstruction Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomProcessingInstruction

      + +

      This is the complete list of member functions for +TQDomProcessingInstruction, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomprocessinginstruction.html b/doc/html/tqdomprocessinginstruction.html new file mode 100644 index 000000000..c16ddbeda --- /dev/null +++ b/doc/html/tqdomprocessinginstruction.html @@ -0,0 +1,134 @@ + + + + + +TQDomProcessingInstruction Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomProcessingInstruction Class Reference
      [XML module]

      + +

      The TQDomProcessingInstruction class represents an XML processing +instruction. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomNode. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomProcessingInstruction class represents an XML processing +instruction. + +

      + +

      Processing instructions are used in XML to keep processor-specific +information in the text of the document. +

      The content of the processing instruction is retrieved with data() +and set with setData(). The processing instruction's target is +retrieved with target(). +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomProcessingInstruction::TQDomProcessingInstruction () +

      +Constructs an empty processing instruction. Use +TQDomDocument::createProcessingInstruction() to create a processing +instruction with content. + +

      TQDomProcessingInstruction::TQDomProcessingInstruction ( const TQDomProcessingInstruction & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomProcessingInstruction::~TQDomProcessingInstruction () +

      +Destroys the object and frees its resources. + +

      TQString TQDomProcessingInstruction::data () const [virtual] +

      +Returns the content of this processing instruction. +

      See also setData() and target(). + +

      bool TQDomProcessingInstruction::isProcessingInstruction () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomProcessingInstruction::nodeType () const [virtual] +

      +Returns ProcessingInstructionNode. + +

      Reimplemented from TQDomNode. +

      TQDomProcessingInstruction & TQDomProcessingInstruction::operator= ( const TQDomProcessingInstruction & x ) +

      +Assigns x to this processing instruction. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      void TQDomProcessingInstruction::setData ( const TQString & d ) [virtual] +

      +Sets the data contained in the processing instruction to d. +

      See also data(). + +

      TQString TQDomProcessingInstruction::target () const [virtual] +

      +Returns the target of this processing instruction. +

      See also data(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomtext-members.html b/doc/html/tqdomtext-members.html new file mode 100644 index 000000000..d2360d677 --- /dev/null +++ b/doc/html/tqdomtext-members.html @@ -0,0 +1,116 @@ + + + + + +TQDomText Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQDomText

      + +

      This is the complete list of member functions for +TQDomText, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdomtext.html b/doc/html/tqdomtext.html new file mode 100644 index 000000000..4e4291fe8 --- /dev/null +++ b/doc/html/tqdomtext.html @@ -0,0 +1,122 @@ + + + + + +TQDomText Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQDomText Class Reference
      [XML module]

      + +

      The TQDomText class represents text data in the parsed XML document. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqdom.h> +

      Inherits TQDomCharacterData. +

      Inherited by TQDomCDATASection. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQDomText class represents text data in the parsed XML document. + +

      + +

      You can split the text in a TQDomText object over two TQDomText +objecs with splitText(). +

      For further information about the Document Object Model see +http://www.w3.org/TR/REC-DOM-Level-1/ and +http://www.w3.org/TR/DOM-Level-2-Core/. +For a more general introduction of the DOM implementation see the +TQDomDocument documentation. +

      See also XML. + +


      Member Function Documentation

      +

      TQDomText::TQDomText () +

      +Constructs an empty TQDomText object. +

      To construct a TQDomText with content, use TQDomDocument::createTextNode(). + +

      TQDomText::TQDomText ( const TQDomText & x ) +

      +Constructs a copy of x. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomText::~TQDomText () +

      +Destroys the object and frees its resources. + +

      bool TQDomText::isText () const [virtual] +

      +Returns TRUE. + +

      Reimplemented from TQDomNode. +

      TQDomNode::NodeType TQDomText::nodeType () const [virtual] +

      +Returns TextNode. + +

      Reimplemented from TQDomCharacterData. +

      Reimplemented in TQDomCDATASection. +

      TQDomText & TQDomText::operator= ( const TQDomText & x ) +

      +Assigns x to this DOM text. +

      The data of the copy is shared (shallow copy): modifying one node +will also change the other. If you want to make a deep copy, use +cloneNode(). + +

      TQDomText TQDomText::splitText ( int offset ) +

      +Splits this DOM text object into two TQDomText objects. This object +keeps its first offset characters and the second (newly +created) object is inserted into the document tree after this +object with the remaining characters. +

      The function returns the newly created object. +

      See also TQDomNode::normalize(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxml-h.html b/doc/html/tqxml-h.html new file mode 100644 index 000000000..3941b1830 --- /dev/null +++ b/doc/html/tqxml-h.html @@ -0,0 +1,576 @@ + + + + + +tqxml.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqxml.h

      + +

      This is the verbatim text of the tqxml.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqxml.h   3.3.8   edited Jan 11 14:39 $
      +**
      +** Definition of TQXmlSimpleReader and related classes.
      +**
      +** Created : 000518
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the xml module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQXML_H
      +#define TQXML_H
      +
      +#ifndef QT_H
      +#include "ntqtextstream.h"
      +#include "ntqfile.h"
      +#include "ntqstring.h"
      +#include "ntqstringlist.h"
      +#include "ntqvaluevector.h"
      +#endif // QT_H
      +
      +#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
      +#define TQM_EXPORT_XML
      +#else
      +#define TQM_EXPORT_XML TQ_EXPORT
      +#endif
      +
      +#ifndef TQT_NO_XML
      +
      +class TQXmlNamespaceSupport;
      +class TQXmlAttributes;
      +class TQXmlContentHandler;
      +class TQXmlDefaultHandler;
      +class TQXmlDTDHandler;
      +class TQXmlEntityResolver;
      +class TQXmlErrorHandler;
      +class TQXmlLexicalHandler;
      +class TQXmlDeclHandler;
      +class TQXmlInputSource;
      +class TQXmlLocator;
      +class TQXmlNamespaceSupport;
      +class TQXmlParseException;
      +
      +class TQXmlReader;
      +class TQXmlSimpleReader;
      +
      +class TQXmlSimpleReaderPrivate;
      +class TQXmlNamespaceSupportPrivate;
      +class TQXmlAttributesPrivate;
      +class TQXmlInputSourcePrivate;
      +class TQXmlParseExceptionPrivate;
      +class TQXmlLocatorPrivate;
      +class TQXmlDefaultHandlerPrivate;
      +
      +
      +//
      +// SAX Namespace Support
      +//
      +
      +class TQM_EXPORT_XML TQXmlNamespaceSupport
      +{
      +public:
      +    TQXmlNamespaceSupport();
      +    ~TQXmlNamespaceSupport();
      +
      +    void setPrefix( const TQString&, const TQString& );
      +
      +    TQString prefix( const TQString& ) const;
      +    TQString uri( const TQString& ) const;
      +    void splitName( const TQString&, TQString&, TQString& ) const;
      +    void processName( const TQString&, bool, TQString&, TQString& ) const;
      +    TQStringList prefixes() const;
      +    TQStringList prefixes( const TQString& ) const;
      +
      +    void pushContext();
      +    void popContext();
      +    void reset();
      +
      +private:
      +    TQXmlNamespaceSupportPrivate *d;
      +
      +    friend class TQXmlSimpleReader;
      +};
      +
      +
      +//
      +// SAX Attributes
      +//
      +
      +class TQM_EXPORT_XML TQXmlAttributes
      +{
      +public:
      +    TQXmlAttributes() {}
      +    virtual ~TQXmlAttributes() {}
      +
      +    int index( const TQString& qName ) const;
      +    int index( const TQString& uri, const TQString& localPart ) const;
      +    int length() const;
      +    int count() const;
      +    TQString localName( int index ) const;
      +    TQString qName( int index ) const;
      +    TQString uri( int index ) const;
      +    TQString type( int index ) const;
      +    TQString type( const TQString& qName ) const;
      +    TQString type( const TQString& uri, const TQString& localName ) const;
      +    TQString value( int index ) const;
      +    TQString value( const TQString& qName ) const;
      +    TQString value( const TQString& uri, const TQString& localName ) const;
      +
      +    void clear();
      +    void append( const TQString &qName, const TQString &uri, const TQString &localPart, const TQString &value );
      +
      +private:
      +    TQStringList qnameList;
      +    TQStringList uriList;
      +    TQStringList localnameList;
      +    TQStringList valueList;
      +
      +    TQXmlAttributesPrivate *d;
      +};
      +
      +//
      +// SAX Input Source
      +//
      +
      +class TQM_EXPORT_XML TQXmlInputSource
      +{
      +public:
      +    TQXmlInputSource();
      +    TQXmlInputSource( TQIODevice *dev );
      +    TQXmlInputSource( TQFile& file ); // obsolete
      +    TQXmlInputSource( TQTextStream& stream ); // obsolete
      +    virtual ~TQXmlInputSource();
      +
      +    virtual void setData( const TQString& dat );
      +    virtual void setData( const TQByteArray& dat );
      +    virtual void fetchData();
      +    virtual TQString data();
      +    virtual TQChar next();
      +    virtual void reset();
      +
      +    static const TQChar EndOfData;
      +    static const TQChar EndOfDocument;
      +
      +protected:
      +    virtual TQString fromRawData( const TQByteArray &data, bool beginning = FALSE );
      +
      +private:
      +    void init();
      +
      +    TQIODevice *inputDevice;
      +    TQTextStream *inputStream;
      +
      +    TQString str;
      +    const TQChar *unicode;
      +    int pos;
      +    int length;
      +    bool nextReturnedEndOfData;
      +    TQTextDecoder *encMapper;
      +
      +    TQXmlInputSourcePrivate *d;
      +};
      +
      +//
      +// SAX Exception Classes
      +//
      +
      +class TQM_EXPORT_XML TQXmlParseException
      +{
      +public:
      +    TQXmlParseException( const TQString& name="", int c=-1, int l=-1, const TQString& p="", const TQString& s="" )
      +	: msg( name ), column( c ), line( l ), pub( p ), sys( s )
      +    { }
      +
      +    int columnNumber() const;
      +    int lineNumber() const;
      +    TQString publicId() const;
      +    TQString systemId() const;
      +    TQString message() const;
      +
      +private:
      +    TQString msg;
      +    int column;
      +    int line;
      +    TQString pub;
      +    TQString sys;
      +
      +    TQXmlParseExceptionPrivate *d;
      +};
      +
      +
      +//
      +// XML Reader
      +//
      +
      +class TQM_EXPORT_XML TQXmlReader
      +{
      +public:
      +    virtual bool feature( const TQString& name, bool *ok = 0 ) const = 0;
      +    virtual void setFeature( const TQString& name, bool value ) = 0;
      +    virtual bool hasFeature( const TQString& name ) const = 0;
      +    virtual void* property( const TQString& name, bool *ok = 0 ) const = 0;
      +    virtual void setProperty( const TQString& name, void* value ) = 0;
      +    virtual bool hasProperty( const TQString& name ) const = 0;
      +    virtual void setEntityResolver( TQXmlEntityResolver* handler ) = 0;
      +    virtual TQXmlEntityResolver* entityResolver() const = 0;
      +    virtual void setDTDHandler( TQXmlDTDHandler* handler ) = 0;
      +    virtual TQXmlDTDHandler* DTDHandler() const = 0;
      +    virtual void setContentHandler( TQXmlContentHandler* handler ) = 0;
      +    virtual TQXmlContentHandler* contentHandler() const = 0;
      +    virtual void setErrorHandler( TQXmlErrorHandler* handler ) = 0;
      +    virtual TQXmlErrorHandler* errorHandler() const = 0;
      +    virtual void setLexicalHandler( TQXmlLexicalHandler* handler ) = 0;
      +    virtual TQXmlLexicalHandler* lexicalHandler() const = 0;
      +    virtual void setDeclHandler( TQXmlDeclHandler* handler ) = 0;
      +    virtual TQXmlDeclHandler* declHandler() const = 0;
      +    virtual bool parse( const TQXmlInputSource& input ) = 0;
      +    virtual bool parse( const TQXmlInputSource* input ) = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlSimpleReader : public TQXmlReader
      +{
      +public:
      +    TQXmlSimpleReader();
      +    virtual ~TQXmlSimpleReader();
      +
      +    bool feature( const TQString& name, bool *ok = 0 ) const;
      +    void setFeature( const TQString& name, bool value );
      +    bool hasFeature( const TQString& name ) const;
      +
      +    void* property( const TQString& name, bool *ok = 0 ) const;
      +    void setProperty( const TQString& name, void* value );
      +    bool hasProperty( const TQString& name ) const;
      +
      +    void setEntityResolver( TQXmlEntityResolver* handler );
      +    TQXmlEntityResolver* entityResolver() const;
      +    void setDTDHandler( TQXmlDTDHandler* handler );
      +    TQXmlDTDHandler* DTDHandler() const;
      +    void setContentHandler( TQXmlContentHandler* handler );
      +    TQXmlContentHandler* contentHandler() const;
      +    void setErrorHandler( TQXmlErrorHandler* handler );
      +    TQXmlErrorHandler* errorHandler() const;
      +    void setLexicalHandler( TQXmlLexicalHandler* handler );
      +    TQXmlLexicalHandler* lexicalHandler() const;
      +    void setDeclHandler( TQXmlDeclHandler* handler );
      +    TQXmlDeclHandler* declHandler() const;
      +
      +    bool parse( const TQXmlInputSource& input );
      +    bool parse( const TQXmlInputSource* input );
      +    virtual bool parse( const TQXmlInputSource* input, bool incremental );
      +    virtual bool parseContinue();
      +
      +private:
      +    // variables
      +    TQXmlContentHandler *contentHnd;
      +    TQXmlErrorHandler   *errorHnd;
      +    TQXmlDTDHandler     *dtdHnd;
      +    TQXmlEntityResolver *entityRes;
      +    TQXmlLexicalHandler *lexicalHnd;
      +    TQXmlDeclHandler    *declHnd;
      +
      +    TQXmlInputSource *inputSource;
      +
      +    TQChar c; // the character at reading position
      +    int   lineNr; // number of line
      +    int   columnNr; // position in line
      +
      +    int     nameArrayPos;
      +    TQChar   nameArray[256]; // only used for names
      +    TQString nameValue; // only used for names
      +    int     refArrayPos;
      +    TQChar   refArray[256]; // only used for references
      +    TQString refValue; // only used for references
      +    int     stringArrayPos;
      +    TQChar   stringArray[256]; // used for any other strings that are parsed
      +    TQString stringValue; // used for any other strings that are parsed
      +
      +    TQXmlSimpleReaderPrivate* d;
      +
      +    const TQString &string();
      +    void stringClear();
      +    inline void stringAddC() { stringAddC(c); }
      +    void stringAddC(const TQChar&);
      +    const TQString& name();
      +    void nameClear();
      +    inline void nameAddC() { nameAddC(c); }
      +    void nameAddC(const TQChar&);
      +    const TQString& ref();
      +    void refClear();
      +    inline void refAddC() { refAddC(c); }
      +    void refAddC(const TQChar&);
      +
      +    // used by parseReference() and parsePEReference()
      +    enum EntityRecognitionContext { InContent, InAttributeValue, InEntityValue, InDTD };
      +
      +    // private functions
      +    bool eat_ws();
      +    bool next_eat_ws();
      +
      +    void next();
      +    bool atEnd();
      +
      +    void init( const TQXmlInputSource* i );
      +    void initData();
      +
      +    bool entityExist( const TQString& ) const;
      +
      +    bool parseBeginOrContinue( int state, bool incremental );
      +
      +    bool parseProlog();
      +    bool parseElement();
      +    bool processElementEmptyTag();
      +    bool processElementETagBegin2();
      +    bool processElementAttribute();
      +    bool parseMisc();
      +    bool parseContent();
      +
      +    bool parsePI();
      +    bool parseDoctype();
      +    bool parseComment();
      +
      +    bool parseName();
      +    bool parseNmtoken();
      +    bool parseAttribute();
      +    bool parseReference();
      +    bool processReference();
      +
      +    bool parseExternalID();
      +    bool parsePEReference();
      +    bool parseMarkupdecl();
      +    bool parseAttlistDecl();
      +    bool parseAttType();
      +    bool parseAttValue();
      +    bool parseElementDecl();
      +    bool parseNotationDecl();
      +    bool parseChoiceSeq();
      +    bool parseEntityDecl();
      +    bool parseEntityValue();
      +
      +    bool parseString();
      +
      +    bool insertXmlRef( const TQString&, const TQString&, bool );
      +
      +    bool reportEndEntities();
      +    void reportParseError( const TQString& error );
      +
      +    typedef bool (TQXmlSimpleReader::*ParseFunction) ();
      +    void unexpectedEof( ParseFunction where, int state );
      +    void parseFailed( ParseFunction where, int state );
      +    void pushParseState( ParseFunction function, int state );
      +
      +    void setUndefEntityInAttrHack(bool b);
      +
      +    friend class TQXmlSimpleReaderPrivate;
      +    friend class TQXmlSimpleReaderLocator;
      +    friend class TQDomDocumentPrivate;
      +};
      +
      +//
      +// SAX Locator
      +//
      +
      +class TQM_EXPORT_XML TQXmlLocator
      +{
      +public:
      +    TQXmlLocator();
      +    virtual ~TQXmlLocator();
      +
      +    virtual int columnNumber() = 0;
      +    virtual int lineNumber() = 0;
      +//    TQString getPublicId()
      +//    TQString getSystemId()
      +};
      +
      +//
      +// SAX handler classes
      +//
      +
      +class TQM_EXPORT_XML TQXmlContentHandler
      +{
      +public:
      +    virtual void setDocumentLocator( TQXmlLocator* locator ) = 0;
      +    virtual bool startDocument() = 0;
      +    virtual bool endDocument() = 0;
      +    virtual bool startPrefixMapping( const TQString& prefix, const TQString& uri ) = 0;
      +    virtual bool endPrefixMapping( const TQString& prefix ) = 0;
      +    virtual bool startElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName, const TQXmlAttributes& atts ) = 0;
      +    virtual bool endElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName ) = 0;
      +    virtual bool characters( const TQString& ch ) = 0;
      +    virtual bool ignorableWhitespace( const TQString& ch ) = 0;
      +    virtual bool processingInstruction( const TQString& target, const TQString& data ) = 0;
      +    virtual bool skippedEntity( const TQString& name ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlErrorHandler
      +{
      +public:
      +    virtual bool warning( const TQXmlParseException& exception ) = 0;
      +    virtual bool error( const TQXmlParseException& exception ) = 0;
      +    virtual bool fatalError( const TQXmlParseException& exception ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlDTDHandler
      +{
      +public:
      +    virtual bool notationDecl( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      +    virtual bool unparsedEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId, const TQString& notationName ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlEntityResolver
      +{
      +public:
      +    virtual bool resolveEntity( const TQString& publicId, const TQString& systemId, TQXmlInputSource*& ret ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlLexicalHandler
      +{
      +public:
      +    virtual bool startDTD( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      +    virtual bool endDTD() = 0;
      +    virtual bool startEntity( const TQString& name ) = 0;
      +    virtual bool endEntity( const TQString& name ) = 0;
      +    virtual bool startCDATA() = 0;
      +    virtual bool endCDATA() = 0;
      +    virtual bool comment( const TQString& ch ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +class TQM_EXPORT_XML TQXmlDeclHandler
      +{
      +public:
      +    virtual bool attributeDecl( const TQString& eName, const TQString& aName, const TQString& type, const TQString& valueDefault, const TQString& value ) = 0;
      +    virtual bool internalEntityDecl( const TQString& name, const TQString& value ) = 0;
      +    virtual bool externalEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId ) = 0;
      +    virtual TQString errorString() = 0;
      +};
      +
      +
      +class TQM_EXPORT_XML TQXmlDefaultHandler : public TQXmlContentHandler, public TQXmlErrorHandler, public TQXmlDTDHandler, public TQXmlEntityResolver, public TQXmlLexicalHandler, public TQXmlDeclHandler
      +{
      +public:
      +    TQXmlDefaultHandler() { }
      +    virtual ~TQXmlDefaultHandler() { }
      +
      +    void setDocumentLocator( TQXmlLocator* locator );
      +    bool startDocument();
      +    bool endDocument();
      +    bool startPrefixMapping( const TQString& prefix, const TQString& uri );
      +    bool endPrefixMapping( const TQString& prefix );
      +    bool startElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName, const TQXmlAttributes& atts );
      +    bool endElement( const TQString& namespaceURI, const TQString& localName, const TQString& qName );
      +    bool characters( const TQString& ch );
      +    bool ignorableWhitespace( const TQString& ch );
      +    bool processingInstruction( const TQString& target, const TQString& data );
      +    bool skippedEntity( const TQString& name );
      +
      +    bool warning( const TQXmlParseException& exception );
      +    bool error( const TQXmlParseException& exception );
      +    bool fatalError( const TQXmlParseException& exception );
      +
      +    bool notationDecl( const TQString& name, const TQString& publicId, const TQString& systemId );
      +    bool unparsedEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId, const TQString& notationName );
      +
      +    bool resolveEntity( const TQString& publicId, const TQString& systemId, TQXmlInputSource*& ret );
      +
      +    bool startDTD( const TQString& name, const TQString& publicId, const TQString& systemId );
      +    bool endDTD();
      +    bool startEntity( const TQString& name );
      +    bool endEntity( const TQString& name );
      +    bool startCDATA();
      +    bool endCDATA();
      +    bool comment( const TQString& ch );
      +
      +    bool attributeDecl( const TQString& eName, const TQString& aName, const TQString& type, const TQString& valueDefault, const TQString& value );
      +    bool internalEntityDecl( const TQString& name, const TQString& value );
      +    bool externalEntityDecl( const TQString& name, const TQString& publicId, const TQString& systemId );
      +
      +    TQString errorString();
      +
      +private:
      +    TQXmlDefaultHandlerPrivate *d;
      +};
      +
      +
      +//
      +// inlines
      +//
      +
      +inline bool TQXmlSimpleReader::atEnd()
      +{ return (c.unicode()|0x0001) == 0xffff; }
      +inline int TQXmlAttributes::count() const
      +{ return length(); }
      +
      +
      +#endif //TQT_NO_XML
      +
      +#endif
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlattributes-members.html b/doc/html/tqxmlattributes-members.html new file mode 100644 index 000000000..ec481910d --- /dev/null +++ b/doc/html/tqxmlattributes-members.html @@ -0,0 +1,58 @@ + + + + + +TQXmlAttributes Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlAttributes

      + +

      This is the complete list of member functions for +TQXmlAttributes, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlattributes.html b/doc/html/tqxmlattributes.html new file mode 100644 index 000000000..5f162b19c --- /dev/null +++ b/doc/html/tqxmlattributes.html @@ -0,0 +1,200 @@ + + + + + +TQXmlAttributes Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlAttributes Class Reference
      [XML module]

      + +

      The TQXmlAttributes class provides XML attributes. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      List of all member functions. +

      Public Members

      +
        +
      • TQXmlAttributes ()
      • +
      • virtual ~TQXmlAttributes ()
      • +
      • int index ( const TQString & qName ) const
      • +
      • int index ( const TQString & uri, const TQString & localPart ) const
      • +
      • int length () const
      • +
      • int count () const
      • +
      • TQString localName ( int index ) const
      • +
      • TQString qName ( int index ) const
      • +
      • TQString uri ( int index ) const
      • +
      • TQString type ( int index ) const
      • +
      • TQString type ( const TQString & qName ) const
      • +
      • TQString type ( const TQString & uri, const TQString & localName ) const
      • +
      • TQString value ( int index ) const
      • +
      • TQString value ( const TQString & qName ) const
      • +
      • TQString value ( const TQString & uri, const TQString & localName ) const
      • +
      • void clear ()
      • +
      • void append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )
      • +
      +

      Detailed Description

      + + + +The TQXmlAttributes class provides XML attributes. + +

      + +

      If attributes are reported by TQXmlContentHandler::startElement() +this class is used to pass the attribute values. +

      Use index() to locate the position of an attribute in the list, +count() to retrieve the number of attributes, and clear() to +remove the attributes. New attributes can be added with append(). +Use type() to get an attribute's type and value() to get its +value. The attribute's name is available from localName() or +qName(), and its namespace URI from uri(). +

      See also XML. + +


      Member Function Documentation

      +

      TQXmlAttributes::TQXmlAttributes () +

      + +

      Constructs an empty attribute list. + +

      TQXmlAttributes::~TQXmlAttributes () [virtual] +

      + +

      Destroys the attributes object. + +

      void TQXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value ) +

      +Appends a new attribute entry to the list of attributes. The +qualified name of the attribute is qName, the namespace URI is +uri and the local name is localPart. The value of the +attribute is value. +

      See also qName(), uri(), localName(), and value(). + +

      void TQXmlAttributes::clear () +

      +Clears the list of attributes. +

      See also append(). + +

      int TQXmlAttributes::count () const +

      + +

      Returns the number of attributes in the list. This function is +equivalent to length(). + +

      int TQXmlAttributes::index ( const TQString & qName ) const +

      +Looks up the index of an attribute by the qualified name qName. +

      Returns the index of the attribute or -1 if it wasn't found. +

      See also the namespace description. + +

      int TQXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Looks up the index of an attribute by a namespace name. +

      uri specifies the namespace URI, or an empty string if the name +has no namespace URI. localPart specifies the attribute's local +name. +

      Returns the index of the attribute, or -1 if it wasn't found. +

      See also the namespace description. + +

      int TQXmlAttributes::length () const +

      +Returns the number of attributes in the list. +

      See also count(). + +

      Example: xml/tagreader-with-features/structureparser.cpp. +

      TQString TQXmlAttributes::localName ( int index ) const +

      +Looks up an attribute's local name for the attribute at position +index. If no namespace processing is done, the local name is +TQString::null. +

      See also the namespace description. + +

      TQString TQXmlAttributes::qName ( int index ) const +

      +Looks up an attribute's XML 1.0 qualified name for the attribute +at position index. +

      See also the namespace description. + +

      Example: xml/tagreader-with-features/structureparser.cpp. +

      TQString TQXmlAttributes::type ( int index ) const +

      +Looks up an attribute's type for the attribute at position index. +

      Currently only "CDATA" is returned. + +

      TQString TQXmlAttributes::type ( const TQString & qName ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Looks up an attribute's type for the qualified name qName. +

      Currently only "CDATA" is returned. + +

      TQString TQXmlAttributes::type ( const TQString & uri, const TQString & localName ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Looks up an attribute's type by namespace name. +

      uri specifies the namespace URI and localName specifies the +local name. If the name has no namespace URI, use an empty string +for uri. +

      Currently only "CDATA" is returned. + +

      TQString TQXmlAttributes::uri ( int index ) const +

      +Looks up an attribute's namespace URI for the attribute at +position index. If no namespace processing is done or if the +attribute has no namespace, the namespace URI is TQString::null. +

      See also the namespace description. + +

      Example: xml/tagreader-with-features/structureparser.cpp. +

      TQString TQXmlAttributes::value ( int index ) const +

      +Looks up an attribute's value for the attribute at position index. + +

      TQString TQXmlAttributes::value ( const TQString & qName ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Looks up an attribute's value for the qualified name qName. +

      See also the namespace description. + +

      TQString TQXmlAttributes::value ( const TQString & uri, const TQString & localName ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Looks up an attribute's value by namespace name. +

      uri specifies the namespace URI, or an empty string if the name +has no namespace URI. localName specifies the attribute's local +name. +

      See also the namespace description. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlcontenthandler-members.html b/doc/html/tqxmlcontenthandler-members.html new file mode 100644 index 000000000..849c9ec25 --- /dev/null +++ b/doc/html/tqxmlcontenthandler-members.html @@ -0,0 +1,58 @@ + + + + + +TQXmlContentHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlContentHandler

      + +

      This is the complete list of member functions for +TQXmlContentHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlcontenthandler.html b/doc/html/tqxmlcontenthandler.html new file mode 100644 index 000000000..5ce191dbd --- /dev/null +++ b/doc/html/tqxmlcontenthandler.html @@ -0,0 +1,266 @@ + + + + + +TQXmlContentHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlContentHandler Class Reference
      [XML module]

      + +

      The TQXmlContentHandler class provides an interface to +report the logical content of XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual void setDocumentLocator ( TQXmlLocator * locator ) = 0
      • +
      • virtual bool startDocument () = 0
      • +
      • virtual bool endDocument () = 0
      • +
      • virtual bool startPrefixMapping ( const TQString & prefix, const TQString & uri ) = 0
      • +
      • virtual bool endPrefixMapping ( const TQString & prefix ) = 0
      • +
      • virtual bool startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) = 0
      • +
      • virtual bool endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) = 0
      • +
      • virtual bool characters ( const TQString & ch ) = 0
      • +
      • virtual bool ignorableWhitespace ( const TQString & ch ) = 0
      • +
      • virtual bool processingInstruction ( const TQString & target, const TQString & data ) = 0
      • +
      • virtual bool skippedEntity ( const TQString & name ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlContentHandler class provides an interface to +report the logical content of XML data. + +

      + +

      If the application needs to be informed of basic parsing events, +it can implement this interface and activate it using +TQXmlReader::setContentHandler(). The reader can then report basic +document-related events like the start and end of elements and +character data through this interface. +

      The order of events in this interface is very important, and +mirrors the order of information in the document itself. For +example, all of an element's content (character data, processing +instructions, and sub-elements) appears, in order, between the +startElement() event and the corresponding endElement() event. +

      The class TQXmlDefaultHandler provides a default implementation for +this interface; subclassing from the TQXmlDefaultHandler class is +very convenient if you only want to be informed of some parsing +events. +

      The startDocument() function is called at the start of the +document, and endDocument() is called at the end. Before parsing +begins setDocumentLocator() is called. For each element +startElement() is called, with endElement() being called at the +end of each element. The characters() function is called with +chunks of character data; ignorableWhitespace() is called with +chunks of whitespace and processingInstruction() is called with +processing instructions. If an entity is skipped skippedEntity() +is called. At the beginning of prefix-URI scopes +startPrefixMapping() is called. +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      bool TQXmlContentHandler::characters ( const TQString & ch ) [pure virtual] +

      + +

      The reader calls this function when it has parsed a chunk of +character data (either normal character data or character data +inside a CDATA section; if you need to distinguish between those +two types you must use TQXmlLexicalHandler::startCDATA() and +TQXmlLexicalHandler::endCDATA()). The character data is reported in +ch. +

      Some readers report whitespace in element content using the +ignorableWhitespace() function rather than using this one. +

      A reader may report the character data of an element in more than +one chunk; e.g. a reader might want to report "a<b" in three +characters() events ("a ", "<" and " b"). +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlContentHandler::endDocument () [pure virtual] +

      + +

      The reader calls this function after it has finished parsing. It +is called just once, and is the last handler function called. It +is called after the reader has read all input or has abandoned +parsing because of a fatal error. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also startDocument(). + +

      bool TQXmlContentHandler::endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) [pure virtual] +

      + +

      The reader calls this function when it has parsed an end element +tag with the qualified name qName, the local name localName +and the namespace URI namespaceURI. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also the namespace description. +

      See also startElement(). + +

      Example: xml/tagreader/structureparser.cpp. +

      bool TQXmlContentHandler::endPrefixMapping ( const TQString & prefix ) [pure virtual] +

      + +

      The reader calls this function to signal the end of a prefix +mapping for the prefix prefix. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also the namespace description. +

      See also startPrefixMapping(). + +

      TQString TQXmlContentHandler::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string, e.g. if any +of the handler functions returns FALSE. + +

      bool TQXmlContentHandler::ignorableWhitespace ( const TQString & ch ) [pure virtual] +

      + +

      Some readers may use this function to report each chunk of +whitespace in element content. The whitespace is reported in ch. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlContentHandler::processingInstruction ( const TQString & target, const TQString & data ) [pure virtual] +

      + +

      The reader calls this function when it has parsed a processing +instruction. +

      target is the target name of the processing instruction and data is the data in the processing instruction. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      void TQXmlContentHandler::setDocumentLocator ( TQXmlLocator * locator ) [pure virtual] +

      + +

      The reader calls this function before it starts parsing the +document. The argument locator is a pointer to a TQXmlLocator +which allows the application to get the parsing position within +the document. +

      Do not destroy the locator; it is destroyed when the reader is +destroyed. (Do not use the locator after the reader is +destroyed). + +

      bool TQXmlContentHandler::skippedEntity ( const TQString & name ) [pure virtual] +

      + +

      Some readers may skip entities if they have not seen the +declarations (e.g. because they are in an external DTD). If they +do so they report that they skipped the entity called name by +calling this function. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlContentHandler::startDocument () [pure virtual] +

      + +

      The reader calls this function when it starts parsing the +document. The reader calls this function just once, after the call +to setDocumentLocator(), and before any other functions in this +class or in the TQXmlDTDHandler class are called. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also endDocument(). + +

      Example: xml/tagreader/structureparser.cpp. +

      bool TQXmlContentHandler::startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) [pure virtual] +

      + +

      The reader calls this function when it has parsed a start element +tag. +

      There is a corresponding endElement() call when the corresponding +end element tag is read. The startElement() and endElement() calls +are always nested correctly. Empty element tags (e.g. <x/>) +cause a startElement() call to be immediately followed by an +endElement() call. +

      The attribute list provided only contains attributes with explicit +values. The attribute list contains attributes used for namespace +declaration (i.e. attributes starting with xmlns) only if the +namespace-prefix property of the reader is TRUE. +

      The argument namespaceURI is the namespace URI, or +TQString::null if the element has no namespace URI or if no +namespace processing is done. localName is the local name +(without prefix), or TQString::null if no namespace processing is +done, qName is the qualified name (with prefix) and atts are +the attributes attached to the element. If there are no +attributes, atts is an empty attributes object. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also the namespace description. +

      See also endElement(). + +

      Example: xml/tagreader/structureparser.cpp. +

      bool TQXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri ) [pure virtual] +

      + +

      The reader calls this function to signal the begin of a prefix-URI +namespace mapping scope. This information is not necessary for +normal namespace processing since the reader automatically +replaces prefixes for element and attribute names. +

      Note that startPrefixMapping() and endPrefixMapping() calls are +not guaranteed to be properly nested relative to each other: all +startPrefixMapping() events occur before the corresponding +startElement() event, and all endPrefixMapping() events occur +after the corresponding endElement() event, but their order is not +otherwise guaranteed. +

      The argument prefix is the namespace prefix being declared and +the argument uri is the namespace URI the prefix is mapped to. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also the namespace description. +

      See also endPrefixMapping(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldeclhandler-members.html b/doc/html/tqxmldeclhandler-members.html new file mode 100644 index 000000000..826b6f46c --- /dev/null +++ b/doc/html/tqxmldeclhandler-members.html @@ -0,0 +1,50 @@ + + + + + +TQXmlDeclHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlDeclHandler

      + +

      This is the complete list of member functions for +TQXmlDeclHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldeclhandler.html b/doc/html/tqxmldeclhandler.html new file mode 100644 index 000000000..b881a6e5a --- /dev/null +++ b/doc/html/tqxmldeclhandler.html @@ -0,0 +1,124 @@ + + + + + +TQXmlDeclHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlDeclHandler Class Reference
      [XML module]

      + +

      The TQXmlDeclHandler class provides an interface to report declaration +content of XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value ) = 0
      • +
      • virtual bool internalEntityDecl ( const TQString & name, const TQString & value ) = 0
      • +
      • virtual bool externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlDeclHandler class provides an interface to report declaration +content of XML data. + +

      + +

      You can set the declaration handler with +TQXmlReader::setDeclHandler(). +

      This interface is based on the SAX2 extension DeclHandler. +

      The interface provides attributeDecl(), internalEntityDecl() and +externalEntityDecl() functions. +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      bool TQXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value ) [pure virtual] +

      + +

      The reader calls this function to report an attribute type +declaration. Only the effective (first) declaration for an +attribute is reported. +

      The reader passes the name of the associated element in eName +and the name of the attribute in aName. It passes a string that +represents the attribute type in type and a string that +represents the attribute default in valueDefault. This string +is one of "#IMPLIED", "#REQUIRED", "#FIXED" or TQString::null (if +none of the others applies). The reader passes the attribute's +default value in value. If no default value is specified in the +XML file, value is TQString::null. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      TQString TQXmlDeclHandler::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

      bool TQXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] +

      + +

      The reader calls this function to report a parsed external entity +declaration. Only the effective (first) declaration for each +entity is reported. +

      The reader passes the name of the entity in name, the public +identifier in publicId and the system identifier in systemId. If there is no public identifier specified, it passes +TQString::null in publicId. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value ) [pure virtual] +

      + +

      The reader calls this function to report an internal entity +declaration. Only the effective (first) declaration is reported. +

      The reader passes the name of the entity in name and the value +of the entity in value. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldefaulthandler-members.html b/doc/html/tqxmldefaulthandler-members.html new file mode 100644 index 000000000..cf15b5d9a --- /dev/null +++ b/doc/html/tqxmldefaulthandler-members.html @@ -0,0 +1,76 @@ + + + + + +TQXmlDefaultHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlDefaultHandler

      + +

      This is the complete list of member functions for +TQXmlDefaultHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldefaulthandler.html b/doc/html/tqxmldefaulthandler.html new file mode 100644 index 000000000..3498d83af --- /dev/null +++ b/doc/html/tqxmldefaulthandler.html @@ -0,0 +1,84 @@ + + + + + +TQXmlDefaultHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlDefaultHandler Class Reference
      [XML module]

      + +

      The TQXmlDefaultHandler class provides a default implementation of all +the XML handler classes. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherits TQXmlContentHandler, TQXmlErrorHandler, TQXmlDTDHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and TQXmlDeclHandler. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQXmlDefaultHandler class provides a default implementation of all +the XML handler classes. + +

      + +

      Very often we are only interested in parts of the things that the +reader reports. This class implements a default behaviour for the +handler classes (i.e. most of the time do nothing). Usually this +is the class you subclass for implementing your own customized +handler. +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      TQXmlDefaultHandler::TQXmlDefaultHandler () +

      + +

      Constructor. + +

      TQXmlDefaultHandler::~TQXmlDefaultHandler () [virtual] +

      + +

      Destructor. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldtdhandler-members.html b/doc/html/tqxmldtdhandler-members.html new file mode 100644 index 000000000..381872d32 --- /dev/null +++ b/doc/html/tqxmldtdhandler-members.html @@ -0,0 +1,49 @@ + + + + + +TQXmlDTDHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlDTDHandler

      + +

      This is the complete list of member functions for +TQXmlDTDHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmldtdhandler.html b/doc/html/tqxmldtdhandler.html new file mode 100644 index 000000000..ae1852b6d --- /dev/null +++ b/doc/html/tqxmldtdhandler.html @@ -0,0 +1,108 @@ + + + + + +TQXmlDTDHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlDTDHandler Class Reference
      [XML module]

      + +

      The TQXmlDTDHandler class provides an interface to report +DTD content of XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • +
      • virtual bool unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlDTDHandler class provides an interface to report +DTD content of XML data. + +

      + +

      If an application needs information about notations and unparsed +entities, it can implement this interface and register an instance +with TQXmlReader::setDTDHandler(). +

      Note that this interface includes only those DTD events that the +XML recommendation requires processors to report, i.e. notation +and unparsed entity declarations using notationDecl() and +unparsedEntityDecl() respectively. +

      See also the Introduction to SAX2. +

      See also TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      TQString TQXmlDTDHandler::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

      bool TQXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] +

      + +

      The reader calls this function when it has parsed a notation +declaration. +

      The argument name is the notation name, publicId is the +notation's public identifier and systemId is the notation's +system identifier. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName ) [pure virtual] +

      + +

      The reader calls this function when it finds an unparsed entity +declaration. +

      The argument name is the unparsed entity's name, publicId is +the entity's public identifier, systemId is the entity's system +identifier and notationName is the name of the associated +notation. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlentityresolver-members.html b/doc/html/tqxmlentityresolver-members.html new file mode 100644 index 000000000..4675c25e2 --- /dev/null +++ b/doc/html/tqxmlentityresolver-members.html @@ -0,0 +1,48 @@ + + + + + +TQXmlEntityResolver Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlEntityResolver

      + +

      This is the complete list of member functions for +TQXmlEntityResolver, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlentityresolver.html b/doc/html/tqxmlentityresolver.html new file mode 100644 index 000000000..cf449a29d --- /dev/null +++ b/doc/html/tqxmlentityresolver.html @@ -0,0 +1,99 @@ + + + + + +TQXmlEntityResolver Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlEntityResolver Class Reference
      [XML module]

      + +

      The TQXmlEntityResolver class provides an interface to +resolve external entities contained in XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlEntityResolver class provides an interface to +resolve external entities contained in XML data. + +

      + +

      If an application needs to implement customized handling for +external entities, it must implement this interface, i.e. +resolveEntity(), and register it with +TQXmlReader::setEntityResolver(). +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      TQString TQXmlEntityResolver::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

      bool TQXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) [pure virtual] +

      + +

      The reader calls this function before it opens any external +entity, except the top-level document entity. The application may +request the reader to resolve the entity itself (ret is 0) or +to use an entirely different input source (ret points to the +input source). +

      The reader deletes the input source ret when it no longer needs +it, so you should allocate it on the heap with new. +

      The argument publicId is the public identifier of the external +entity, systemId is the system identifier of the external +entity and ret is the return value of this function. If ret +is 0 the reader should resolve the entity itself, if it is +non-zero it must point to an input source which the reader uses +instead. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlerrorhandler-members.html b/doc/html/tqxmlerrorhandler-members.html new file mode 100644 index 000000000..19dd4055e --- /dev/null +++ b/doc/html/tqxmlerrorhandler-members.html @@ -0,0 +1,50 @@ + + + + + +TQXmlErrorHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlErrorHandler

      + +

      This is the complete list of member functions for +TQXmlErrorHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlerrorhandler.html b/doc/html/tqxmlerrorhandler.html new file mode 100644 index 000000000..1a345e6d5 --- /dev/null +++ b/doc/html/tqxmlerrorhandler.html @@ -0,0 +1,114 @@ + + + + + +TQXmlErrorHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlErrorHandler Class Reference
      [XML module]

      + +

      The TQXmlErrorHandler class provides an interface to report +errors in XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool warning ( const TQXmlParseException & exception ) = 0
      • +
      • virtual bool error ( const TQXmlParseException & exception ) = 0
      • +
      • virtual bool fatalError ( const TQXmlParseException & exception ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlErrorHandler class provides an interface to report +errors in XML data. + +

      + +

      If you want your application to report errors to the user or to +perform customized error handling, you should subclass this class. +

      You can set the error handler with TQXmlReader::setErrorHandler(). +

      Errors can be reported using warning(), error() and fatalError(), +with the error text being reported with errorString(). +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and XML. + +


      Member Function Documentation

      +

      bool TQXmlErrorHandler::error ( const TQXmlParseException & exception ) [pure virtual] +

      + +

      A reader might use this function to report a recoverable error. A +recoverable error corresponds to the definiton of "error" in +section 1.2 of the XML 1.0 specification. Details of the error are +stored in exception. +

      The reader must continue to provide normal parsing events after +invoking this function. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      TQString TQXmlErrorHandler::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

      bool TQXmlErrorHandler::fatalError ( const TQXmlParseException & exception ) [pure virtual] +

      + +

      A reader must use this function to report a non-recoverable error. +Details of the error are stored in exception. +

      If this function returns TRUE the reader might try to go on +parsing and reporting further errors; but no regular parsing +events are reported. + +

      bool TQXmlErrorHandler::warning ( const TQXmlParseException & exception ) [pure virtual] +

      + +

      A reader might use this function to report a warning. Warnings are +conditions that are not errors or fatal errors as defined by the +XML 1.0 specification. Details of the warning are stored in exception. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlinputsource-members.html b/doc/html/tqxmlinputsource-members.html new file mode 100644 index 000000000..dc13eb4e6 --- /dev/null +++ b/doc/html/tqxmlinputsource-members.html @@ -0,0 +1,54 @@ + + + + + +TQXmlInputSource Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlInputSource

      + +

      This is the complete list of member functions for +TQXmlInputSource, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlinputsource.html b/doc/html/tqxmlinputsource.html new file mode 100644 index 000000000..628cd3849 --- /dev/null +++ b/doc/html/tqxmlinputsource.html @@ -0,0 +1,193 @@ + + + + + +TQXmlInputSource Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlInputSource Class Reference
      [XML module]

      + +

      The TQXmlInputSource class provides the input data for the +TQXmlReader subclasses. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      List of all member functions. +

      Public Members

      + +

      Protected Members

      +
        +
      • virtual TQString fromRawData ( const TQByteArray & data, bool beginning = FALSE )
      • +
      +

      Detailed Description

      + + + +The TQXmlInputSource class provides the input data for the +TQXmlReader subclasses. + +

      + +

      All subclasses of TQXmlReader read the input XML document from this +class. +

      This class recognizes the encoding of the data by reading the +encoding declaration in the XML file if it finds one, and reading +the data using the corresponding encoding. If it does not find an +encoding declaration, then it assumes that the data is either in +UTF-8 or UTF-16, depending on whether it can find a byte-order +mark. +

      There are two ways to populate the input source with data: you can +construct it with a TQIODevice* so that the input source reads the +data from that device. Or you can set the data explicitly with one +of the setData() functions. +

      Usually you either construct a TQXmlInputSource that works on a +TQIODevice* or you construct an empty TQXmlInputSource and set the +data with setData(). There are only rare occasions where you would +want to mix both methods. +

      The TQXmlReader subclasses use the next() function to read the +input character by character. If you want to start from the +beginning again, use reset(). +

      The functions data() and fetchData() are useful if you want to do +something with the data other than parsing, e.g. displaying the +raw XML file. The benefit of using the TQXmlInputClass in such +cases is that it tries to use the correct encoding. +

      See also TQXmlReader, TQXmlSimpleReader, and XML. + +


      Member Function Documentation

      +

      TQXmlInputSource::TQXmlInputSource () +

      +Constructs an input source which contains no data. +

      See also setData(). + +

      TQXmlInputSource::TQXmlInputSource ( TQIODevice * dev ) +

      +Constructs an input source and gets the data from device dev. +If dev is not open, it is opened in read-only mode. If dev +is 0 or it is not possible to read from the device, the input +source will contain no data. +

      See also setData(), fetchData(), and TQIODevice. + +

      TQXmlInputSource::TQXmlInputSource ( TQFile & file ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Constructs an input source and gets the data from the file file. If the +file cannot be read the input source is empty. + +

      TQXmlInputSource::TQXmlInputSource ( TQTextStream & stream ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Constructs an input source and gets the data from the text stream stream. + +

      TQXmlInputSource::~TQXmlInputSource () [virtual] +

      +Destructor. + +

      TQString TQXmlInputSource::data () [virtual] +

      +Returns the data the input source contains or TQString::null if the +input source does not contain any data. +

      See also setData(), TQXmlInputSource(), and fetchData(). + +

      void TQXmlInputSource::fetchData () [virtual] +

      +This function reads more data from the device that was set during +construction. If the input source already contained data, this +function deletes that data first. +

      This object contains no data after a call to this function if the +object was constructed without a device to read data from or if +this function was not able to get more data from the device. +

      There are two occasions where a fetch is done implicitly by +another function call: during construction (so that the object +starts out with some initial data where available), and during a +call to next() (if the data had run out). +

      You don't normally need to use this function if you use next(). +

      See also data(), next(), and TQXmlInputSource(). + +

      TQString TQXmlInputSource::fromRawData ( const TQByteArray & data, bool beginning = FALSE ) [virtual protected] +

      +This function reads the XML file from data and tries to +recognize the encoding. It converts the raw data data into a +TQString and returns it. It tries its best to get the correct +encoding for the XML file. +

      If beginning is TRUE, this function assumes that the data +starts at the beginning of a new XML document and looks for an +encoding declaration. If beginning is FALSE, it converts the +raw data using the encoding determined from prior calls. + +

      TQChar TQXmlInputSource::next () [virtual] +

      +Returns the next character of the input source. If this function +reaches the end of available data, it returns +TQXmlInputSource::EndOfData. If you call next() after that, it +tries to fetch more data by calling fetchData(). If the +fetchData() call results in new data, this function returns the +first character of that data; otherwise it returns +TQXmlInputSource::EndOfDocument. +

      See also reset(), fetchData(), TQXmlSimpleReader::parse(), and TQXmlSimpleReader::parseContinue(). + +

      void TQXmlInputSource::reset () [virtual] +

      +This function sets the position used by next() to the beginning of +the data returned by data(). This is useful if you want to use the +input source for more than one parse. +

      See also next(). + +

      Example: xml/tagreader-with-features/tagreader.cpp. +

      void TQXmlInputSource::setData ( const TQString & dat ) [virtual] +

      +Sets the data of the input source to dat. +

      If the input source already contains data, this function deletes +that data first. +

      See also data(). + +

      void TQXmlInputSource::setData ( const TQByteArray & dat ) [virtual] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      The data dat is passed through the correct text-codec, before +it is set. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmllexicalhandler-members.html b/doc/html/tqxmllexicalhandler-members.html new file mode 100644 index 000000000..ba152b41c --- /dev/null +++ b/doc/html/tqxmllexicalhandler-members.html @@ -0,0 +1,54 @@ + + + + + +TQXmlLexicalHandler Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlLexicalHandler

      + +

      This is the complete list of member functions for +TQXmlLexicalHandler, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmllexicalhandler.html b/doc/html/tqxmllexicalhandler.html new file mode 100644 index 000000000..fd399ea11 --- /dev/null +++ b/doc/html/tqxmllexicalhandler.html @@ -0,0 +1,177 @@ + + + + + +TQXmlLexicalHandler Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlLexicalHandler Class Reference
      [XML module]

      + +

      The TQXmlLexicalHandler class provides an interface to +report the lexical content of XML data. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlDefaultHandler. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId ) = 0
      • +
      • virtual bool endDTD () = 0
      • +
      • virtual bool startEntity ( const TQString & name ) = 0
      • +
      • virtual bool endEntity ( const TQString & name ) = 0
      • +
      • virtual bool startCDATA () = 0
      • +
      • virtual bool endCDATA () = 0
      • +
      • virtual bool comment ( const TQString & ch ) = 0
      • +
      • virtual TQString errorString () = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlLexicalHandler class provides an interface to +report the lexical content of XML data. + +

      + +

      The events in the lexical handler apply to the entire document, +not just to the document element, and all lexical handler events +appear between the content handler's startDocument and endDocument +events. +

      You can set the lexical handler with +TQXmlReader::setLexicalHandler(). +

      This interface's design is based on the the SAX2 extension +LexicalHandler. +

      The interface provides the startDTD(), endDTD(), startEntity(), +endEntity(), startCDATA(), endCDATA() and comment() functions. +

      See also the Introduction to SAX2. +

      See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, and XML. + +


      Member Function Documentation

      +

      bool TQXmlLexicalHandler::comment ( const TQString & ch ) [pure virtual] +

      + +

      The reader calls this function to report an XML comment anywhere +in the document. It reports the text of the comment in ch. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

      bool TQXmlLexicalHandler::endCDATA () [pure virtual] +

      + +

      The reader calls this function to report the end of a CDATA +section. +

      If this function returns FALSE the reader stops parsing and reports +an error. The reader uses the function errorString() to get the error +message. +

      See also startCDATA() and TQXmlContentHandler::characters(). + +

      bool TQXmlLexicalHandler::endDTD () [pure virtual] +

      + +

      The reader calls this function to report the end of a DTD +declaration, if any. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also startDTD(). + +

      bool TQXmlLexicalHandler::endEntity ( const TQString & name ) [pure virtual] +

      + +

      The reader calls this function to report the end of an entity +called name. +

      For every startEntity() call, there is a corresponding endEntity() +call. The calls to startEntity() and endEntity() are properly +nested. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also startEntity(), TQXmlContentHandler::skippedEntity(), and TQXmlSimpleReader::setFeature(). + +

      TQString TQXmlLexicalHandler::errorString () [pure virtual] +

      + +

      The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

      bool TQXmlLexicalHandler::startCDATA () [pure virtual] +

      + +

      The reader calls this function to report the start of a CDATA +section. The content of the CDATA section is reported through the +TQXmlContentHandler::characters() function. This function is +intended only to report the boundary. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also endCDATA(). + +

      bool TQXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] +

      + +

      The reader calls this function to report the start of a DTD +declaration, if any. It reports the name of the document type in +name, the public identifier in publicId and the system +identifier in systemId. +

      If the public identifier is missing, publicId is set to +TQString::null. If the system identifier is missing, systemId is +set to TQString::null. Note that it is not valid XML to have a +public identifier but no system identifier; in such cases a parse +error will occur. +

      All declarations reported through TQXmlDTDHandler or +TQXmlDeclHandler appear between the startDTD() and endDTD() calls. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also endDTD(). + +

      bool TQXmlLexicalHandler::startEntity ( const TQString & name ) [pure virtual] +

      + +

      The reader calls this function to report the start of an entity +called name. +

      Note that if the entity is unknown, the reader reports it through +TQXmlContentHandler::skippedEntity() and not through this +function. +

      If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

      See also endEntity() and TQXmlSimpleReader::setFeature(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmllocator-members.html b/doc/html/tqxmllocator-members.html new file mode 100644 index 000000000..acfc4366c --- /dev/null +++ b/doc/html/tqxmllocator-members.html @@ -0,0 +1,50 @@ + + + + + +TQXmlLocator Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlLocator

      + +

      This is the complete list of member functions for +TQXmlLocator, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmllocator.html b/doc/html/tqxmllocator.html new file mode 100644 index 000000000..eb02a37d2 --- /dev/null +++ b/doc/html/tqxmllocator.html @@ -0,0 +1,94 @@ + + + + + +TQXmlLocator Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlLocator Class Reference
      [XML module]

      + +

      The TQXmlLocator class provides the XML handler classes with +information about the parsing position within a file. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQXmlLocator class provides the XML handler classes with +information about the parsing position within a file. + +

      + +

      The reader reports a TQXmlLocator to the content handler before it +starts to parse the document. This is done with the +TQXmlContentHandler::setDocumentLocator() function. The handler +classes can now use this locator to get the position (lineNumber() +and columnNumber()) that the reader has reached. +

      See also XML. + +


      Member Function Documentation

      +

      TQXmlLocator::TQXmlLocator () +

      +Constructor. + +

      TQXmlLocator::~TQXmlLocator () [virtual] +

      +Destructor. + +

      int TQXmlLocator::columnNumber () [pure virtual] +

      + +

      Returns the column number (starting at 1) or -1 if there is no +column number available. + +

      int TQXmlLocator::lineNumber () [pure virtual] +

      + +

      Returns the line number (starting at 1) or -1 if there is no line +number available. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlnamespacesupport-members.html b/doc/html/tqxmlnamespacesupport-members.html new file mode 100644 index 000000000..6e4b05ff4 --- /dev/null +++ b/doc/html/tqxmlnamespacesupport-members.html @@ -0,0 +1,57 @@ + + + + + +TQXmlNamespaceSupport Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlNamespaceSupport

      + +

      This is the complete list of member functions for +TQXmlNamespaceSupport, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlnamespacesupport.html b/doc/html/tqxmlnamespacesupport.html new file mode 100644 index 000000000..2fd6295b0 --- /dev/null +++ b/doc/html/tqxmlnamespacesupport.html @@ -0,0 +1,201 @@ + + + + + +TQXmlNamespaceSupport Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlNamespaceSupport Class Reference
      [XML module]

      + +

      The TQXmlNamespaceSupport class is a helper class for XML +readers which want to include namespace support. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQXmlNamespaceSupport class is a helper class for XML +readers which want to include namespace support. + +

      + +

      You can set the prefix for the current namespace with setPrefix(), +and get the list of current prefixes (or those for a given URI) +with prefixes(). The namespace URI is available from uri(). Use +pushContext() to start a new namespace context, and popContext() +to return to the previous namespace context. Use splitName() or +processName() to split a name into its prefix and local name. +

      See also the namespace description. +

      See also XML. + +


      Member Function Documentation

      +

      TQXmlNamespaceSupport::TQXmlNamespaceSupport () +

      +Constructs a TQXmlNamespaceSupport. + +

      TQXmlNamespaceSupport::~TQXmlNamespaceSupport () +

      +Destroys a TQXmlNamespaceSupport. + +

      void TQXmlNamespaceSupport::popContext () +

      +Reverts to the previous namespace context. +

      Normally, you should pop the context at the end of each XML +element. After popping the context, all namespace prefix mappings +that were previously in force are restored. +

      See also pushContext(). + +

      TQString TQXmlNamespaceSupport::prefix ( const TQString & uri ) const +

      +Returns one of the prefixes mapped to the namespace URI uri. +

      If more than one prefix is currently mapped to the same URI, this +function makes an arbitrary selection; if you want all of the +prefixes, use prefixes() instead. +

      Note: to check for a default prefix, use the uri() function with +an argument of "". + +

      TQStringList TQXmlNamespaceSupport::prefixes () const +

      +Returns a list of all the prefixes currently declared. +

      If there is a default prefix, this function does not return it in +the list; check for the default prefix using uri() with an +argument of "". +

      Note that if you want to iterate over the list, you should iterate +over a copy, e.g. +

      +    TQStringList list = myXmlNamespaceSupport.prefixes();
      +    TQStringList::iterator it = list.begin();
      +    while ( it != list.end() ) {
      +        myProcessing( *it );
      +        ++it;
      +    }
      +    
      + + +

      TQStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns a list of all prefixes currently declared for the +namespace URI uri. +

      The "xml:" prefix is included. If you only want one prefix that is +mapped to the namespace URI, and you don't care which one you get, +use the prefix() function instead. +

      Note: the empty (default) prefix is never included in this list; +to check for the presence of a default namespace, use uri() with +an argument of "". +

      Note that if you want to iterate over the list, you should iterate +over a copy, e.g. +

      +    TQStringList list = myXmlNamespaceSupport.prefixes( "" );
      +    TQStringList::Iterator it = list.begin();
      +    while( it != list.end() ) {
      +        myProcessing( *it );
      +        ++it;
      +    }
      +    
      + + +

      void TQXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const +

      +Processes a raw XML 1.0 name in the current context by removing +the prefix and looking it up among the prefixes currently +declared. +

      qname is the raw XML 1.0 name to be processed. isAttribute +is TRUE if the name is an attribute name. +

      This function stores the namespace URI in nsuri (which will be +set to TQString::null if the raw name has an undeclared prefix), +and stores the local name (without prefix) in localname (which +will be set to TQString::null if no namespace is in use). +

      Note that attribute names are processed differently than element +names: an unprefixed element name gets the default namespace (if +any), while an unprefixed element name does not. + +

      void TQXmlNamespaceSupport::pushContext () +

      +Starts a new namespace context. +

      Normally, you should push a new context at the beginning of each +XML element: the new context automatically inherits the +declarations of its parent context, and it also keeps track of +which declarations were made within this context. +

      See also popContext(). + +

      void TQXmlNamespaceSupport::reset () +

      +Resets this namespace support object ready for reuse. + +

      void TQXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri ) +

      +This function declares a prefix pre in the current namespace +context to be the namespace URI uri. The prefix remains in +force until this context is popped, unless it is shadowed in a +descendant context. +

      Note that there is an asymmetry in this library. prefix() does not +return the default "" prefix, even if you have declared one; to +check for a default prefix, you must look it up explicitly using +uri(). This asymmetry exists to make it easier to look up prefixes +for attribute names, where the default prefix is not allowed. + +

      void TQXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const +

      +Splits the name qname at the ':' and returns the prefix in prefix and the local name in localname. +

      See also processName(). + +

      TQString TQXmlNamespaceSupport::uri ( const TQString & prefix ) const +

      +Looks up the prefix prefix in the current context and returns +the currently-mapped namespace URI. Use the empty string ("") for +the default namespace. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlparseexception-members.html b/doc/html/tqxmlparseexception-members.html new file mode 100644 index 000000000..a7945dfd7 --- /dev/null +++ b/doc/html/tqxmlparseexception-members.html @@ -0,0 +1,52 @@ + + + + + +TQXmlParseException Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlParseException

      + +

      This is the complete list of member functions for +TQXmlParseException, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlparseexception.html b/doc/html/tqxmlparseexception.html new file mode 100644 index 000000000..06defa1d2 --- /dev/null +++ b/doc/html/tqxmlparseexception.html @@ -0,0 +1,102 @@ + + + + + +TQXmlParseException Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlParseException Class Reference
      [XML module]

      + +

      The TQXmlParseException class is used to report errors with +the TQXmlErrorHandler interface. +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQXmlParseException class is used to report errors with +the TQXmlErrorHandler interface. + +

      + +

      The XML subsystem constructs an instance of this class when it +detects an error. You can retrieve the place where the error +occurred using systemId(), publicId(), lineNumber() and +columnNumber(), along with the error message(). +

      See also TQXmlErrorHandler, TQXmlReader, and XML. + +


      Member Function Documentation

      +

      TQXmlParseException::TQXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" ) +

      + +

      Constructs a parse exception with the error string name for +column c and line l for the public identifier p and the +system identifier s. + +

      int TQXmlParseException::columnNumber () const +

      +Returns the column number where the error occurred. + +

      int TQXmlParseException::lineNumber () const +

      +Returns the line number where the error occurred. + +

      TQString TQXmlParseException::message () const +

      +Returns the error message. + +

      TQString TQXmlParseException::publicId () const +

      +Returns the public identifier where the error occurred. + +

      TQString TQXmlParseException::systemId () const +

      +Returns the system identifier where the error occurred. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlreader-members.html b/doc/html/tqxmlreader-members.html new file mode 100644 index 000000000..87d98b8e7 --- /dev/null +++ b/doc/html/tqxmlreader-members.html @@ -0,0 +1,65 @@ + + + + + +TQXmlReader Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlReader

      + +

      This is the complete list of member functions for +TQXmlReader, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlreader.html b/doc/html/tqxmlreader.html new file mode 100644 index 000000000..19d780600 --- /dev/null +++ b/doc/html/tqxmlreader.html @@ -0,0 +1,247 @@ + + + + + +TQXmlReader Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlReader Class Reference
      [XML module]

      + +

      The TQXmlReader class provides an interface for XML readers (i.e. +parsers). +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherited by TQXmlSimpleReader. +

      List of all member functions. +

      Public Members

      +
        +
      • virtual bool feature ( const TQString & name, bool * ok = 0 ) const = 0
      • +
      • virtual void setFeature ( const TQString & name, bool value ) = 0
      • +
      • virtual bool hasFeature ( const TQString & name ) const = 0
      • +
      • virtual void * property ( const TQString & name, bool * ok = 0 ) const = 0
      • +
      • virtual void setProperty ( const TQString & name, void * value ) = 0
      • +
      • virtual bool hasProperty ( const TQString & name ) const = 0
      • +
      • virtual void setEntityResolver ( TQXmlEntityResolver * handler ) = 0
      • +
      • virtual TQXmlEntityResolver * entityResolver () const = 0
      • +
      • virtual void setDTDHandler ( TQXmlDTDHandler * handler ) = 0
      • +
      • virtual TQXmlDTDHandler * DTDHandler () const = 0
      • +
      • virtual void setContentHandler ( TQXmlContentHandler * handler ) = 0
      • +
      • virtual TQXmlContentHandler * contentHandler () const = 0
      • +
      • virtual void setErrorHandler ( TQXmlErrorHandler * handler ) = 0
      • +
      • virtual TQXmlErrorHandler * errorHandler () const = 0
      • +
      • virtual void setLexicalHandler ( TQXmlLexicalHandler * handler ) = 0
      • +
      • virtual TQXmlLexicalHandler * lexicalHandler () const = 0
      • +
      • virtual void setDeclHandler ( TQXmlDeclHandler * handler ) = 0
      • +
      • virtual TQXmlDeclHandler * declHandler () const = 0
      • +
      • virtual bool parse ( const TQXmlInputSource & input ) = 0  (obsolete)
      • +
      • virtual bool parse ( const TQXmlInputSource * input ) = 0
      • +
      +

      Detailed Description

      + + + +The TQXmlReader class provides an interface for XML readers (i.e. +parsers). + +

      + +

      This abstract class provides an interface for all of TQt's XML +readers. Currently there is only one implementation of a reader +included in TQt's XML module: TQXmlSimpleReader. In future releases +there might be more readers with different properties available +(e.g. a validating parser). +

      The design of the XML classes follows the SAX2 Java interface, with +the names adapted to fit TQt naming conventions. It should be very +easy for anybody who has worked with SAX2 to get started with the +TQt XML classes. +

      All readers use the class TQXmlInputSource to read the input +document. Since you are normally interested in particular content +in the XML document, the reader reports the content through +special handler classes (TQXmlDTDHandler, TQXmlDeclHandler, +TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler and +TQXmlLexicalHandler), which you must subclass, if you want to +process the contents. +

      Since the handler classes only describe interfaces you must +implement all the functions. We provide the TQXmlDefaultHandler +class to make this easier: it implements a default behaviour (do +nothing) for all functions, so you can subclass it and just +implement the functions you are interested in. +

      Features and properties of the reader can be set with setFeature() +and setProperty() respectively. You can set the reader to use your +own subclasses with setEntityResolver(), setDTDHandler(), +setContentHandler(), setErrorHandler(), setLexicalHandler() and +setDeclHandler(). The parse itself is started with a call to +parse(). +

      See also TQXmlSimpleReader and XML. + +


      Member Function Documentation

      +

      TQXmlDTDHandler * TQXmlReader::DTDHandler () const [pure virtual] +

      + +

      Returns the DTD handler or 0 if none was set. +

      See also setDTDHandler(). + +

      TQXmlContentHandler * TQXmlReader::contentHandler () const [pure virtual] +

      + +

      Returns the content handler or 0 if none was set. +

      See also setContentHandler(). + +

      TQXmlDeclHandler * TQXmlReader::declHandler () const [pure virtual] +

      + +

      Returns the declaration handler or 0 if none was set. +

      See also setDeclHandler(). + +

      TQXmlEntityResolver * TQXmlReader::entityResolver () const [pure virtual] +

      + +

      Returns the entity resolver or 0 if none was set. +

      See also setEntityResolver(). + +

      TQXmlErrorHandler * TQXmlReader::errorHandler () const [pure virtual] +

      + +

      Returns the error handler or 0 if none is set. +

      See also setErrorHandler(). + +

      bool TQXmlReader::feature ( const TQString & name, bool * ok = 0 ) const [pure virtual] +

      + +

      If the reader has the feature called name, the feature's value +is returned. If no such feature exists the return value is +undefined. +

      If ok is not 0: *ok is set to TRUE if the reader has the +feature called name; otherwise *ok is set to FALSE. +

      See also setFeature() and hasFeature(). + +

      bool TQXmlReader::hasFeature ( const TQString & name ) const [pure virtual] +

      + +

      Returns TRUE if the reader has the feature called name; +otherwise returns FALSE. +

      See also feature() and setFeature(). + +

      bool TQXmlReader::hasProperty ( const TQString & name ) const [pure virtual] +

      + +

      Returns TRUE if the reader has the property name; otherwise +returns FALSE. +

      See also property() and setProperty(). + +

      TQXmlLexicalHandler * TQXmlReader::lexicalHandler () const [pure virtual] +

      + +

      Returns the lexical handler or 0 if none was set. +

      See also setLexicalHandler(). + +

      bool TQXmlReader::parse ( const TQXmlInputSource * input ) [pure virtual] +

      + +

      Reads an XML document from input and parses it. Returns TRUE if +the parsing was successful; otherwise returns FALSE. + +

      Example: xml/tagreader/tagreader.cpp. +

      bool TQXmlReader::parse ( const TQXmlInputSource & input ) [pure virtual] +

      + +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      +

      void * TQXmlReader::property ( const TQString & name, bool * ok = 0 ) const [pure virtual] +

      + +

      If the reader has the property name, this function returns the +value of the property; otherwise the return value is undefined. +

      If ok is not 0: if the reader has the name property *ok +is set to TRUE; otherwise *ok is set to FALSE. +

      See also setProperty() and hasProperty(). + +

      void TQXmlReader::setContentHandler ( TQXmlContentHandler * handler ) [pure virtual] +

      + +

      Sets the content handler to handler. +

      See also contentHandler(). + +

      Example: xml/tagreader/tagreader.cpp. +

      void TQXmlReader::setDTDHandler ( TQXmlDTDHandler * handler ) [pure virtual] +

      + +

      Sets the DTD handler to handler. +

      See also DTDHandler(). + +

      void TQXmlReader::setDeclHandler ( TQXmlDeclHandler * handler ) [pure virtual] +

      + +

      Sets the declaration handler to handler. +

      See also declHandler(). + +

      void TQXmlReader::setEntityResolver ( TQXmlEntityResolver * handler ) [pure virtual] +

      + +

      Sets the entity resolver to handler. +

      See also entityResolver(). + +

      void TQXmlReader::setErrorHandler ( TQXmlErrorHandler * handler ) [pure virtual] +

      + +

      Sets the error handler to handler. Clears the error handler if +handler is 0. +

      See also errorHandler(). + +

      void TQXmlReader::setFeature ( const TQString & name, bool value ) [pure virtual] +

      + +

      Sets the feature called name to the given value. If the +reader doesn't have the feature nothing happens. +

      See also feature() and hasFeature(). + +

      Reimplemented in TQXmlSimpleReader. +

      void TQXmlReader::setLexicalHandler ( TQXmlLexicalHandler * handler ) [pure virtual] +

      + +

      Sets the lexical handler to handler. +

      See also lexicalHandler(). + +

      void TQXmlReader::setProperty ( const TQString & name, void * value ) [pure virtual] +

      + +

      Sets the property name to value. If the reader doesn't have +the property nothing happens. +

      See also property() and hasProperty(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlsimplereader-members.html b/doc/html/tqxmlsimplereader-members.html new file mode 100644 index 000000000..308ca5f86 --- /dev/null +++ b/doc/html/tqxmlsimplereader-members.html @@ -0,0 +1,68 @@ + + + + + +TQXmlSimpleReader Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQXmlSimpleReader

      + +

      This is the complete list of member functions for +TQXmlSimpleReader, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqxmlsimplereader.html b/doc/html/tqxmlsimplereader.html new file mode 100644 index 000000000..456a1cd82 --- /dev/null +++ b/doc/html/tqxmlsimplereader.html @@ -0,0 +1,179 @@ + + + + + +TQXmlSimpleReader Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQXmlSimpleReader Class Reference
      [XML module]

      + +

      The TQXmlSimpleReader class provides an implementation of a +simple XML reader (parser). +More... +

      All the functions in this class are reentrant when TQt is built with thread support.

      +

      #include <tqxml.h> +

      Inherits TQXmlReader. +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + + +The TQXmlSimpleReader class provides an implementation of a +simple XML reader (parser). + +

      + + +

      This XML reader is sufficient for simple parsing tasks. The reader: +

        +
      • provides a well-formed parser; +
      • does not parse any external entities; +
      • can do namespace processing. +
      +

      Documents are parsed with a call to parse(). +

      See also XML. + +


      Member Function Documentation

      +

      TQXmlSimpleReader::TQXmlSimpleReader () +

      +Constructs a simple XML reader with the following feature settings: +
      +
      Feature Setting +
      http://xml.org/sax/features/namespaces TRUE +
      http://xml.org/sax/features/namespace-prefixes FALSE +
      http://trolltech.com/xml/features/report-whitespace-only-CharData +TRUE +
      http://trolltech.com/xml/features/report-start-end-entity FALSE +
      +

      More information about features can be found in the TQt SAX2 overview. +

      See also setFeature(). + +

      TQXmlSimpleReader::~TQXmlSimpleReader () [virtual] +

      +Destroys the simple XML reader. + +

      bool TQXmlSimpleReader::parse ( const TQXmlInputSource * input, bool incremental ) [virtual] +

      +Reads an XML document from input and parses it. Returns FALSE +if the parsing detects an error; otherwise returns TRUE. +

      If incremental is TRUE, the parser does not return FALSE when +it reaches the end of the input without reaching the end of the +XML file. Instead it stores the state of the parser so that +parsing can be continued at a later stage when more data is +available. You can use the function parseContinue() to continue +with parsing. This class stores a pointer to the input source input and the parseContinue() function tries to read from that +input souce. This means that you should not delete the input +source input until you've finished your calls to +parseContinue(). If you call this function with incremental +TRUE whilst an incremental parse is in progress a new parsing +session will be started and the previous session lost. +

      If incremental is FALSE, this function behaves like the normal +parse function, i.e. it returns FALSE when the end of input is +reached without reaching the end of the XML file and the parsing +cannot be continued. +

      See also parseContinue() and TQSocket. + +

      Examples: xml/tagreader-with-features/tagreader.cpp and xml/tagreader/tagreader.cpp. +

      bool TQXmlSimpleReader::parseContinue () [virtual] +

      +Continues incremental parsing; this function reads the input from +the TQXmlInputSource that was specified with the last parse() +command. To use this function, you must have called parse() +with the incremental argument set to TRUE. +

      Returns FALSE if a parsing error occurs; otherwise returns TRUE. +

      If the input source returns an empty string for the function +TQXmlInputSource::data(), then this means that the end of the XML +file has been reached; this is quite important, especially if you +want to use the reader to parse more than one XML file. +

      The case of the end of the XML file being reached without having +finished parsing is not considered to be an error: you can +continue parsing at a later stage by calling this function again +when there is more data available to parse. +

      This function assumes that the end of the XML document is reached +if the TQXmlInputSource::next() function returns +TQXmlInputSource::EndOfDocument. If the parser has not finished +parsing when it encounters this symbol, it is an error and FALSE +is returned. +

      See also parse() and TQXmlInputSource::next(). + +

      void TQXmlSimpleReader::setFeature ( const TQString & name, bool value ) [virtual] +

      +Sets the state of the feature name to value: +

      If the feature is not recognized, it is ignored. +

      The following features are supported: +

      +
      Feature Notes +
      http://xml.org/sax/features/namespaces +If this feature is TRUE, namespace processing is +performed. +
      http://xml.org/sax/features/namespace-prefixes +If this feature is TRUE, the the original prefixed names +and attributes used for namespace declarations are +reported. +
      http://trolltech.com/xml/features/report-whitespace-only-CharData +If this feature is TRUE, CharData that only contain +whitespace are not ignored, but are reported via +TQXmlContentHandler::characters(). +
      http://trolltech.com/xml/features/report-start-end-entity +If this feature is TRUE, the parser reports +TQXmlContentHandler::startEntity() and +TQXmlContentHandler::endEntity() events. So character data +might be reported in chunks. If this feature is FALSE, the +parser does not report those events, but rather silently +substitutes the entities and reports the character data in +one chunk. +
      +

      + +

          ** $Id: qt/tagreader.cpp   3.3.8   edited Jan 11 14:46 $
      +
              reader.setFeature( "http://xml.org/sax/features/namespace-prefixes",
      +                           TRUE );
      +
      +

      (Code taken from xml/tagreader-with-features/tagreader.cpp) +

      See also feature() and hasFeature(). + +

      Example: xml/tagreader-with-features/tagreader.cpp. +

      Reimplemented from TQXmlReader. + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/whatsthis b/doc/html/whatsthis index 2e40a05ea..71c8639e1 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -58,7 +58,7 @@ Checkbox with a text label. | QCheckBox Checkboxes in QTables. | QCheckTableItem Clip region for a painter. | QRegion Clock time functions. | QTime -Collection of nodes that can be accessed by name. | QDomNamedNodeMap +Collection of nodes that can be accessed by name. | TQDomNamedNodeMap Collection of styles for rich text rendering and a generator of tags. | QStyleSheet Collects tool tips into related groups. | QToolTipGroup Color groups for each widget state. | QPalette @@ -98,7 +98,7 @@ Data manipulation and navigation for data entry forms. | TQDataBrowser Date and time functions. | QDateTime Date editor. | QDateEdit Date functions. | QDate -Default implementation of all the XML handler classes. | QXmlDefaultHandler +Default implementation of all the XML handler classes. | TQXmlDefaultHandler Defines a Universally Unique Identifier (UUID). | QUuid Defines a factory for the creation of COM components. | QAxFactory Defines a point in the plane. | QPoint @@ -162,7 +162,7 @@ Hardware-independent pixmap representation with direct access to the pixel data. Header information for HTTP. | QHttpHeader Header row or column, e.g. for tables and listviews. | QHeader Helper class for TQString. | QCharRef -Helper class for XML readers which want to include namespace support. | QXmlNamespaceSupport +Helper class for XML readers which want to include namespace support. | TQXmlNamespaceSupport Horizontal bar suitable for presenting status information. | QStatusBar Horizontal geometry management for its child widgets. | QHBox Horizontal menu bar. | QMenuBar @@ -172,7 +172,7 @@ I/O device that operates on files. | QFile IP address. | QHostAddress Icons for QFileDialog to use. | QFileIconProvider Implementation of a QNetworkProtocol that works on the local file system. | QLocalFs -Implementation of a simple XML reader (parser). | QXmlSimpleReader +Implementation of a simple XML reader (parser). | TQXmlSimpleReader Implementation of the FTP protocol. | QFtp Implementation of the HTTP protocol. | QHttp Implements a list view item. | QListViewItem @@ -186,17 +186,17 @@ Incremental image decoder for a specific image format. | QImageFormat Incremental image decoder for all supported image formats. | QImageDecoder Incremental loading of animations or images, signalling as it progresses. | QMovie Information about a paint device. | QPaintDeviceMetrics -Information about the features of the DOM implementation. | QDomImplementation +Information about the features of the DOM implementation. | TQDomImplementation Information about the fonts available in the underlying window system. | QFontDatabase Integer value within a range. | QRangeControl Interface between a TQWidget and an ActiveX client. | QAxBindable -Interface for XML readers (i.e. parsers). | QXmlReader -Interface to report DTD content of XML data. | QXmlDTDHandler -Interface to report declaration content of XML data. | QXmlDeclHandler -Interface to report errors in XML data. | QXmlErrorHandler -Interface to report the lexical content of XML data. | QXmlLexicalHandler -Interface to report the logical content of XML data. | QXmlContentHandler -Interface to resolve external entities contained in XML data. | QXmlEntityResolver +Interface for XML readers (i.e. parsers). | TQXmlReader +Interface to report DTD content of XML data. | TQXmlDTDHandler +Interface to report declaration content of XML data. | TQXmlDeclHandler +Interface to report errors in XML data. | TQXmlErrorHandler +Interface to report the lexical content of XML data. | TQXmlLexicalHandler +Interface to report the logical content of XML data. | TQXmlContentHandler +Interface to resolve external entities contained in XML data. | TQXmlEntityResolver Internal class, used with QBitArray. | QBitVal International input methods for Qt/Embedded. | QWSInputMethod Internationalization support for text output. | QTranslator @@ -226,7 +226,7 @@ Lines up widgets vertically. | QVBoxLayout List box items that display text. | QListBoxText List box items with a pixmap and optional text. | QListBoxPixmap List of QCanvasItems. | QCanvasItemList -List of QDomNode objects. | QDomNodeList +List of TQDomNode objects. | TQDomNodeList List of selectable, read-only items. | QListBox List of strings. | QStringList Mac/Platinum look and feel. | QPlatinumStyle @@ -293,17 +293,17 @@ Radio button with a text or pixmap label. | QRadioButton Range checking of floating-point numbers. | QDoubleValidator Read-only SQL forms. | TQDataView Rectangle on a QCanvas. | QCanvasRectangle -Represents a generic string in the DOM. | QDomCharacterData -Represents an XML CDATA section. | QDomCDATASection -Represents an XML comment. | QDomComment -Represents an XML document. | QDomDocument -Represents an XML entity. | QDomEntity -Represents an XML entity reference. | QDomEntityReference -Represents an XML notation. | QDomNotation -Represents an XML processing instruction. | QDomProcessingInstruction -Represents one attribute of a QDomElement. | QDomAttr -Represents one element in the DOM tree. | QDomElement -Represents text data in the parsed XML document. | QDomText +Represents a generic string in the DOM. | TQDomCharacterData +Represents an XML CDATA section. | TQDomCDATASection +Represents an XML comment. | TQDomComment +Represents an XML document. | TQDomDocument +Represents an XML entity. | TQDomEntity +Represents an XML entity reference. | TQDomEntityReference +Represents an XML notation. | TQDomNotation +Represents an XML processing instruction. | TQDomProcessingInstruction +Represents one attribute of a TQDomElement. | TQDomAttr +Represents one element in the DOM tree. | TQDomElement +Represents text data in the parsed XML document. | TQDomText Request header information for HTTP. | QHttpRequestHeader Response header information for HTTP. | QHttpResponseHeader Rich text browser with hypertext navigation. | QTextBrowser @@ -360,9 +360,9 @@ Text object on a QCanvas. | QCanvasText Text or image display. | QLabel The QDialog API for Motif-based dialogs. | QMotifDialog The TQWidget API for Xt/Motif widgets. | QMotifWidget -The XML handler classes with information about the parsing position within a file. | QXmlLocator +The XML handler classes with information about the parsing position within a file. | TQXmlLocator The abstract base class of button widgets, providing functionality common to buttons. | QButton -The base class for all the nodes in a DOM tree. | QDomNode +The base class for all the nodes in a DOM tree. | TQDomNode The base class of I/O devices. | TQIODevice The base class of all TQt objects. | TQObject The base class of all event classes. Event objects contain event parameters. | QEvent @@ -376,16 +376,16 @@ The base class of widgets that can have a frame. | QFrame The basis of the Motif Extension. | QMotif The cell content for QTable cells. | QTableItem The display format of an OpenGL rendering context. | QGLFormat -The input data for the QXmlReader subclasses. | QXmlInputSource +The input data for the TQXmlReader subclasses. | TQXmlInputSource The look and feel of a GUI. | QStyle The main factory for plugin objects. | QNPlugin -The representation of the DTD in the document tree. | QDomDocumentType +The representation of the DTD in the document tree. | TQDomDocumentType The structures in a QTabBar. | QTab Time editor. | QTimeEdit Timer signals and single-shot timers. | QTimer Tool tips (balloon help) for any widget or rectangular part of a widget. | QToolTip Translator message and its properties. | QTranslatorMessage -Tree of QDomNodes which is not usually a complete QDomDocument. | QDomDocumentFragment +Tree of TQDomNodes which is not usually a complete TQDomDocument. | TQDomDocumentFragment URL parser and simplifies working with URLs. | QUrl Used for installing custom colormaps into QGLWidgets. | QGLColormap Used to check a string against a regular expression. | QRegExpValidator @@ -394,7 +394,7 @@ Used to create editor widgets for QVariant data types. | TQEditorFactory Used to create pixmaps for a QIconSet. | QIconFactory Used to create the editors used by TQDataTable and TQSqlForm. | TQSqlEditorFactory Used to map widgets to SQL fields. | TQSqlPropertyMap -Used to report errors with the QXmlErrorHandler interface. | QXmlParseException +Used to report errors with the TQXmlErrorHandler interface. | TQXmlParseException Used to start external programs and to communicate with them. | QProcess Validation of input text. | QValidator Validator which ensures that a string contains a valid integer within a specified range. | QIntValidator @@ -413,4 +413,4 @@ Workspace window that can contain decorated windows, e.g. for MDI. | QWorkspace Wrapper around a script engine. | QAxScriptEngine Wrapper around script code. | QAxScript Wrapper for handling shared libraries. | QLibrary -XML attributes. | QXmlAttributes +XML attributes. | TQXmlAttributes diff --git a/doc/html/xml-sax-features-walkthrough.html b/doc/html/xml-sax-features-walkthrough.html index bba523426..6eb02b099 100644 --- a/doc/html/xml-sax-features-walkthrough.html +++ b/doc/html/xml-sax-features-walkthrough.html @@ -58,7 +58,7 @@ part: we include all the classes we need:

          #include "structureparser.h"
           #include <ntqapplication.h>
           #include <ntqfile.h>
      -    #include <ntqxml.h>
      +    #include <tqxml.h>
           #include <ntqlistview.h>
           #include <ntqgrid.h>
           #include <ntqmainwindow.h>
      @@ -77,10 +77,10 @@ over to it.
       

      If the user runs the program with one filename as an argument we process this file, otherwise we use the fnord.xml file from the example directory for demonstration purposes. -

              TQXmlInputSource source( &xmlFile );
      +

              TQXmlInputSource source( &xmlFile );
       

      We use xmlFile as the XML Input Source... -

              TQXmlSimpleReader reader;
      +

              TQXmlSimpleReader reader;
       

      ... and instantiate a reader object. Later we will manipulate its features and thus influence how the XML data are read. @@ -99,23 +99,23 @@ of three columns (and thus two lines). Thus we use a listview. Its name nameSpace indicates that this one will be used to present the combination of http://xml.org/sax/features/namespaces being TRUE and http://xml.org/sax/features/namespace-prefixes -being FALSE -- the default configuration of a TQXmlSimpleReader. +being FALSE -- the default configuration of a TQXmlSimpleReader.

      Being the first grid entry the nameSpace listview will appear in the upper left corner of the virtual grid.

              StructureParser * handler = new StructureParser( nameSpace );
       

      Then we create a handler that deals with the XML data read by the reader. -As the provided handler class TQXmlDefaultHandler simply does nothing +As the provided handler class TQXmlDefaultHandler simply does nothing with the data from the reader, we can't use it right away. Instead we have to subclass our own StructureParser from it. -

              reader.setContentHandler( handler );
      +

              reader.setContentHandler( handler );
       

      The handler serves as content handler for the reader. Note that for simplicity reasons we don't register e.g. an error handler. Thus our program will not complain about for example missing closing tags in the parsed XML document. -

              reader.parse( source );
      +

              reader.parse( source );
       

      Finally we parse the document with the reader's default feature settings.

              TQListView * namespacePrefix = new TQListView( container,
      @@ -130,26 +130,26 @@ the upper grid row.
       

      Then we ask the handler to present the data in the namespacePrefix listview. -

              reader.setFeature( "http://xml.org/sax/features/namespace-prefixes",
      +

              reader.setFeature( "http://xml.org/sax/features/namespace-prefixes",
                                  TRUE );
       

      Now we modify the behaviour of the reader and change http://xml.org/sax/features/namespace-prefixes from the default FALSE to TRUE. The http://xml.org/sax/features/namespaces feature has still its default setting TRUE. -

              source.reset();
      +

              source.reset();
       

      We have to reset the input source to make the new parsing start from the beginning of the document again. -

              reader.parse( source );
      +

              reader.parse( source );
       

      Finally we parse the XML file a second time with the changed reader settings (TRUE/TRUE).

              TQListView * prefix = new TQListView( container, "table_prefix");
               handler->setListView( prefix );
      -        reader.setFeature( "http://xml.org/sax/features/namespaces", FALSE );
      -        source.reset();
      -        reader.parse( source );
      +        reader.setFeature( "http://xml.org/sax/features/namespaces", FALSE );
      +        source.reset();
      +        reader.parse( source );
       

      Next we prepare and use the upper right listview to show the reader results with the feature setting http://xml.org/sax/features/namespaces @@ -190,17 +190,17 @@ the GUI's event loop. StructureParser:

      -

          #include <ntqxml.h>
      +
          #include <tqxml.h>
           #include <ntqptrstack.h>
       
           class TQListView;
           class TQListViewItem;
           class TQString;
       
      -

          class StructureParser: public TQXmlDefaultHandler
      +

          class StructureParser: public TQXmlDefaultHandler
           {
       
      -

      We derive it from the TQXmlDefaultHandler class that +

      We derive it from the TQXmlDefaultHandler class that implements a handler that simply does nothing.

          public:
               StructureParser( TQListView * );
      @@ -209,10 +209,10 @@ implements a handler that simply does nothing.
       we in fact need. In our case this is the constructor that
       takes a TQListView as an argument,
       

              bool startElement( const TQString&, const TQString&, const TQString& ,
      -                           const TQXmlAttributes& );
      +                           const TQXmlAttributes& );
       

      the function to execute at the occurrence of element start tags -(inherited from TQXmlContentHandler), and +(inherited from TQXmlContentHandler), and

              bool endElement( const TQString&, const TQString&, const TQString& );
       

      the code to run when an end tag occurs. @@ -249,7 +249,7 @@ relevant functions. #include <ntqlistview.h>

          StructureParser::StructureParser( TQListView * t )
      -                    : TQXmlDefaultHandler()
      +                    : TQXmlDefaultHandler()
           {
       

      First we have the constructor that takes a listview pointer as @@ -279,10 +279,10 @@ element's or attribute's qualified names and one for their namespace URIs. Columns are added from left to right and with the title as an argument.

      Now let's deal with XML content handling. -

          bool StructureParser::startElement( const TQString& namespaceURI,
      +

          bool StructureParser::startElement( const TQString& namespaceURI,
                                               const TQString& ,
                                               const TQString& qName,
      -                                        const TQXmlAttributes& attributes)
      +                                        const TQXmlAttributes& attributes)
           {
       

      When we come across the start tag of an element the handler does @@ -337,11 +337,11 @@ entries.

      We however want to see the entire element tree at once when we run the program. Therefore we open each listview item manually. -

              if ( attributes.length() > 0 ) {
      +

              if ( attributes.length() > 0 ) {
       

      What do we do if an element has attributes? -

                  for ( int i = 0 ; i < attributes.length(); i++ ) {
      -                new TQListViewItem( element, attributes.qName(i), attributes.uri(i) );
      +

                  for ( int i = 0 ; i < attributes.length(); i++ ) {
      +                new TQListViewItem( element, attributes.qName(i), attributes.uri(i) );
                   }
               }
       
      @@ -355,7 +355,7 @@ the current element.

      To prevent the reader from throwing an error we have to return TRUE when we successfully dealt with an element's start tag. -

          bool StructureParser::endElement( const TQString&, const TQString&,
      +

          bool StructureParser::endElement( const TQString&, const TQString&,
                                             const TQString& )
           {
               stack.pop();
      diff --git a/doc/html/xml-sax-walkthrough.html b/doc/html/xml-sax-walkthrough.html
      index 4703e6cba..d1c4a50f2 100644
      --- a/doc/html/xml-sax-walkthrough.html
      +++ b/doc/html/xml-sax-walkthrough.html
      @@ -47,10 +47,10 @@ The element names are indented corresponding to their nesting level.
       

      As mentioned in Introduction to SAX2 we have to implement the functions of the handler classes that we are interested in. In our case these are only three: -TQXmlContentHandler::startDocument(), -TQXmlContentHandler::startElement() and -TQXmlContentHandler::endElement(). -

      For this purpose we use a subclass of the TQXmlDefaultHandler (remember +TQXmlContentHandler::startDocument(), +TQXmlContentHandler::startElement() and +TQXmlContentHandler::endElement(). +

      For this purpose we use a subclass of the TQXmlDefaultHandler (remember that the special handler classes are all abstract and the default handler class provides an implementation that does not change the parsing behavior):

      /****************************************************************************
      @@ -66,16 +66,16 @@ provides an implementation that does not change the parsing behavior):
       #ifndef STRUCTUREPARSER_H
       #define STRUCTUREPARSER_H
       
      -#include <ntqxml.h>
      +#include <tqxml.h>
       
       class TQString;
       
      -class StructureParser : public TQXmlDefaultHandler
      +class StructureParser : public TQXmlDefaultHandler
       {
       public:
           bool startDocument();
           bool startElement( const TQString&, const TQString&, const TQString& ,
      -                       const TQXmlAttributes& );
      +                       const TQXmlAttributes& );
           bool endElement( const TQString&, const TQString&, const TQString& );
       
       private:
      @@ -96,8 +96,8 @@ get indentation right, there is nothing special about our new
           #include <stdio.h>
           #include <ntqstring.h>
       
      -

      First we overload TQXmlContentHandler::startDocument() with a non-empty version. -

          bool StructureParser::startDocument()
      +

      First we overload TQXmlContentHandler::startDocument() with a non-empty version. +

          bool StructureParser::startDocument()
           {
               indent = "";
               return TRUE;
      @@ -110,10 +110,10 @@ Also we return TRUE so that the parser continues without
       reporting an error.
       

      Because we want to be informed when the parser comes accross a start tag of an element and subsequently print it out, we -have to overload TQXmlContentHandler::startElement(). -

          bool StructureParser::startElement( const TQString&, const TQString&,
      +have to overload TQXmlContentHandler::startElement(). 
      +

          bool StructureParser::startElement( const TQString&, const TQString&,
                                               const TQString& qName,
      -                                        const TQXmlAttributes& )
      +                                        const TQXmlAttributes& )
           {
               printf( "%s%s\n", (const char*)indent, (const char*)qName );
               indent += "    ";
      @@ -130,8 +130,8 @@ it should be indented. Therefore we add four spaces to the
       

      Finally we return TRUE in order to let the parser continue without errors.

      The last functionality we need to add is the parser's behaviour when an -end tag occurs. This means overloading TQXmlContentHandler::endElement(). -

          bool StructureParser::endElement( const TQString&, const TQString&, const TQString& )
      +end tag occurs. This means overloading TQXmlContentHandler::endElement().
      +

          bool StructureParser::endElement( const TQString&, const TQString&, const TQString& )
           {
               indent.remove( (uint)0, 4 );
               return TRUE;
      @@ -145,7 +145,7 @@ program.
       
       

          #include "structureparser.h"
           #include <ntqfile.h>
      -    #include <ntqxml.h>
      +    #include <tqxml.h>
           #include <ntqwindowdefs.h>
       
           int main( int argc, char **argv )
      @@ -160,21 +160,21 @@ line to examine.
       

              StructureParser handler;
       

      The next step is to create an instance of the StructureParser. -

              TQXmlSimpleReader reader;
      -        reader.setContentHandler( &handler );
      +

              TQXmlSimpleReader reader;
      +        reader.setContentHandler( &handler );
       

      After that we set up the reader. As our StructureParser -class deals with TQXmlContentHandler functionality only +class deals with TQXmlContentHandler functionality only we simply register it as the content handler of our choice.

              for ( int i=1; i < argc; i++ ) {
       

      Successively we deal with all files given as command line arguments.

                  TQFile xmlFile( argv[i] );
      -            TQXmlInputSource source( &xmlFile );
      +            TQXmlInputSource source( &xmlFile );
       

      Then we create a -TQXmlInputSource for the XML file to be parsed. -

                  reader.parse( source );
      +TQXmlInputSource for the XML file to be parsed. 
      +

                  reader.parse( source );
       

      Now we take our input source and start parsing.

              }
      @@ -206,7 +206,7 @@ animals
       

      It will however refuse to produce the correct result if you e.g. insert a whitespace between a < and the element name in your test-XML file. To prevent such annoyances -you should always install an error handler with TQXmlReader::setErrorHandler(). This allows you to report +you should always install an error handler with TQXmlReader::setErrorHandler(). This allows you to report parsing errors to the user.

      See also Step-by-step Examples. diff --git a/doc/html/xml-tools.html b/doc/html/xml-tools.html index d7c94ee9c..081a70d29 100644 --- a/doc/html/xml-tools.html +++ b/doc/html/xml-tools.html @@ -35,37 +35,37 @@ body { background: #ffffff; color: black; }

      These classes are relevant to XML users.

      -
      TQDomAttrRepresents one attribute of a TQDomElement -
      TQDomCDATASectionRepresents an XML CDATA section -
      TQDomCharacterDataRepresents a generic string in the DOM -
      TQDomCommentRepresents an XML comment -
      TQDomDocumentRepresents an XML document -
      TQDomDocumentFragmentTree of TQDomNodes which is not usually a complete TQDomDocument -
      TQDomDocumentTypeThe representation of the DTD in the document tree -
      TQDomElementRepresents one element in the DOM tree -
      TQDomEntityRepresents an XML entity -
      TQDomEntityReferenceRepresents an XML entity reference -
      TQDomImplementationInformation about the features of the DOM implementation -
      TQDomNamedNodeMapCollection of nodes that can be accessed by name -
      TQDomNodeThe base class for all the nodes in a DOM tree -
      TQDomNodeListList of TQDomNode objects -
      TQDomNotationRepresents an XML notation -
      TQDomProcessingInstructionRepresents an XML processing instruction -
      TQDomTextRepresents text data in the parsed XML document -
      TQXmlAttributesXML attributes -
      TQXmlContentHandlerInterface to report the logical content of XML data -
      TQXmlDeclHandlerInterface to report declaration content of XML data -
      TQXmlDefaultHandlerDefault implementation of all the XML handler classes -
      TQXmlDTDHandlerInterface to report DTD content of XML data -
      TQXmlEntityResolverInterface to resolve external entities contained in XML data -
      TQXmlErrorHandlerInterface to report errors in XML data -
      TQXmlInputSourceThe input data for the TQXmlReader subclasses -
      TQXmlLexicalHandlerInterface to report the lexical content of XML data -
      TQXmlLocatorThe XML handler classes with information about the parsing position within a file -
      TQXmlNamespaceSupportHelper class for XML readers which want to include namespace support -
      TQXmlParseExceptionUsed to report errors with the TQXmlErrorHandler interface -
      TQXmlReaderInterface for XML readers (i.e. parsers) -
      TQXmlSimpleReaderImplementation of a simple XML reader (parser) +
      TQDomAttrRepresents one attribute of a TQDomElement +
      TQDomCDATASectionRepresents an XML CDATA section +
      TQDomCharacterDataRepresents a generic string in the DOM +
      TQDomCommentRepresents an XML comment +
      TQDomDocumentRepresents an XML document +
      TQDomDocumentFragmentTree of TQDomNodes which is not usually a complete TQDomDocument +
      TQDomDocumentTypeThe representation of the DTD in the document tree +
      TQDomElementRepresents one element in the DOM tree +
      TQDomEntityRepresents an XML entity +
      TQDomEntityReferenceRepresents an XML entity reference +
      TQDomImplementationInformation about the features of the DOM implementation +
      TQDomNamedNodeMapCollection of nodes that can be accessed by name +
      TQDomNodeThe base class for all the nodes in a DOM tree +
      TQDomNodeListList of TQDomNode objects +
      TQDomNotationRepresents an XML notation +
      TQDomProcessingInstructionRepresents an XML processing instruction +
      TQDomTextRepresents text data in the parsed XML document +
      TQXmlAttributesXML attributes +
      TQXmlContentHandlerInterface to report the logical content of XML data +
      TQXmlDeclHandlerInterface to report declaration content of XML data +
      TQXmlDefaultHandlerDefault implementation of all the XML handler classes +
      TQXmlDTDHandlerInterface to report DTD content of XML data +
      TQXmlEntityResolverInterface to resolve external entities contained in XML data +
      TQXmlErrorHandlerInterface to report errors in XML data +
      TQXmlInputSourceThe input data for the TQXmlReader subclasses +
      TQXmlLexicalHandlerInterface to report the lexical content of XML data +
      TQXmlLocatorThe XML handler classes with information about the parsing position within a file +
      TQXmlNamespaceSupportHelper class for XML readers which want to include namespace support +
      TQXmlParseExceptionUsed to report errors with the TQXmlErrorHandler interface +
      TQXmlReaderInterface for XML readers (i.e. parsers) +
      TQXmlSimpleReaderImplementation of a simple XML reader (parser)


      diff --git a/doc/html/xml.html b/doc/html/xml.html index c233ff9e5..5c65144f3 100644 --- a/doc/html/xml.html +++ b/doc/html/xml.html @@ -97,67 +97,67 @@ More information about the DOM classes in TQt is provided in the

      TQt provides the following XML related classes:

      Class Short description -
      TQDomAttr -Represents one attribute of a TQDomElement -
      TQDomCDATASection +
      TQDomAttr +Represents one attribute of a TQDomElement +
      TQDomCDATASection Represents an XML CDATA section -
      TQDomCharacterData +
      TQDomCharacterData Represents a generic string in the DOM -
      TQDomComment +
      TQDomComment Represents an XML comment -
      TQDomDocument +
      TQDomDocument The representation of an XML document -
      TQDomDocumentFragment -Tree of TQDomNodes which is usually not a complete TQDomDocument -
      TQDomDocumentType +
      TQDomDocumentFragment +Tree of TQDomNodes which is usually not a complete TQDomDocument +
      TQDomDocumentType The representation of the DTD in the document tree -
      TQDomElement +
      TQDomElement Represents one element in the DOM tree -
      TQDomEntity +
      TQDomEntity Represents an XML entity -
      TQDomEntityReference +
      TQDomEntityReference Represents an XML entity reference -
      TQDomImplementation +
      TQDomImplementation Information about the features of the DOM implementation -
      TQDomNamedNodeMap +
      TQDomNamedNodeMap Collection of nodes that can be accessed by name -
      TQDomNode +
      TQDomNode The base class for all nodes of the DOM tree -
      TQDomNodeList -List of TQDomNode objects -
      TQDomNotation +
      TQDomNodeList +List of TQDomNode objects +
      TQDomNotation Represents an XML notation -
      TQDomProcessingInstruction +
      TQDomProcessingInstruction Represents an XML processing instruction -
      TQDomText +
      TQDomText Represents textual data in the parsed XML document -
      TQXmlAttributes +
      TQXmlAttributes XML attributes -
      TQXmlContentHandler +
      TQXmlContentHandler Interface to report logical content of XML data -
      TQXmlDeclHandler +
      TQXmlDeclHandler Interface to report declaration content of XML data -
      TQXmlDefaultHandler +
      TQXmlDefaultHandler Default implementation of all XML handler classes -
      TQXmlDTDHandler +
      TQXmlDTDHandler Interface to report DTD content of XML data -
      TQXmlEntityResolver +
      TQXmlEntityResolver Interface to resolve extern entities contained in XML data -
      TQXmlErrorHandler +
      TQXmlErrorHandler Interface to report errors in XML data -
      TQXmlInputSource -The input data for the TQXmlReader subclasses -
      TQXmlLexicalHandler +
      TQXmlInputSource +The input data for the TQXmlReader subclasses +
      TQXmlLexicalHandler Interface to report lexical content of XML data -
      TQXmlLocator +
      TQXmlLocator The XML handler classes with information about the actual parsing position -
      TQXmlNamespaceSupport +
      TQXmlNamespaceSupport Helper class for XML readers which want to include namespace support -
      TQXmlParseException -Used to report errors with the TQXmlErrorHandler interface -
      TQXmlReader +
      TQXmlParseException +Used to report errors with the TQXmlErrorHandler interface +
      TQXmlReader Interface for XML readers (i.e. for SAX2 parsers) -
      TQXmlSimpleReader +
      TQXmlSimpleReader Implementation of a simple XML reader (a SAX2 parser)

      @@ -189,42 +189,42 @@ manipulation is difficult because data is not stored, simply handled and discarded serially. The DOM interface reads in and stores the whole document in a tree structure; this takes more memory, but makes it easier to manipulate the document's structure.. -

      The TQt XML module provides an abstract class, TQXmlReader, that +

      The TQt XML module provides an abstract class, TQXmlReader, that defines the interface for potential SAX2 readers. TQt includes a reader -implementation, TQXmlSimpleReader, that is easy to adapt through +implementation, TQXmlSimpleReader, that is easy to adapt through subclassing.

      The reader reports parsing events through special handler classes:

      Handler class Description -
      TQXmlContentHandler +
      TQXmlContentHandler Reports events related to the content of a document (e.g. the start tag or characters). -
      TQXmlDTDHandler +
      TQXmlDTDHandler Reports events related to the DTD (e.g. notation declarations). -
      TQXmlErrorHandler +
      TQXmlErrorHandler Reports errors or warnings that occurred during parsing. -
      TQXmlEntityResolver +
      TQXmlEntityResolver Reports external entities during parsing and allows users to resolve external entities themselves instead of leaving it to the reader. -
      TQXmlDeclHandler +
      TQXmlDeclHandler Reports further DTD related events (e.g. attribute declarations). -
      TQXmlLexicalHandler +
      TQXmlLexicalHandler Reports events related to the lexical structure of the document (the beginning of the DTD, comments etc.).
      -

      These classes are abstract classes describing the interface. The TQXmlDefaultHandler class provides a "do nothing" default +

      These classes are abstract classes describing the interface. The TQXmlDefaultHandler class provides a "do nothing" default implementation for all of them. Therefore users only need to overload -the TQXmlDefaultHandler functions they are interested in. -

      To read input XML data a special class TQXmlInputSource is used. +the TQXmlDefaultHandler functions they are interested in. +

      To read input XML data a special class TQXmlInputSource is used.

      Apart from those already mentioned, the following SAX2 support classes provide additional useful functionality:

      Class Description -
      TQXmlAttributes +
      TQXmlAttributes Used to pass attributes in a start element event. -
      TQXmlLocator +
      TQXmlLocator Used to obtain the actual parsing position of an event. -
      TQXmlNamespaceSupport +
      TQXmlNamespaceSupport Used to implement namespace support for a reader. Note that namespaces do not change the parsing behavior. They are only reported through the handler. @@ -239,9 +239,9 @@ declarations and prefixes along with the local name of a tag". Like every other feature this has a unique name represented by a URI: it is called http://xml.org/sax/features/namespace-prefixes.

      The TQt SAX2 implementation can report whether the reader has -particular functionality using the TQXmlReader::hasFeature() -function. Available features can be tested with TQXmlReader::feature(), -and switched on or off using TQXmlReader::setFeature(). +particular functionality using the TQXmlReader::hasFeature() +function. Available features can be tested with TQXmlReader::feature(), +and switched on or off using TQXmlReader::setFeature().

      Consider the example

       
       <document xmlns:book = 'http://trolltech.com/fnord/book/'
      @@ -251,16 +251,16 @@ and switched on or off using TQXmlReader::s
       A reader that does not support the http://xml.org/sax/features/namespace-prefixes feature would report
       the element name document but not its attributes xmlns:book and
       xmlns with their values. A reader with the feature http://xml.org/sax/features/namespace-prefixes reports the namespace
      -attributes if the feature is
      +attributes if the feature is
       switched on.
       

      Other features include http://xml.org/sax/features/namespace (namespace processing, implies http://xml.org/sax/features/namespace-prefixes) and http://xml.org/sax/features/validation (the ability to report validation errors).

      Whilst SAX2 leaves it to the user to define and implement whatever features are required, support for http://xml.org/sax/features/namespace (and thus http://xml.org/sax/features/namespace-prefixes) is mandantory. -The TQXmlSimpleReader implementation of TQXmlReader, +The TQXmlSimpleReader implementation of TQXmlReader, supports them, and can do namespace processing. -

      TQXmlSimpleReader is not validating, so it +

      TQXmlSimpleReader is not validating, so it does not support http://xml.org/sax/features/validation.

      Namespace support via features @@ -275,7 +275,7 @@ processing. This is done by setting and unsetting the
    • Namespace prefixes and local parts of elements and attributes can be reported.
    • The qualified names of elements and attributes are reported. -
    • TQXmlContentHandler::startPrefixMapping() and TQXmlContentHandler::endPrefixMapping() are called by the reader. +
    • TQXmlContentHandler::startPrefixMapping() and TQXmlContentHandler::endPrefixMapping() are called by the reader.
    • Attributes that declare namespaces (i.e. the attribute xmlns and attributes starting with xmlns:) are reported. @@ -305,10 +305,10 @@ a namespace URI for xmlns:fnord.

      This might be changed in the future following the W3C suggestion http://www.w3.org/2000/xmlns/ to associate xmlns with the namespace http://www.w3.org/2000/xmlns. -

      As the SAX2 standard suggests, TQXmlSimpleReader defaults to having +

      As the SAX2 standard suggests, TQXmlSimpleReader defaults to having http://xml.org/sax/features/namespaces set to TRUE and http://xml.org/sax/features/namespace-prefixes set to FALSE. -When changing this behavior using TQXmlSimpleReader::setFeature() +When changing this behavior using TQXmlSimpleReader::setFeature() note that the combination of both features set to FALSE is illegal.

      For a practical demonstration of how the two features affect the @@ -316,7 +316,7 @@ output of the reader run the tagr

      Summary

      -

      TQXmlSimpleReader implements the following behavior: +

      TQXmlSimpleReader implements the following behavior:

      (namespaces, namespace-prefixes) Namespace prefix and local part @@ -344,7 +344,7 @@ data required is at this address. It is simply a way of defining unique names.

      Anyone can define and use new SAX2 properties for their readers. Property support is not mandatory. -

      To set or query properties the following functions are provided: TQXmlReader::setProperty(), TQXmlReader::property() and TQXmlReader::hasProperty(). +

      To set or query properties the following functions are provided: TQXmlReader::setProperty(), TQXmlReader::property() and TQXmlReader::hasProperty().

      Further reading

      @@ -361,74 +361,74 @@ structure of an XML file. It makes a hierarchical view of the document (a tree view). Thus -- in contrast to the SAX2 interface -- an object model of the document is resident in memory after parsing which makes manipulation easy. -

      All DOM nodes in the document tree are subclasses of TQDomNode. The -document itself is represented as a TQDomDocument object. +

      All DOM nodes in the document tree are subclasses of TQDomNode. The +document itself is represented as a TQDomDocument object.

      Here are the available node classes and their potential child classes:

      -

      With TQDomNodeList and TQDomNamedNodeMap two collection classes -are provided: TQDomNodeList is a list of nodes, -and TQDomNamedNodeMap is used to handle unordered sets of nodes +

      With TQDomNodeList and TQDomNamedNodeMap two collection classes +are provided: TQDomNodeList is a list of nodes, +and TQDomNamedNodeMap is used to handle unordered sets of nodes (often used for attributes). -

      The TQDomImplementation class allows the user to query features of the +

      The TQDomImplementation class allows the user to query features of the DOM implementation.

      Further reading

      -

      To get started please refer to the TQDomDocument documentation. +

      To get started please refer to the TQDomDocument documentation.

      An introduction to namespaces

      diff --git a/doc/man/man3/tqdatabrowser.3qt b/doc/man/man3/tqdatabrowser.3qt index 4ac8e2b7f..6171e73ad 100644 --- a/doc/man/man3/tqdatabrowser.3qt +++ b/doc/man/man3/tqdatabrowser.3qt @@ -16,7 +16,7 @@ Inherits TQWidget. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataBrowser\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.BI "\fBTQDataBrowser\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c .BI "\fB~TQDataBrowser\fR ()" diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 866cd07a0..7e20c375d 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -16,10 +16,10 @@ Inherits QTable. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataTable\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDataTable\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQDataTable\fR ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDataTable\fR ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQDataTable\fR ()" diff --git a/doc/man/man3/tqdataview.3qt b/doc/man/man3/tqdataview.3qt index 1608c79f6..f3d90f704 100644 --- a/doc/man/man3/tqdataview.3qt +++ b/doc/man/man3/tqdataview.3qt @@ -16,7 +16,7 @@ Inherits TQWidget. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.BI "\fBTQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c .BI "\fB~TQDataView\fR ()" diff --git a/doc/man/man3/tqdomattr.3qt b/doc/man/man3/tqdomattr.3qt index a434bdc74..63b1eca34 100644 --- a/doc/man/man3/tqdomattr.3qt +++ b/doc/man/man3/tqdomattr.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomAttr 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomAttr 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,27 +7,27 @@ .ad l .nh .SH NAME -QDomAttr \- Represents one attribute of a QDomElement +TQDomAttr \- Represents one attribute of a TQDomElement .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomAttr\fR ()" +.BI "\fBTQDomAttr\fR ()" .br .ti -1c -.BI "\fBQDomAttr\fR ( const QDomAttr & x )" +.BI "\fBTQDomAttr\fR ( const TQDomAttr & x )" .br .ti -1c -.BI "QDomAttr & \fBoperator=\fR ( const QDomAttr & x )" +.BI "TQDomAttr & \fBoperator=\fR ( const TQDomAttr & x )" .br .ti -1c -.BI "\fB~QDomAttr\fR ()" +.BI "\fB~TQDomAttr\fR ()" .br .ti -1c .BI "virtual TQString \fBname\fR () const" @@ -36,7 +36,7 @@ Inherits QDomNode. .BI "virtual bool \fBspecified\fR () const" .br .ti -1c -.BI "virtual QDomElement \fBownerElement\fR () const" +.BI "virtual TQDomElement \fBownerElement\fR () const" .br .ti -1c .BI "virtual TQString \fBvalue\fR () const" @@ -45,14 +45,14 @@ Inherits QDomNode. .BI "virtual void \fBsetValue\fR ( const TQString & v )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisAttr\fR () const" .br .in -1c .SH DESCRIPTION -The QDomAttr class represents one attribute of a QDomElement. +The TQDomAttr class represents one attribute of a TQDomElement. .PP For example, the following piece of XML produces an element with no children, but two attributes: .PP @@ -66,17 +66,17 @@ You can access the attributes of an element with code like this: .PP .nf .br - QDomElement e = //... + TQDomElement e = //... .br //... .br - QDomAttr a = e.attributeNode( "href" ); + TQDomAttr a = e.attributeNode( "href" ); .br cout << a.value() << endl; // prints "http://www.trolltech.com" .br a.setValue( "http://doc.trolltech.com" ); // change the node's attribute .br - QDomAttr a2 = e.attributeNode( "href" ); + TQDomAttr a2 = e.attributeNode( "href" ); .br cout << a2.value() << endl; // prints "http://doc.trolltech.com" .br @@ -84,51 +84,51 @@ You can access the attributes of an element with code like this: .PP This example also shows that changing an attribute received from an element changes the attribute of the element. If you do not want to change the value of the element's attribute you must use cloneNode() to get an independent copy of the attribute. .PP -QDomAttr can return the name() and value() of an attribute. An attribute's value is set with setValue(). If specified() returns TRUE the value was either set in the document or set with setValue(); otherwise the value hasn't been set. The node this attribute is attached to (if any) is returned by ownerElement(). +TQDomAttr can return the name() and value() of an attribute. An attribute's value is set with setValue(). If specified() returns TRUE the value was either set in the document or set with setValue(); otherwise the value hasn't been set. The node this attribute is attached to (if any) is returned by ownerElement(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomAttr::QDomAttr ()" +.SH "TQDomAttr::TQDomAttr ()" Constructs an empty attribute. -.SH "QDomAttr::QDomAttr ( const QDomAttr & x )" +.SH "TQDomAttr::TQDomAttr ( const TQDomAttr & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomAttr::~QDomAttr ()" +.SH "TQDomAttr::~TQDomAttr ()" Destroys the object and frees its resources. -.SH "bool QDomAttr::isAttr () const\fC [virtual]\fR" +.SH "bool TQDomAttr::isAttr () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "TQString QDomAttr::name () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomAttr::name () const\fC [virtual]\fR" Returns the attribute's name. -.SH "QDomNode::NodeType QDomAttr::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomAttr::nodeType () const\fC [virtual]\fR" Returns AttributeNode. .PP -Reimplemented from QDomNode. -.SH "QDomAttr & QDomAttr::operator= ( const QDomAttr & x )" +Reimplemented from TQDomNode. +.SH "TQDomAttr & TQDomAttr::operator= ( const TQDomAttr & x )" Assigns \fIx\fR to this DOM attribute. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomElement QDomAttr::ownerElement () const\fC [virtual]\fR" +.SH "TQDomElement TQDomAttr::ownerElement () const\fC [virtual]\fR" Returns the element node this attribute is attached to or a null node if this attribute is not attached to any element. -.SH "void QDomAttr::setValue ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomAttr::setValue ( const TQString & v )\fC [virtual]\fR" Sets the attribute's value to \fIv\fR. .PP See also value(). -.SH "bool QDomAttr::specified () const\fC [virtual]\fR" +.SH "bool TQDomAttr::specified () const\fC [virtual]\fR" Returns TRUE if the attribute has either been expicitly specified in the XML document or was set by the user with setValue(). Returns FALSE if the value hasn't been specified or set. .PP See also setValue(). -.SH "TQString QDomAttr::value () const\fC [virtual]\fR" +.SH "TQString TQDomAttr::value () const\fC [virtual]\fR" Returns the value of the attribute or TQString::null if the attribute has not been specified. .PP See also specified() and setValue(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomattr.html +.BR http://doc.trolltech.com/tqdomattr.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcdatasection.3qt b/doc/man/man3/tqdomcdatasection.3qt index 89b4e5606..87bae8ce6 100644 --- a/doc/man/man3/tqdomcdatasection.3qt +++ b/doc/man/man3/tqdomcdatasection.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomCDATASection 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomCDATASection 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,63 +7,63 @@ .ad l .nh .SH NAME -QDomCDATASection \- Represents an XML CDATA section +TQDomCDATASection \- Represents an XML CDATA section .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomText. +Inherits TQDomText. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomCDATASection\fR ()" +.BI "\fBTQDomCDATASection\fR ()" .br .ti -1c -.BI "\fBQDomCDATASection\fR ( const QDomCDATASection & x )" +.BI "\fBTQDomCDATASection\fR ( const TQDomCDATASection & x )" .br .ti -1c -.BI "QDomCDATASection & \fBoperator=\fR ( const QDomCDATASection & x )" +.BI "TQDomCDATASection & \fBoperator=\fR ( const TQDomCDATASection & x )" .br .ti -1c -.BI "\fB~QDomCDATASection\fR ()" +.BI "\fB~TQDomCDATASection\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisCDATASection\fR () const" .br .in -1c .SH DESCRIPTION -The QDomCDATASection class represents an XML CDATA section. +The TQDomCDATASection class represents an XML CDATA section. .PP CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the "]]>" string that terminates the CDATA section. CDATA sections cannot be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters. .PP -Adjacent QDomCDATASection nodes are not merged by the QDomNode::normalize() function. +Adjacent TQDomCDATASection nodes are not merged by the TQDomNode::normalize() function. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomCDATASection::QDomCDATASection ()" -Constructs an empty CDATA section. To create a CDATA section with content, use the QDomDocument::createCDATASection() function. -.SH "QDomCDATASection::QDomCDATASection ( const QDomCDATASection & x )" +.SH "TQDomCDATASection::TQDomCDATASection ()" +Constructs an empty CDATA section. To create a CDATA section with content, use the TQDomDocument::createCDATASection() function. +.SH "TQDomCDATASection::TQDomCDATASection ( const TQDomCDATASection & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomCDATASection::~QDomCDATASection ()" +.SH "TQDomCDATASection::~TQDomCDATASection ()" Destroys the object and frees its resources. -.SH "bool QDomCDATASection::isCDATASection () const\fC [virtual]\fR" +.SH "bool TQDomCDATASection::isCDATASection () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomCDATASection::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomCDATASection::nodeType () const\fC [virtual]\fR" Returns \fCCDATASection\fR. .PP -Reimplemented from QDomText. -.SH "QDomCDATASection & QDomCDATASection::operator= ( const QDomCDATASection & x )" +Reimplemented from TQDomText. +.SH "TQDomCDATASection & TQDomCDATASection::operator= ( const TQDomCDATASection & x )" Assigns \fIx\fR to this CDATA section. .PP The data of the copy is shared (shallow copy): modifying one node @@ -71,7 +71,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcdatasection.html +.BR http://doc.trolltech.com/tqdomcdatasection.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcharacterdata.3qt b/doc/man/man3/tqdomcharacterdata.3qt index b9a9a59d4..40511624b 100644 --- a/doc/man/man3/tqdomcharacterdata.3qt +++ b/doc/man/man3/tqdomcharacterdata.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomCharacterData 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomCharacterData 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,29 +7,29 @@ .ad l .nh .SH NAME -QDomCharacterData \- Represents a generic string in the DOM +TQDomCharacterData \- Represents a generic string in the DOM .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP -Inherited by QDomText and QDomComment. +Inherited by TQDomText and TQDomComment. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomCharacterData\fR ()" +.BI "\fBTQDomCharacterData\fR ()" .br .ti -1c -.BI "\fBQDomCharacterData\fR ( const QDomCharacterData & x )" +.BI "\fBTQDomCharacterData\fR ( const TQDomCharacterData & x )" .br .ti -1c -.BI "QDomCharacterData & \fBoperator=\fR ( const QDomCharacterData & x )" +.BI "TQDomCharacterData & \fBoperator=\fR ( const TQDomCharacterData & x )" .br .ti -1c -.BI "\fB~QDomCharacterData\fR ()" +.BI "\fB~TQDomCharacterData\fR ()" .br .ti -1c .BI "virtual TQString \fBsubstringData\fR ( unsigned long offset, unsigned long count )" @@ -56,66 +56,66 @@ Inherited by QDomText and QDomComment. .BI "virtual void \fBsetData\fR ( const TQString & v )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisCharacterData\fR () const" .br .in -1c .SH DESCRIPTION -The QDomCharacterData class represents a generic string in the DOM. +The TQDomCharacterData class represents a generic string in the DOM. .PP -Character data as used in XML specifies a generic data string. More specialized versions of this class are QDomText, QDomComment and QDomCDATASection. +Character data as used in XML specifies a generic data string. More specialized versions of this class are TQDomText, TQDomComment and TQDomCDATASection. .PP The data string is set with setData() and retrieved with data(). You can retrieve a portion of the data string using substringData(). Extra data can be appended with appendData(), or inserted with insertData(). Portions of the data string can be deleted with deleteData() or replaced with replaceData(). The length of the data string is returned by length(). .PP The node type of the node containing this character data is returned by nodeType(). .PP -See also QDomText, QDomComment, QDomCDATASection, and XML. +See also TQDomText, TQDomComment, TQDomCDATASection, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomCharacterData::QDomCharacterData ()" +.SH "TQDomCharacterData::TQDomCharacterData ()" Constructs an empty character data object. -.SH "QDomCharacterData::QDomCharacterData ( const QDomCharacterData & x )" +.SH "TQDomCharacterData::TQDomCharacterData ( const TQDomCharacterData & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomCharacterData::~QDomCharacterData ()" +.SH "TQDomCharacterData::~TQDomCharacterData ()" Destroys the object and frees its resources. -.SH "void QDomCharacterData::appendData ( const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::appendData ( const TQString & arg )\fC [virtual]\fR" Appends the string \fIarg\fR to the stored string. -.SH "TQString QDomCharacterData::data () const\fC [virtual]\fR" +.SH "TQString TQDomCharacterData::data () const\fC [virtual]\fR" Returns the string stored in this object. .PP If the node is a null node, it will return TQString::null. -.SH "void QDomCharacterData::deleteData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" +.SH "void TQDomCharacterData::deleteData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" Deletes a substring of length \fIcount\fR from position \fIoffset\fR. -.SH "void QDomCharacterData::insertData ( unsigned long offset, const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::insertData ( unsigned long offset, const TQString & arg )\fC [virtual]\fR" Inserts the string \fIarg\fR into the stored string at position \fIoffset\fR. -.SH "bool QDomCharacterData::isCharacterData () const\fC [virtual]\fR" +.SH "bool TQDomCharacterData::isCharacterData () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "uint QDomCharacterData::length () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "uint TQDomCharacterData::length () const\fC [virtual]\fR" Returns the length of the stored string. -.SH "QDomNode::NodeType QDomCharacterData::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomCharacterData::nodeType () const\fC [virtual]\fR" Returns the type of node this object refers to (i.e. TextNode, CDATASectionNode, CommentNode or CharacterDataNode). For a null node CharacterDataNode is returned. .PP -Reimplemented from QDomNode. +Reimplemented from TQDomNode. .PP -Reimplemented in QDomText and QDomComment. -.SH "QDomCharacterData & QDomCharacterData::operator= ( const QDomCharacterData & x )" +Reimplemented in TQDomText and TQDomComment. +.SH "TQDomCharacterData & TQDomCharacterData::operator= ( const TQDomCharacterData & x )" Assigns \fIx\fR to this character data. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "void QDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg )\fC [virtual]\fR" Replaces the substring of length \fIcount\fR starting at position \fIoffset\fR with the string \fIarg\fR. -.SH "void QDomCharacterData::setData ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomCharacterData::setData ( const TQString & v )\fC [virtual]\fR" Sets this object's string to \fIv\fR. -.SH "TQString QDomCharacterData::substringData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" +.SH "TQString TQDomCharacterData::substringData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" Returns the substring of length \fIcount\fR from position \fIoffset\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcharacterdata.html +.BR http://doc.trolltech.com/tqdomcharacterdata.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcomment.3qt b/doc/man/man3/tqdomcomment.3qt index a8293039d..ca1a3dc0c 100644 --- a/doc/man/man3/tqdomcomment.3qt +++ b/doc/man/man3/tqdomcomment.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomComment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomComment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,37 +7,37 @@ .ad l .nh .SH NAME -QDomComment \- Represents an XML comment +TQDomComment \- Represents an XML comment .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomCharacterData. +Inherits TQDomCharacterData. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomComment\fR ()" +.BI "\fBTQDomComment\fR ()" .br .ti -1c -.BI "\fBQDomComment\fR ( const QDomComment & x )" +.BI "\fBTQDomComment\fR ( const TQDomComment & x )" .br .ti -1c -.BI "QDomComment & \fBoperator=\fR ( const QDomComment & x )" +.BI "TQDomComment & \fBoperator=\fR ( const TQDomComment & x )" .br .ti -1c -.BI "\fB~QDomComment\fR ()" +.BI "\fB~TQDomComment\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisComment\fR () const" .br .in -1c .SH DESCRIPTION -The QDomComment class represents an XML comment. +The TQDomComment class represents an XML comment. .PP A comment in the parsed XML such as this: .PP @@ -46,29 +46,29 @@ A comment in the parsed XML such as this: .br .fi -is represented by QDomComment objects in the parsed Dom tree. +is represented by TQDomComment objects in the parsed Dom tree. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomComment::QDomComment ()" -Constructs an empty comment. To construct a comment with content, use the QDomDocument::createComment() function. -.SH "QDomComment::QDomComment ( const QDomComment & x )" +.SH "TQDomComment::TQDomComment ()" +Constructs an empty comment. To construct a comment with content, use the TQDomDocument::createComment() function. +.SH "TQDomComment::TQDomComment ( const TQDomComment & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomComment::~QDomComment ()" +.SH "TQDomComment::~TQDomComment ()" Destroys the object and frees its resources. -.SH "bool QDomComment::isComment () const\fC [virtual]\fR" +.SH "bool TQDomComment::isComment () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomComment::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomComment::nodeType () const\fC [virtual]\fR" Returns CommentNode. .PP -Reimplemented from QDomCharacterData. -.SH "QDomComment & QDomComment::operator= ( const QDomComment & x )" +Reimplemented from TQDomCharacterData. +.SH "TQDomComment & TQDomComment::operator= ( const TQDomComment & x )" Assigns \fIx\fR to this DOM comment. .PP The data of the copy is shared (shallow copy): modifying one node @@ -76,7 +76,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcomment.html +.BR http://doc.trolltech.com/tqdomcomment.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocument.3qt b/doc/man/man3/tqdomdocument.3qt index 676c7da95..3151caccf 100644 --- a/doc/man/man3/tqdomdocument.3qt +++ b/doc/man/man3/tqdomdocument.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocument 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocument 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,84 +7,84 @@ .ad l .nh .SH NAME -QDomDocument \- Represents an XML document +TQDomDocument \- Represents an XML document .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocument\fR ()" +.BI "\fBTQDomDocument\fR ()" .br .ti -1c -.BI "explicit \fBQDomDocument\fR ( const TQString & name )" +.BI "explicit \fBTQDomDocument\fR ( const TQString & name )" .br .ti -1c -.BI "explicit \fBQDomDocument\fR ( const QDomDocumentType & doctype )" +.BI "explicit \fBTQDomDocument\fR ( const TQDomDocumentType & doctype )" .br .ti -1c -.BI "\fBQDomDocument\fR ( const QDomDocument & x )" +.BI "\fBTQDomDocument\fR ( const TQDomDocument & x )" .br .ti -1c -.BI "QDomDocument & \fBoperator=\fR ( const QDomDocument & x )" +.BI "TQDomDocument & \fBoperator=\fR ( const TQDomDocument & x )" .br .ti -1c -.BI "\fB~QDomDocument\fR ()" +.BI "\fB~TQDomDocument\fR ()" .br .ti -1c -.BI "QDomElement \fBcreateElement\fR ( const TQString & tagName )" +.BI "TQDomElement \fBcreateElement\fR ( const TQString & tagName )" .br .ti -1c -.BI "QDomDocumentFragment \fBcreateDocumentFragment\fR ()" +.BI "TQDomDocumentFragment \fBcreateDocumentFragment\fR ()" .br .ti -1c -.BI "QDomText \fBcreateTextNode\fR ( const TQString & value )" +.BI "TQDomText \fBcreateTextNode\fR ( const TQString & value )" .br .ti -1c -.BI "QDomComment \fBcreateComment\fR ( const TQString & value )" +.BI "TQDomComment \fBcreateComment\fR ( const TQString & value )" .br .ti -1c -.BI "QDomCDATASection \fBcreateCDATASection\fR ( const TQString & value )" +.BI "TQDomCDATASection \fBcreateCDATASection\fR ( const TQString & value )" .br .ti -1c -.BI "QDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const TQString & target, const TQString & data )" +.BI "TQDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const TQString & target, const TQString & data )" .br .ti -1c -.BI "QDomAttr \fBcreateAttribute\fR ( const TQString & name )" +.BI "TQDomAttr \fBcreateAttribute\fR ( const TQString & name )" .br .ti -1c -.BI "QDomEntityReference \fBcreateEntityReference\fR ( const TQString & name )" +.BI "TQDomEntityReference \fBcreateEntityReference\fR ( const TQString & name )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" +.BI "TQDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" .br .ti -1c -.BI "QDomNode \fBimportNode\fR ( const QDomNode & importedNode, bool deep )" +.BI "TQDomNode \fBimportNode\fR ( const TQDomNode & importedNode, bool deep )" .br .ti -1c -.BI "QDomElement \fBcreateElementNS\fR ( const TQString & nsURI, const TQString & qName )" +.BI "TQDomElement \fBcreateElementNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomAttr \fBcreateAttributeNS\fR ( const TQString & nsURI, const TQString & qName )" +.BI "TQDomAttr \fBcreateAttributeNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomElement \fBelementById\fR ( const TQString & elementId )" +.BI "TQDomElement \fBelementById\fR ( const TQString & elementId )" .br .ti -1c -.BI "QDomDocumentType \fBdoctype\fR () const" +.BI "TQDomDocumentType \fBdoctype\fR () const" .br .ti -1c -.BI "QDomImplementation \fBimplementation\fR () const" +.BI "TQDomImplementation \fBimplementation\fR () const" .br .ti -1c -.BI "QDomElement \fBdocumentElement\fR () const" +.BI "TQDomElement \fBdocumentElement\fR () const" .br .ti -1c .BI "bool \fBsetContent\fR ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" @@ -111,10 +111,10 @@ Inherits QDomNode. .BI "bool \fBsetContent\fR ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( QXmlInputSource * source, QXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocument\fR () const" @@ -133,17 +133,17 @@ Inherits QDomNode. .br .in -1c .SH DESCRIPTION -The QDomDocument class represents an XML document. +The TQDomDocument class represents an XML document. .PP -The QDomDocument class represents the entire XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data. +The TQDomDocument class represents the entire XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data. .PP -Since elements, text nodes, comments, processing instructions, etc., cannot exist outside the context of a document, the document class also contains the factory functions needed to create these objects. The node objects created have an ownerDocument() function which associates them with the document within whose context they were created. The DOM classes that will be used most often are QDomNode, QDomDocument, QDomElement and QDomText. +Since elements, text nodes, comments, processing instructions, etc., cannot exist outside the context of a document, the document class also contains the factory functions needed to create these objects. The node objects created have an ownerDocument() function which associates them with the document within whose context they were created. The DOM classes that will be used most often are TQDomNode, TQDomDocument, TQDomElement and TQDomText. .PP -The parsed XML is represented internally by a tree of objects that can be accessed using the various QDom classes. All QDom classes only \fIreference\fR objects in the internal tree. The internal objects in the DOM tree will get deleted once the last QDom object referencing them and the QDomDocument itself are deleted. +The parsed XML is represented internally by a tree of objects that can be accessed using the various TQDom classes. All TQDom classes only \fIreference\fR objects in the internal tree. The internal objects in the DOM tree will get deleted once the last TQDom object referencing them and the TQDomDocument itself are deleted. .PP -Creation of elements, text nodes, etc. is done using the various factory functions provided in this class. Using the default constructors of the QDom classes will only result in empty objects that cannot be manipulated or inserted into the Document. +Creation of elements, text nodes, etc. is done using the various factory functions provided in this class. Using the default constructors of the TQDom classes will only result in empty objects that cannot be manipulated or inserted into the Document. .PP -The QDomDocument class has several functions for creating document data, for example, createElement(), createTextNode(), createComment(), createCDATASection(), createProcessingInstruction(), createAttribute() and createEntityReference(). Some of these functions have versions that support namespaces, i.e. createElementNS() and createAttributeNS(). The createDocumentFragment() function is used to hold parts of the document; this is useful for manipulating for complex documents. +The TQDomDocument class has several functions for creating document data, for example, createElement(), createTextNode(), createComment(), createCDATASection(), createProcessingInstruction(), createAttribute() and createEntityReference(). Some of these functions have versions that support namespaces, i.e. createElementNS() and createAttributeNS(). The createDocumentFragment() function is used to hold parts of the document; this is useful for manipulating for complex documents. .PP The entire content of the document is set with setContent(). This function parses the string it is passed as an XML document and creates the DOM tree that represents the document. The root element is available using documentElement(). The textual representation of the document can be obtained using toString(). .PP @@ -151,11 +151,11 @@ It is possible to insert a node from another document into the document using im .PP You can obtain a list of all the elements that have a particular tag with elementsByTagName() or with elementsByTagNameNS(). .PP -The QDom classes are typically used as follows: +The TQDom classes are typically used as follows: .PP .nf .br - QDomDocument doc( "mydocument" ); + TQDomDocument doc( "mydocument" ); .br QFile file( "mydocument.xml" ); .br @@ -178,14 +178,14 @@ The QDom classes are typically used as follows: .br // of the outermost element. .br - QDomElement docElem = doc.documentElement(); + TQDomElement docElem = doc.documentElement(); .br .br - QDomNode n = docElem.firstChild(); + TQDomNode n = docElem.firstChild(); .br while( !n.isNull() ) { .br - QDomElement e = n.toElement(); // try to convert the node to an element. + TQDomElement e = n.toElement(); // try to convert the node to an element. .br if( !e.isNull() ) { .br @@ -200,7 +200,7 @@ The QDom classes are typically used as follows: .br // Here we append a new element to the end of the document .br - QDomElement elem = doc.createElement( "img" ); + TQDomElement elem = doc.createElement( "img" ); .br elem.setAttribute( "src", "myimage.png" ); .br @@ -214,19 +214,19 @@ To create a document using DOM use code like this: .PP .nf .br - QDomDocument doc( "MyML" ); + TQDomDocument doc( "MyML" ); .br - QDomElement root = doc.createElement( "MyML" ); + TQDomElement root = doc.createElement( "MyML" ); .br doc.appendChild( root ); .br .br - QDomElement tag = doc.createElement( "Greeting" ); + TQDomElement tag = doc.createElement( "Greeting" ); .br root.appendChild( tag ); .br .br - QDomText t = doc.createTextNode( "Hello World" ); + TQDomText t = doc.createTextNode( "Hello World" ); .br tag.appendChild( t ); .br @@ -235,60 +235,60 @@ To create a document using DOM use code like this: .br .fi .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocument::QDomDocument ()" +.SH "TQDomDocument::TQDomDocument ()" Constructs an empty document. -.SH "explicit QDomDocument::QDomDocument ( const TQString & name )" +.SH "explicit TQDomDocument::TQDomDocument ( const TQString & name )" Creates a document and sets the name of the document type to \fIname\fR. -.SH "explicit QDomDocument::QDomDocument ( const QDomDocumentType & doctype )" +.SH "explicit TQDomDocument::TQDomDocument ( const TQDomDocumentType & doctype )" Creates a document with the document type \fIdoctype\fR. .PP -See also QDomImplementation::createDocumentType(). -.SH "QDomDocument::QDomDocument ( const QDomDocument & x )" +See also TQDomImplementation::createDocumentType(). +.SH "TQDomDocument::TQDomDocument ( const TQDomDocument & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomDocument::~QDomDocument ()" +.SH "TQDomDocument::~TQDomDocument ()" Destroys the object and frees its resources. -.SH "QDomAttr QDomDocument::createAttribute ( const TQString & name )" -Creates a new attribute called \fIname\fR that can be inserted into an element, e.g. using QDomElement::setAttributeNode(). +.SH "TQDomAttr TQDomDocument::createAttribute ( const TQString & name )" +Creates a new attribute called \fIname\fR that can be inserted into an element, e.g. using TQDomElement::setAttributeNode(). .PP See also createAttributeNS(). -.SH "QDomAttr QDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName )" -Creates a new attribute with namespace support that can be inserted into an element. The name of the attribute is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets QDomNode::prefix() and QDomNode::localName() to appropriate values (depending on \fIqName\fR). +.SH "TQDomAttr TQDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName )" +Creates a new attribute with namespace support that can be inserted into an element. The name of the attribute is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets TQDomNode::prefix() and TQDomNode::localName() to appropriate values (depending on \fIqName\fR). .PP See also createAttribute(). -.SH "QDomCDATASection QDomDocument::createCDATASection ( const TQString & value )" -Creates a new CDATA section for the string \fIvalue\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +.SH "TQDomCDATASection TQDomDocument::createCDATASection ( const TQString & value )" +Creates a new CDATA section for the string \fIvalue\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomComment QDomDocument::createComment ( const TQString & value )" -Creates a new comment for the string \fIvalue\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomComment TQDomDocument::createComment ( const TQString & value )" +Creates a new comment for the string \fIvalue\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomDocumentFragment QDomDocument::createDocumentFragment ()" +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomDocumentFragment TQDomDocument::createDocumentFragment ()" Creates a new document fragment, that can be used to hold parts of the document, e.g. when doing complex manipulations of the document tree. -.SH "QDomElement QDomDocument::createElement ( const TQString & tagName )" -Creates a new element called \fItagName\fR that can be inserted into the DOM tree, e.g. using QDomNode::appendChild(). +.SH "TQDomElement TQDomDocument::createElement ( const TQString & tagName )" +Creates a new element called \fItagName\fR that can be inserted into the DOM tree, e.g. using TQDomNode::appendChild(). .PP -See also createElementNS(), QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomElement QDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName )" -Creates a new element with namespace support that can be inserted into the DOM tree. The name of the element is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets QDomNode::prefix() and QDomNode::localName() to appropriate values (depending on \fIqName\fR). +See also createElementNS(), TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomElement TQDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName )" +Creates a new element with namespace support that can be inserted into the DOM tree. The name of the element is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets TQDomNode::prefix() and TQDomNode::localName() to appropriate values (depending on \fIqName\fR). .PP See also createElement(). -.SH "QDomEntityReference QDomDocument::createEntityReference ( const TQString & name )" -Creates a new entity reference called \fIname\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +.SH "TQDomEntityReference TQDomDocument::createEntityReference ( const TQString & name )" +Creates a new entity reference called \fIname\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomProcessingInstruction QDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data )" -Creates a new processing instruction that can be inserted into the document, e.g. using QDomNode::appendChild(). This function sets the target for the processing instruction to \fItarget\fR and the data to \fIdata\fR. +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomProcessingInstruction TQDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data )" +Creates a new processing instruction that can be inserted into the document, e.g. using TQDomNode::appendChild(). This function sets the target for the processing instruction to \fItarget\fR and the data to \fIdata\fR. .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomText QDomDocument::createTextNode ( const TQString & value )" -Creates a text node for the string \fIvalue\fR that can be inserted into the document tree, e.g. using QDomNode::appendChild(). +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomText TQDomDocument::createTextNode ( const TQString & value )" +Creates a text node for the string \fIvalue\fR that can be inserted into the document tree, e.g. using TQDomNode::appendChild(). .PP \fBWarning:\fR All characters within an XML document must be in the range: .PP @@ -298,79 +298,79 @@ This rule also applies to characters encoded as character entities and character .PP If you want to store binary data in an XML document you must either use your own scheme to escape illegal characters, or you must store it in an external unparsed entity. .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomDocumentType QDomDocument::doctype () const" +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomDocumentType TQDomDocument::doctype () const" Returns the document type of this document. -.SH "QDomElement QDomDocument::documentElement () const" +.SH "TQDomElement TQDomDocument::documentElement () const" Returns the root element of the document. -.SH "QDomElement QDomDocument::elementById ( const TQString & elementId )" +.SH "TQDomElement TQDomDocument::elementById ( const TQString & elementId )" Returns the element whose ID is equal to \fIelementId\fR. If no element with the ID was found, this function returns a null element. .PP -Since the QDomClasses do not know which attributes are element IDs, this function returns always a null element. This may change in a future version. -.SH "QDomNodeList QDomDocument::elementsByTagName ( const TQString & tagname ) const" -Returns a QDomNodeList, that contains all the elements in the document with the name \fItagname\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. +Since the TQDomClasses do not know which attributes are element IDs, this function returns always a null element. This may change in a future version. +.SH "TQDomNodeList TQDomDocument::elementsByTagName ( const TQString & tagname ) const" +Returns a TQDomNodeList, that contains all the elements in the document with the name \fItagname\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagNameNS() and QDomElement::elementsByTagName(). -.SH "QDomNodeList QDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )" -Returns a QDomNodeList that contains all the elements in the document with the local name \fIlocalName\fR and a namespace URI of \fInsURI\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. +See also elementsByTagNameNS() and TQDomElement::elementsByTagName(). +.SH "TQDomNodeList TQDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )" +Returns a TQDomNodeList that contains all the elements in the document with the local name \fIlocalName\fR and a namespace URI of \fInsURI\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagName() and QDomElement::elementsByTagNameNS(). -.SH "QDomImplementation QDomDocument::implementation () const" -Returns a QDomImplementation object. -.SH "QDomNode QDomDocument::importNode ( const QDomNode & importedNode, bool deep )" +See also elementsByTagName() and TQDomElement::elementsByTagNameNS(). +.SH "TQDomImplementation TQDomDocument::implementation () const" +Returns a TQDomImplementation object. +.SH "TQDomNode TQDomDocument::importNode ( const TQDomNode & importedNode, bool deep )" Imports the node \fIimportedNode\fR from another document to this document. \fIimportedNode\fR remains in the original document; this function creates a copy that can be used within this document. .PP -This function returns the imported node that belongs to this document. The returned node has no parent. It is not possible to import QDomDocument and QDomDocumentType nodes. In those cases this function returns a null node. +This function returns the imported node that belongs to this document. The returned node has no parent. It is not possible to import TQDomDocument and TQDomDocumentType nodes. In those cases this function returns a null node. .PP -If \fIdeep\fR is TRUE, this function imports not only the node \fIimportedNode\fR but its whole subtree; if it is FALSE, only the \fIimportedNode\fR is imported. The argument \fIdeep\fR has no effect on QDomAttr and QDomEntityReference nodes, since the descendents of QDomAttr nodes are always imported and those of QDomEntityReference nodes are never imported. +If \fIdeep\fR is TRUE, this function imports not only the node \fIimportedNode\fR but its whole subtree; if it is FALSE, only the \fIimportedNode\fR is imported. The argument \fIdeep\fR has no effect on TQDomAttr and TQDomEntityReference nodes, since the descendents of TQDomAttr nodes are always imported and those of TQDomEntityReference nodes are never imported. .PP The behavior of this function is slightly different depending on the node types:
      .nf .TS -l - l. Node Type Behaviour QDomAttr The owner element is set to 0 and the specified flag is set to TRUE in the generated attribute. The whole subtree of \fIimportedNode\fR is always imported for attribute nodes: \fIdeep\fR has no effect. QDomDocument Document nodes cannot be imported. QDomDocumentFragment If \fIdeep\fR is TRUE, this function imports the whole document fragment; otherwise it only generates an empty document fragment. QDomDocumentType Document type nodes cannot be imported. QDomElement Attributes for which QDomAttr::specified() is TRUE are also imported, other attributes are not imported. If \fIdeep\fR is TRUE, this function also imports the subtree of \fIimportedNode\fR; otherwise it imports only the element node (and some attributes, see above). QDomEntity Entity nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. QDomEntityReference Descendents of entity reference nodes are never imported: \fIdeep\fR has no effect. QDomNotation Notation nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. QDomProcessingInstruction The target and value of the processing instruction is copied to the new node. QDomText The text is copied to the new node. QDomCDATASection The text is copied to the new node. QDomComment +l - l. Node Type Behaviour TQDomAttr The owner element is set to 0 and the specified flag is set to TRUE in the generated attribute. The whole subtree of \fIimportedNode\fR is always imported for attribute nodes: \fIdeep\fR has no effect. TQDomDocument Document nodes cannot be imported. TQDomDocumentFragment If \fIdeep\fR is TRUE, this function imports the whole document fragment; otherwise it only generates an empty document fragment. TQDomDocumentType Document type nodes cannot be imported. TQDomElement Attributes for which TQDomAttr::specified() is TRUE are also imported, other attributes are not imported. If \fIdeep\fR is TRUE, this function also imports the subtree of \fIimportedNode\fR; otherwise it imports only the element node (and some attributes, see above). TQDomEntity Entity nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. TQDomEntityReference Descendents of entity reference nodes are never imported: \fIdeep\fR has no effect. TQDomNotation Notation nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. TQDomProcessingInstruction The target and value of the processing instruction is copied to the new node. TQDomText The text is copied to the new node. TQDomCDATASection The text is copied to the new node. TQDomComment .TE .fi
      .PP -See also QDomElement::setAttribute(), QDomNode::insertBefore(), QDomNode::insertAfter(), QDomNode::replaceChild(), QDomNode::removeChild(), and QDomNode::appendChild(). -.SH "bool QDomDocument::isDocument () const\fC [virtual]\fR" +See also TQDomElement::setAttribute(), TQDomNode::insertBefore(), TQDomNode::insertAfter(), TQDomNode::replaceChild(), TQDomNode::removeChild(), and TQDomNode::appendChild(). +.SH "bool TQDomDocument::isDocument () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomDocument::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomDocument::nodeType () const\fC [virtual]\fR" Returns DocumentNode. .PP -Reimplemented from QDomNode. -.SH "QDomDocument & QDomDocument::operator= ( const QDomDocument & x )" +Reimplemented from TQDomNode. +.SH "TQDomDocument & TQDomDocument::operator= ( const TQDomDocument & x )" Assigns \fIx\fR to this DOM document. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "bool QDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This function parses the XML document from the byte array \fIbuffer\fR and sets it as the content of the document. It tries to detect the encoding of the document as required by the XML specification. .PP If \fInamespaceProcessing\fR is TRUE, the parser recognizes namespaces in the XML file and sets the prefix name, local name and namespace URI to appropriate values. If \fInamespaceProcessing\fR is FALSE, the parser does no namespace processing when it reads the XML file. .PP If a parse error occurs, the function returns FALSE; otherwise it returns TRUE. If a parse error occurs and \fIerrorMsg\fR, \fIerrorLine\fR and \fIerrorColumn\fR are not 0, the error message is placed in \fI*errorMsg\fR, the line number \fI*errorLine\fR and the column number in \fI*errorColumn\fR. .PP -If \fInamespaceProcessing\fR is TRUE, the function QDomNode::prefix() returns a string for all elements and attributes. It returns an empty string if the element or attribute has no prefix. +If \fInamespaceProcessing\fR is TRUE, the function TQDomNode::prefix() returns a string for all elements and attributes. It returns an empty string if the element or attribute has no prefix. .PP -If \fInamespaceProcessing\fR is FALSE, the functions QDomNode::prefix(), QDomNode::localName() and QDomNode::namespaceURI() return TQString::null. +If \fInamespaceProcessing\fR is FALSE, the functions TQDomNode::prefix(), TQDomNode::localName() and TQDomNode::namespaceURI() return TQString::null. .PP -See also QDomNode::namespaceURI(), QDomNode::localName(), QDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). -.SH "bool QDomDocument::setContent ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +See also TQDomNode::namespaceURI(), TQDomNode::localName(), TQDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). +.SH "bool TQDomDocument::setContent ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the C string \fIbuffer\fR. .PP \fBWarning:\fR This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -.SH "bool QDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the string \fItext\fR. Since \fItext\fR is already a Unicode string, no encoding detection is done. -.SH "bool QDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the IO device \fIdev\fR. -.SH "bool QDomDocument::setContent ( const QCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the C string \fIbuffer\fR. @@ -378,52 +378,52 @@ This function reads the XML document from the C string \fIbuffer\fR. No namespace processing is performed. .PP \fBWarning:\fR This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -.SH "bool QDomDocument::setContent ( const QByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the byte array \fIbuffer\fR. .PP No namespace processing is performed. -.SH "bool QDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the string \fItext\fR. Since \fItext\fR is already a Unicode string, no encoding detection is performed. .PP No namespace processing is performed either. -.SH "bool QDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the IO device \fIdev\fR. .PP No namespace processing is performed. -.SH "bool QDomDocument::setContent ( QXmlInputSource * source, QXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function reads the XML document from the QXmlInputSource \fIsource\fR and parses it with the QXmlReader \fIreader\fR. +This function reads the XML document from the TQXmlInputSource \fIsource\fR and parses it with the TQXmlReader \fIreader\fR. .PP This function doesn't change the features of the \fIreader\fR. If you want to use certain features for parsing you can use this function to set up the reader appropriate. .PP -See also QXmlSimpleReader. -.SH "QCString QDomDocument::toCString () const" +See also TQXmlSimpleReader. +.SH "QCString TQDomDocument::toCString () const" Converts the parsed document back to its textual representation and returns a QCString for that is encoded in UTF-8. .PP See also toString(). -.SH "QCString QDomDocument::toCString ( int indent ) const" +.SH "QCString TQDomDocument::toCString ( int indent ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses \fIindent\fR as the amount of space to indent subelements. -.SH "TQString QDomDocument::toString () const" +.SH "TQString TQDomDocument::toString () const" Converts the parsed document back to its textual representation. .PP See also toCString(). -.SH "TQString QDomDocument::toString ( int indent ) const" +.SH "TQString TQDomDocument::toString ( int indent ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses \fIindent\fR as the amount of space to indent subelements. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocument.html +.BR http://doc.trolltech.com/tqdomdocument.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocumentfragment.3qt b/doc/man/man3/tqdomdocumentfragment.3qt index 101e844cd..ad35f8bb0 100644 --- a/doc/man/man3/tqdomdocumentfragment.3qt +++ b/doc/man/man3/tqdomdocumentfragment.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocumentFragment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocumentFragment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,67 +7,67 @@ .ad l .nh .SH NAME -QDomDocumentFragment \- Tree of QDomNodes which is not usually a complete QDomDocument +TQDomDocumentFragment \- Tree of TQDomNodes which is not usually a complete TQDomDocument .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocumentFragment\fR ()" +.BI "\fBTQDomDocumentFragment\fR ()" .br .ti -1c -.BI "\fBQDomDocumentFragment\fR ( const QDomDocumentFragment & x )" +.BI "\fBTQDomDocumentFragment\fR ( const TQDomDocumentFragment & x )" .br .ti -1c -.BI "QDomDocumentFragment & \fBoperator=\fR ( const QDomDocumentFragment & x )" +.BI "TQDomDocumentFragment & \fBoperator=\fR ( const TQDomDocumentFragment & x )" .br .ti -1c -.BI "\fB~QDomDocumentFragment\fR ()" +.BI "\fB~TQDomDocumentFragment\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocumentFragment\fR () const" .br .in -1c .SH DESCRIPTION -The QDomDocumentFragment class is a tree of QDomNodes which is not usually a complete QDomDocument. +The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. .PP -If you want to do complex tree operations it is useful to have a lightweight class to store nodes and their relations. QDomDocumentFragment stores a subtree of a document which does not necessarily represent a well-formed XML document. +If you want to do complex tree operations it is useful to have a lightweight class to store nodes and their relations. TQDomDocumentFragment stores a subtree of a document which does not necessarily represent a well-formed XML document. .PP -QDomDocumentFragment is also useful if you want to group several nodes in a list and insert them all together as children of some node. In these cases QDomDocumentFragment can be used as a temporary container for this list of children. +TQDomDocumentFragment is also useful if you want to group several nodes in a list and insert them all together as children of some node. In these cases TQDomDocumentFragment can be used as a temporary container for this list of children. .PP -The most important feature of QDomDocumentFragment is that it is treated in a special way by QDomNode::insertAfter(), QDomNode::insertBefore(), QDomNode::replaceChild() and QDomNode::appendChild(): instead of inserting the fragment itself, all the fragment's children are inserted. +The most important feature of TQDomDocumentFragment is that it is treated in a special way by TQDomNode::insertAfter(), TQDomNode::insertBefore(), TQDomNode::replaceChild() and TQDomNode::appendChild(): instead of inserting the fragment itself, all the fragment's children are inserted. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocumentFragment::QDomDocumentFragment ()" +.SH "TQDomDocumentFragment::TQDomDocumentFragment ()" Constructs an empty document fragment. -.SH "QDomDocumentFragment::QDomDocumentFragment ( const QDomDocumentFragment & x )" +.SH "TQDomDocumentFragment::TQDomDocumentFragment ( const TQDomDocumentFragment & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomDocumentFragment::~QDomDocumentFragment ()" +.SH "TQDomDocumentFragment::~TQDomDocumentFragment ()" Destroys the object and frees its resources. -.SH "bool QDomDocumentFragment::isDocumentFragment () const\fC [virtual]\fR" -This function reimplements QDomNode::isDocumentFragment(). +.SH "bool TQDomDocumentFragment::isDocumentFragment () const\fC [virtual]\fR" +This function reimplements TQDomNode::isDocumentFragment(). .PP -See also nodeType() and QDomNode::toDocumentFragment(). +See also nodeType() and TQDomNode::toDocumentFragment(). .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomDocumentFragment::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomDocumentFragment::nodeType () const\fC [virtual]\fR" Returns \fCDocumentFragment\fR. .PP -See also isDocumentFragment() and QDomNode::toDocumentFragment(). +See also isDocumentFragment() and TQDomNode::toDocumentFragment(). .PP -Reimplemented from QDomNode. -.SH "QDomDocumentFragment & QDomDocumentFragment::operator= ( const QDomDocumentFragment & x )" +Reimplemented from TQDomNode. +.SH "TQDomDocumentFragment & TQDomDocumentFragment::operator= ( const TQDomDocumentFragment & x )" Assigns \fIx\fR to this DOM document fragment. .PP The data of the copy is shared (shallow copy): modifying one node @@ -75,7 +75,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocumentfragment.html +.BR http://doc.trolltech.com/tqdomdocumentfragment.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocumenttype.3qt b/doc/man/man3/tqdomdocumenttype.3qt index d416fd298..196e5e162 100644 --- a/doc/man/man3/tqdomdocumenttype.3qt +++ b/doc/man/man3/tqdomdocumenttype.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocumentType 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocumentType 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,36 +7,36 @@ .ad l .nh .SH NAME -QDomDocumentType \- The representation of the DTD in the document tree +TQDomDocumentType \- The representation of the DTD in the document tree .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocumentType\fR ()" +.BI "\fBTQDomDocumentType\fR ()" .br .ti -1c -.BI "\fBQDomDocumentType\fR ( const QDomDocumentType & n )" +.BI "\fBTQDomDocumentType\fR ( const TQDomDocumentType & n )" .br .ti -1c -.BI "QDomDocumentType & \fBoperator=\fR ( const QDomDocumentType & n )" +.BI "TQDomDocumentType & \fBoperator=\fR ( const TQDomDocumentType & n )" .br .ti -1c -.BI "\fB~QDomDocumentType\fR ()" +.BI "\fB~TQDomDocumentType\fR ()" .br .ti -1c .BI "virtual TQString \fBname\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBentities\fR () const" +.BI "virtual TQDomNamedNodeMap \fBentities\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBnotations\fR () const" +.BI "virtual TQDomNamedNodeMap \fBnotations\fR () const" .br .ti -1c .BI "virtual TQString \fBpublicId\fR () const" @@ -48,66 +48,66 @@ Inherits QDomNode. .BI "virtual TQString \fBinternalSubset\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocumentType\fR () const" .br .in -1c .SH DESCRIPTION -The QDomDocumentType class is the representation of the DTD in the document tree. +The TQDomDocumentType class is the representation of the DTD in the document tree. .PP -The QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the tag. This class also provides the publicId(), systemId() and internalSubset() functions. +The TQDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the tag. This class also provides the publicId(), systemId() and internalSubset() functions. .PP -See also QDomDocument and XML. +See also TQDomDocument and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocumentType::QDomDocumentType ()" -Creates an empty QDomDocumentType object. -.SH "QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )" +.SH "TQDomDocumentType::TQDomDocumentType ()" +Creates an empty TQDomDocumentType object. +.SH "TQDomDocumentType::TQDomDocumentType ( const TQDomDocumentType & n )" Constructs a copy of \fIn\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomDocumentType::~QDomDocumentType ()" +.SH "TQDomDocumentType::~TQDomDocumentType ()" Destroys the object and frees its resources. -.SH "QDomNamedNodeMap QDomDocumentType::entities () const\fC [virtual]\fR" +.SH "TQDomNamedNodeMap TQDomDocumentType::entities () const\fC [virtual]\fR" Returns a map of all entities described in the DTD. -.SH "TQString QDomDocumentType::internalSubset () const\fC [virtual]\fR" +.SH "TQString TQDomDocumentType::internalSubset () const\fC [virtual]\fR" Returns the internal subset of the document type or TQString::null if there is no internal subset. .PP See also publicId() and systemId(). -.SH "bool QDomDocumentType::isDocumentType () const\fC [virtual]\fR" -This function overloads QDomNode::isDocumentType(). +.SH "bool TQDomDocumentType::isDocumentType () const\fC [virtual]\fR" +This function overloads TQDomNode::isDocumentType(). .PP -See also nodeType() and QDomNode::toDocumentType(). +See also nodeType() and TQDomNode::toDocumentType(). .PP -Reimplemented from QDomNode. -.SH "TQString QDomDocumentType::name () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomDocumentType::name () const\fC [virtual]\fR" Returns the name of the document type as specified in the tag. .PP See also nodeName(). -.SH "QDomNode::NodeType QDomDocumentType::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomDocumentType::nodeType () const\fC [virtual]\fR" Returns DocumentTypeNode. .PP -See also isDocumentType() and QDomNode::toDocumentType(). +See also isDocumentType() and TQDomNode::toDocumentType(). .PP -Reimplemented from QDomNode. -.SH "QDomNamedNodeMap QDomDocumentType::notations () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNamedNodeMap TQDomDocumentType::notations () const\fC [virtual]\fR" Returns a map of all notations described in the DTD. -.SH "QDomDocumentType & QDomDocumentType::operator= ( const QDomDocumentType & n )" +.SH "TQDomDocumentType & TQDomDocumentType::operator= ( const TQDomDocumentType & n )" Assigns \fIn\fR to this document type. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "TQString QDomDocumentType::publicId () const\fC [virtual]\fR" +.SH "TQString TQDomDocumentType::publicId () const\fC [virtual]\fR" Returns the public identifier of the external DTD subset or TQString::null if there is no public identifier. .PP -See also systemId(), internalSubset(), and QDomImplementation::createDocumentType(). -.SH "TQString QDomDocumentType::systemId () const\fC [virtual]\fR" +See also systemId(), internalSubset(), and TQDomImplementation::createDocumentType(). +.SH "TQString TQDomDocumentType::systemId () const\fC [virtual]\fR" Returns the system identifier of the external DTD subset or TQString::null if there is no system identifier. .PP -See also publicId(), internalSubset(), and QDomImplementation::createDocumentType(). +See also publicId(), internalSubset(), and TQDomImplementation::createDocumentType(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocumenttype.html +.BR http://doc.trolltech.com/tqdomdocumenttype.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomelement.3qt b/doc/man/man3/tqdomelement.3qt index 916e7b0fa..e65d140e2 100644 --- a/doc/man/man3/tqdomelement.3qt +++ b/doc/man/man3/tqdomelement.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomElement 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomElement 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,27 +7,27 @@ .ad l .nh .SH NAME -QDomElement \- Represents one element in the DOM tree +TQDomElement \- Represents one element in the DOM tree .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomElement\fR ()" +.BI "\fBTQDomElement\fR ()" .br .ti -1c -.BI "\fBQDomElement\fR ( const QDomElement & x )" +.BI "\fBTQDomElement\fR ( const TQDomElement & x )" .br .ti -1c -.BI "QDomElement & \fBoperator=\fR ( const QDomElement & x )" +.BI "TQDomElement & \fBoperator=\fR ( const TQDomElement & x )" .br .ti -1c -.BI "\fB~QDomElement\fR ()" +.BI "\fB~TQDomElement\fR ()" .br .ti -1c .BI "TQString \fBattribute\fR ( const TQString & name, const TQString & defValue = TQString::null ) const" @@ -54,16 +54,16 @@ Inherits QDomNode. .BI "void \fBremoveAttribute\fR ( const TQString & name )" .br .ti -1c -.BI "QDomAttr \fBattributeNode\fR ( const TQString & name )" +.BI "TQDomAttr \fBattributeNode\fR ( const TQString & name )" .br .ti -1c -.BI "QDomAttr \fBsetAttributeNode\fR ( const QDomAttr & newAttr )" +.BI "TQDomAttr \fBsetAttributeNode\fR ( const TQDomAttr & newAttr )" .br .ti -1c -.BI "QDomAttr \fBremoveAttributeNode\fR ( const QDomAttr & oldAttr )" +.BI "TQDomAttr \fBremoveAttributeNode\fR ( const TQDomAttr & oldAttr )" .br .ti -1c -.BI "virtual QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" +.BI "virtual TQDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" .br .ti -1c .BI "bool \fBhasAttribute\fR ( const TQString & name ) const" @@ -93,13 +93,13 @@ Inherits QDomNode. .BI "void \fBremoveAttributeNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomAttr \fBattributeNodeNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomAttr \fBattributeNodeNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomAttr \fBsetAttributeNodeNS\fR ( const QDomAttr & newAttr )" +.BI "TQDomAttr \fBsetAttributeNodeNS\fR ( const TQDomAttr & newAttr )" .br .ti -1c -.BI "virtual QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName ) const" +.BI "virtual TQDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName ) const" .br .ti -1c .BI "bool \fBhasAttributeNS\fR ( const TQString & nsURI, const TQString & localName ) const" @@ -111,10 +111,10 @@ Inherits QDomNode. .BI "void \fBsetTagName\fR ( const TQString & name )" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBattributes\fR () const" +.BI "virtual TQDomNamedNodeMap \fBattributes\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisElement\fR () const" @@ -124,36 +124,36 @@ Inherits QDomNode. .br .in -1c .SH DESCRIPTION -The QDomElement class represents one element in the DOM tree. +The TQDomElement class represents one element in the DOM tree. .PP Elements have a tagName() and zero or more attributes associated with them. The tag name can be changed with setTagName(). .PP -Element attributes are represented by QDomAttr objects that can be queried using the attribute() and attributeNode() functions. You can set attributes with the setAttribute() and setAttributeNode() functions. Attributes can be removed with removeAttribute(). There are namespace-aware equivalents to these functions, i.e. setAttributeNS(), setAttributeNodeNS() and removeAttributeNS(). +Element attributes are represented by TQDomAttr objects that can be queried using the attribute() and attributeNode() functions. You can set attributes with the setAttribute() and setAttributeNode() functions. Attributes can be removed with removeAttribute(). There are namespace-aware equivalents to these functions, i.e. setAttributeNS(), setAttributeNodeNS() and removeAttributeNS(). .PP If you want to access the text of a node use text(), e.g. .PP .nf .br - QDomElement e = //... + TQDomElement e = //... .br //... .br TQString s = e.text() .br .fi -The text() function operates recursively to find the text (since not all elements contain text). If you want to find all the text in all of a node's children, iterate over the children looking for QDomText nodes, e.g. +The text() function operates recursively to find the text (since not all elements contain text). If you want to find all the text in all of a node's children, iterate over the children looking for TQDomText nodes, e.g. .PP .nf .br TQString text; .br - QDomElement element = doc.documentElement(); + TQDomElement element = doc.documentElement(); .br - for( QDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) + for( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) .br { .br - QDomText t = n.toText(); + TQDomText t = n.toText(); .br if ( !t.isNull() ) .br @@ -166,123 +166,123 @@ Note that we attempt to convert each node to a text node and use text() rather t .PP You can get a list of all the decendents of an element which have a specified tag name with elementsByTagName() or elementsByTagNameNS(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomElement::QDomElement ()" -Constructs an empty element. Use the QDomDocument::createElement() function to construct elements with content. -.SH "QDomElement::QDomElement ( const QDomElement & x )" +.SH "TQDomElement::TQDomElement ()" +Constructs an empty element. Use the TQDomDocument::createElement() function to construct elements with content. +.SH "TQDomElement::TQDomElement ( const TQDomElement & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomElement::~QDomElement ()" +.SH "TQDomElement::~TQDomElement ()" Destroys the object and frees its resources. -.SH "TQString QDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const" +.SH "TQString TQDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const" Returns the attribute called \fIname\fR. If the attribute does not exist \fIdefValue\fR is returned. .PP See also setAttribute(), attributeNode(), setAttributeNode(), and attributeNS(). -.SH "TQString QDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const" +.SH "TQString TQDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const" Returns the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. If the attribute does not exist \fIdefValue\fR is returned. .PP See also setAttributeNS(), attributeNodeNS(), setAttributeNodeNS(), and attribute(). -.SH "QDomAttr QDomElement::attributeNode ( const TQString & name )" -Returns the QDomAttr object that corresponds to the attribute called \fIname\fR. If no such attribute exists a null attribute is returned. +.SH "TQDomAttr TQDomElement::attributeNode ( const TQString & name )" +Returns the TQDomAttr object that corresponds to the attribute called \fIname\fR. If no such attribute exists a null attribute is returned. .PP See also setAttributeNode(), attribute(), setAttribute(), and attributeNodeNS(). -.SH "QDomAttr QDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName )" -Returns the QDomAttr object that corresponds to the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. If no such attribute exists a null attribute is returned. +.SH "TQDomAttr TQDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName )" +Returns the TQDomAttr object that corresponds to the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. If no such attribute exists a null attribute is returned. .PP See also setAttributeNode(), attribute(), and setAttribute(). -.SH "QDomNamedNodeMap QDomElement::attributes () const\fC [virtual]\fR" -Returns a QDomNamedNodeMap containing all this element's attributes. +.SH "TQDomNamedNodeMap TQDomElement::attributes () const\fC [virtual]\fR" +Returns a TQDomNamedNodeMap containing all this element's attributes. .PP See also attribute(), setAttribute(), attributeNode(), and setAttributeNode(). .PP -Reimplemented from QDomNode. -.SH "QDomNodeList QDomElement::elementsByTagName ( const TQString & tagname ) const\fC [virtual]\fR" -Returns a QDomNodeList containing all descendent elements of this element that are called \fItagname\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree. +Reimplemented from TQDomNode. +.SH "TQDomNodeList TQDomElement::elementsByTagName ( const TQString & tagname ) const\fC [virtual]\fR" +Returns a TQDomNodeList containing all descendent elements of this element that are called \fItagname\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagNameNS() and QDomDocument::elementsByTagName(). -.SH "QDomNodeList QDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const\fC [virtual]\fR" -Returns a QDomNodeList containing all the descendent elements of this element with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree. +See also elementsByTagNameNS() and TQDomDocument::elementsByTagName(). +.SH "TQDomNodeList TQDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const\fC [virtual]\fR" +Returns a TQDomNodeList containing all the descendent elements of this element with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagName() and QDomDocument::elementsByTagNameNS(). -.SH "bool QDomElement::hasAttribute ( const TQString & name ) const" +See also elementsByTagName() and TQDomDocument::elementsByTagNameNS(). +.SH "bool TQDomElement::hasAttribute ( const TQString & name ) const" Returns TRUE if this element has an attribute called \fIname\fR; otherwise returns FALSE. -.SH "bool QDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const" +.SH "bool TQDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const" Returns TRUE if this element has an attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR; otherwise returns FALSE. -.SH "bool QDomElement::isElement () const\fC [virtual]\fR" +.SH "bool TQDomElement::isElement () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomElement::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomElement::nodeType () const\fC [virtual]\fR" Returns ElementNode. .PP -Reimplemented from QDomNode. -.SH "QDomElement & QDomElement::operator= ( const QDomElement & x )" +Reimplemented from TQDomNode. +.SH "TQDomElement & TQDomElement::operator= ( const TQDomElement & x )" Assigns \fIx\fR to this DOM element. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "void QDomElement::removeAttribute ( const TQString & name )" +.SH "void TQDomElement::removeAttribute ( const TQString & name )" Removes the attribute called name \fIname\fR from this element. .PP See also setAttribute(), attribute(), and removeAttributeNS(). -.SH "void QDomElement::removeAttributeNS ( const TQString & nsURI, const TQString & localName )" +.SH "void TQDomElement::removeAttributeNS ( const TQString & nsURI, const TQString & localName )" Removes the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR from this element. .PP See also setAttributeNS(), attributeNS(), and removeAttribute(). -.SH "QDomAttr QDomElement::removeAttributeNode ( const QDomAttr & oldAttr )" +.SH "TQDomAttr TQDomElement::removeAttributeNode ( const TQDomAttr & oldAttr )" Removes the attribute \fIoldAttr\fR from the element and returns it. .PP See also attributeNode() and setAttributeNode(). -.SH "void QDomElement::setAttribute ( const TQString & name, const TQString & value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, const TQString & value )" Adds an attribute called \fIname\fR with value \fIvalue\fR. If an attribute with the same name exists, its value is replaced by \fIvalue\fR. .PP See also attribute(), setAttributeNode(), and setAttributeNS(). -.SH "void QDomElement::setAttribute ( const TQString & name, int value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, int value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttribute ( const TQString & name, uint value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, uint value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttribute ( const TQString & name, long value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, long value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttribute ( const TQString & name, ulong value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, ulong value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttribute ( const TQString & name, double value )" +.SH "void TQDomElement::setAttribute ( const TQString & name, double value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value )" Adds an attribute with the qualified name \fIqName\fR and the namespace URI \fInsURI\fR with the value \fIvalue\fR. If an attribute with the same local name and namespace URI exists, its prefix is replaced by the prefix of \fIqName\fR and its value is repaced by \fIvalue\fR. .PP Although \fIqName\fR is the qualified name, the local name is used to decide if an existing attribute's value should be replaced. .PP See also attributeNS(), setAttributeNodeNS(), and setAttribute(). -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, int value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, int value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, uint value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, uint value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, long value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, long value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, double value )" +.SH "void TQDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, double value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "QDomAttr QDomElement::setAttributeNode ( const QDomAttr & newAttr )" +.SH "TQDomAttr TQDomElement::setAttributeNode ( const TQDomAttr & newAttr )" Adds the attribute \fInewAttr\fR to this element. .PP If the element has another attribute that has the same name as \fInewAttr\fR, this function replaces that attribute and returns it; otherwise the function returns a null attribute. .PP See also attributeNode(), setAttribute(), and setAttributeNodeNS(). -.SH "QDomAttr QDomElement::setAttributeNodeNS ( const QDomAttr & newAttr )" +.SH "TQDomAttr TQDomElement::setAttributeNodeNS ( const TQDomAttr & newAttr )" Adds the attribute \fInewAttr\fR to this element. .PP If the element has another attribute that has the same local name and namespace URI as \fInewAttr\fR, this function replaces that attribute and returns it; otherwise the function returns a null attribute. .PP See also attributeNodeNS(), setAttributeNS(), and setAttributeNode(). -.SH "void QDomElement::setTagName ( const TQString & name )" +.SH "void TQDomElement::setTagName ( const TQString & name )" Sets this element's tag name to \fIname\fR. .PP See also tagName(). -.SH "TQString QDomElement::tagName () const" +.SH "TQString TQDomElement::tagName () const" Returns the tag name of this element. For an XML element like this: .PP .nf @@ -293,7 +293,7 @@ Returns the tag name of this element. For an XML element like this: the tagname would return "img". .PP See also setTagName(). -.SH "TQString QDomElement::text () const" +.SH "TQString TQDomElement::text () const" Returns the element's text or TQString::null. .PP Example: @@ -304,13 +304,13 @@ Example: .br .fi .PP -The function text() of the QDomElement for the

      tag, will return "Hello TQt ". +The function text() of the TQDomElement for the

      tag, will return "Hello TQt ". .PP -Comments are ignored by this function. It only evaluates QDomText -and QDomCDATASection objects. +Comments are ignored by this function. It only evaluates TQDomText +and TQDomCDATASection objects. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomelement.html +.BR http://doc.trolltech.com/tqdomelement.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomentity.3qt b/doc/man/man3/tqdomentity.3qt index 01f0b1adc..2025b8530 100644 --- a/doc/man/man3/tqdomentity.3qt +++ b/doc/man/man3/tqdomentity.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomEntity 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomEntity 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,27 +7,27 @@ .ad l .nh .SH NAME -QDomEntity \- Represents an XML entity +TQDomEntity \- Represents an XML entity .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomEntity\fR ()" +.BI "\fBTQDomEntity\fR ()" .br .ti -1c -.BI "\fBQDomEntity\fR ( const QDomEntity & x )" +.BI "\fBTQDomEntity\fR ( const TQDomEntity & x )" .br .ti -1c -.BI "QDomEntity & \fBoperator=\fR ( const QDomEntity & x )" +.BI "TQDomEntity & \fBoperator=\fR ( const TQDomEntity & x )" .br .ti -1c -.BI "\fB~QDomEntity\fR ()" +.BI "\fB~TQDomEntity\fR ()" .br .ti -1c .BI "virtual TQString \fBpublicId\fR () const" @@ -39,57 +39,57 @@ Inherits QDomNode. .BI "virtual TQString \fBnotationName\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisEntity\fR () const" .br .in -1c .SH DESCRIPTION -The QDomEntity class represents an XML entity. +The TQDomEntity class represents an XML entity. .PP This class represents an entity in an XML document, either parsed or unparsed. Note that this models the entity itself not the entity declaration. .PP -DOM does not support editing entity nodes; if a user wants to make changes to the contents of an entity, every related QDomEntityReference node must be replaced in the DOM tree by a clone of the entity's contents, and then the desired changes must be made to each of the clones instead. All the descendents of an entity node are read-only. +DOM does not support editing entity nodes; if a user wants to make changes to the contents of an entity, every related TQDomEntityReference node must be replaced in the DOM tree by a clone of the entity's contents, and then the desired changes must be made to each of the clones instead. All the descendents of an entity node are read-only. .PP An entity node does not have any parent. .PP You can access the entity's publicId(), systemId() and notationName() when available. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomEntity::QDomEntity ()" +.SH "TQDomEntity::TQDomEntity ()" Constructs an empty entity. -.SH "QDomEntity::QDomEntity ( const QDomEntity & x )" +.SH "TQDomEntity::TQDomEntity ( const TQDomEntity & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomEntity::~QDomEntity ()" +.SH "TQDomEntity::~TQDomEntity ()" Destroys the object and frees its resources. -.SH "bool QDomEntity::isEntity () const\fC [virtual]\fR" +.SH "bool TQDomEntity::isEntity () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomEntity::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomEntity::nodeType () const\fC [virtual]\fR" Returns EntityNode. .PP -Reimplemented from QDomNode. -.SH "TQString QDomEntity::notationName () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomEntity::notationName () const\fC [virtual]\fR" For unparsed entities this function returns the name of the notation for the entity. For parsed entities this function returns TQString::null. -.SH "QDomEntity & QDomEntity::operator= ( const QDomEntity & x )" +.SH "TQDomEntity & TQDomEntity::operator= ( const TQDomEntity & x )" Assigns \fIx\fR to this DOM entity. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "TQString QDomEntity::publicId () const\fC [virtual]\fR" +.SH "TQString TQDomEntity::publicId () const\fC [virtual]\fR" Returns the public identifier associated with this entity. If the public identifier was not specified TQString::null is returned. -.SH "TQString QDomEntity::systemId () const\fC [virtual]\fR" +.SH "TQString TQDomEntity::systemId () const\fC [virtual]\fR" Returns the system identifier associated with this entity. If the system identifier was not specified TQString::null is returned. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomentity.html +.BR http://doc.trolltech.com/tqdomentity.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomentityreference.3qt b/doc/man/man3/tqdomentityreference.3qt index 607f08447..1052ebd22 100644 --- a/doc/man/man3/tqdomentityreference.3qt +++ b/doc/man/man3/tqdomentityreference.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomEntityReference 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomEntityReference 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,67 +7,67 @@ .ad l .nh .SH NAME -QDomEntityReference \- Represents an XML entity reference +TQDomEntityReference \- Represents an XML entity reference .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomEntityReference\fR ()" +.BI "\fBTQDomEntityReference\fR ()" .br .ti -1c -.BI "\fBQDomEntityReference\fR ( const QDomEntityReference & x )" +.BI "\fBTQDomEntityReference\fR ( const TQDomEntityReference & x )" .br .ti -1c -.BI "QDomEntityReference & \fBoperator=\fR ( const QDomEntityReference & x )" +.BI "TQDomEntityReference & \fBoperator=\fR ( const TQDomEntityReference & x )" .br .ti -1c -.BI "\fB~QDomEntityReference\fR ()" +.BI "\fB~TQDomEntityReference\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisEntityReference\fR () const" .br .in -1c .SH DESCRIPTION -The QDomEntityReference class represents an XML entity reference. +The TQDomEntityReference class represents an XML entity reference. .PP -A QDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference. +A TQDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference. .PP Note that character references and references to predefined entities are expanded by the XML processor so that characters are represented by their Unicode equivalent rather than by an entity reference. .PP -Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing QDomEntityReference objects. +Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing TQDomEntityReference objects. .PP If it does provide such objects, then for a given entity reference node, it may be that there is no entity node representing the referenced entity; but if such an entity exists, then the child list of the entity reference node is the same as that of the entity node. As with the entity node, all descendents of the entity reference are read-only. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomEntityReference::QDomEntityReference ()" -Constructs an empty entity reference. Use QDomDocument::createEntityReference() to create a entity reference with content. -.SH "QDomEntityReference::QDomEntityReference ( const QDomEntityReference & x )" +.SH "TQDomEntityReference::TQDomEntityReference ()" +Constructs an empty entity reference. Use TQDomDocument::createEntityReference() to create a entity reference with content. +.SH "TQDomEntityReference::TQDomEntityReference ( const TQDomEntityReference & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomEntityReference::~QDomEntityReference ()" +.SH "TQDomEntityReference::~TQDomEntityReference ()" Destroys the object and frees its resources. -.SH "bool QDomEntityReference::isEntityReference () const\fC [virtual]\fR" +.SH "bool TQDomEntityReference::isEntityReference () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomEntityReference::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomEntityReference::nodeType () const\fC [virtual]\fR" Returns \fCEntityReference\fR. .PP -Reimplemented from QDomNode. -.SH "QDomEntityReference & QDomEntityReference::operator= ( const QDomEntityReference & x )" +Reimplemented from TQDomNode. +.SH "TQDomEntityReference & TQDomEntityReference::operator= ( const TQDomEntityReference & x )" Assigns \fIx\fR to this entity reference. .PP The data of the copy is shared (shallow copy): modifying one node @@ -75,7 +75,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomentityreference.html +.BR http://doc.trolltech.com/tqdomentityreference.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomimplementation.3qt b/doc/man/man3/tqdomimplementation.3qt index a28c092e1..0e4bdb612 100644 --- a/doc/man/man3/tqdomimplementation.3qt +++ b/doc/man/man3/tqdomimplementation.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomImplementation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomImplementation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,67 +7,67 @@ .ad l .nh .SH NAME -QDomImplementation \- Information about the features of the DOM implementation +TQDomImplementation \- Information about the features of the DOM implementation .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomImplementation\fR ()" +.BI "\fBTQDomImplementation\fR ()" .br .ti -1c -.BI "\fBQDomImplementation\fR ( const QDomImplementation & x )" +.BI "\fBTQDomImplementation\fR ( const TQDomImplementation & x )" .br .ti -1c -.BI "virtual \fB~QDomImplementation\fR ()" +.BI "virtual \fB~TQDomImplementation\fR ()" .br .ti -1c -.BI "QDomImplementation & \fBoperator=\fR ( const QDomImplementation & x )" +.BI "TQDomImplementation & \fBoperator=\fR ( const TQDomImplementation & x )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomImplementation & x ) const" +.BI "bool \fBoperator==\fR ( const TQDomImplementation & x ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomImplementation & x ) const" +.BI "bool \fBoperator!=\fR ( const TQDomImplementation & x ) const" .br .ti -1c .BI "virtual bool \fBhasFeature\fR ( const TQString & feature, const TQString & version )" .br .ti -1c -.BI "virtual QDomDocumentType \fBcreateDocumentType\fR ( const TQString & qName, const TQString & publicId, const TQString & systemId )" +.BI "virtual TQDomDocumentType \fBcreateDocumentType\fR ( const TQString & qName, const TQString & publicId, const TQString & systemId )" .br .ti -1c -.BI "virtual QDomDocument \fBcreateDocument\fR ( const TQString & nsURI, const TQString & qName, const QDomDocumentType & doctype )" +.BI "virtual TQDomDocument \fBcreateDocument\fR ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )" .br .ti -1c .BI "bool \fBisNull\fR ()" .br .in -1c .SH DESCRIPTION -The QDomImplementation class provides information about the features of the DOM implementation. +The TQDomImplementation class provides information about the features of the DOM implementation. .PP This class describes the features that are supported by the DOM implementation. Currently the XML subset of DOM Level 1 and DOM Level 2 Core are supported. .PP -Normally you will use the function QDomDocument::implementation() to get the implementation object. +Normally you will use the function TQDomDocument::implementation() to get the implementation object. .PP You can create a new document type with createDocumentType() and a new document with createDocument(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also hasFeature() and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomImplementation::QDomImplementation ()" -Constructs a QDomImplementation object. -.SH "QDomImplementation::QDomImplementation ( const QDomImplementation & x )" +.SH "TQDomImplementation::TQDomImplementation ()" +Constructs a TQDomImplementation object. +.SH "TQDomImplementation::TQDomImplementation ( const TQDomImplementation & x )" Constructs a copy of \fIx\fR. -.SH "QDomImplementation::~QDomImplementation ()\fC [virtual]\fR" +.SH "TQDomImplementation::~TQDomImplementation ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "QDomDocument QDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const QDomDocumentType & doctype )\fC [virtual]\fR" +.SH "TQDomDocument TQDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )\fC [virtual]\fR" Creates a DOM document with the document type \fIdoctype\fR. This function also adds a root element node with the qualified name \fIqName\fR and the namespace URI \fInsURI\fR. -.SH "QDomDocumentType QDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )\fC [virtual]\fR" +.SH "TQDomDocumentType TQDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )\fC [virtual]\fR" Creates a document type node for the name \fIqName\fR. .PP \fIpublicId\fR specifies the public identifier of the external subset. If you specify TQString::null as the \fIpublicId\fR, this means that the document type has no public identifier. @@ -78,11 +78,11 @@ Since you cannot have a public identifier without a system identifier, the publi .PP DOM level 2 does not support any other document type declaration features. .PP -The only way you can use a document type that was created this way, is in combination with the createDocument() function to create a QDomDocument with this document type. +The only way you can use a document type that was created this way, is in combination with the createDocument() function to create a TQDomDocument with this document type. .PP See also createDocument(). -.SH "bool QDomImplementation::hasFeature ( const TQString & feature, const TQString & version )\fC [virtual]\fR" -The function returns TRUE if QDom implements the requested \fIversion\fR of a \fIfeature\fR; otherwise returns FALSE. +.SH "bool TQDomImplementation::hasFeature ( const TQString & feature, const TQString & version )\fC [virtual]\fR" +The function returns TRUE if TQDom implements the requested \fIversion\fR of a \fIfeature\fR; otherwise returns FALSE. .PP The currently supported features and their versions:
      .nf .TS @@ -90,18 +90,18 @@ l - l. Feature Version XML .TE .fi
      -.SH "bool QDomImplementation::isNull ()" -Returns FALSE if the object was created by QDomDocument::implementation(); otherwise returns TRUE. -.SH "bool QDomImplementation::operator!= ( const QDomImplementation & x ) const" -Returns TRUE if \fIx\fR and this DOM implementation object were created from different QDomDocuments; otherwise returns FALSE. -.SH "QDomImplementation & QDomImplementation::operator= ( const QDomImplementation & x )" +.SH "bool TQDomImplementation::isNull ()" +Returns FALSE if the object was created by TQDomDocument::implementation(); otherwise returns TRUE. +.SH "bool TQDomImplementation::operator!= ( const TQDomImplementation & x ) const" +Returns TRUE if \fIx\fR and this DOM implementation object were created from different TQDomDocuments; otherwise returns FALSE. +.SH "TQDomImplementation & TQDomImplementation::operator= ( const TQDomImplementation & x )" Assigns \fIx\fR to this DOM implementation. -.SH "bool QDomImplementation::operator== ( const QDomImplementation & x ) const" +.SH "bool TQDomImplementation::operator== ( const TQDomImplementation & x ) const" Returns TRUE if \fIx\fR and this DOM implementation object were -created from the same QDomDocument; otherwise returns FALSE. +created from the same TQDomDocument; otherwise returns FALSE. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomimplementation.html +.BR http://doc.trolltech.com/tqdomimplementation.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnamednodemap.3qt b/doc/man/man3/tqdomnamednodemap.3qt index 4ec12f7c8..a9473f1e6 100644 --- a/doc/man/man3/tqdomnamednodemap.3qt +++ b/doc/man/man3/tqdomnamednodemap.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNamedNodeMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNamedNodeMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,52 +7,52 @@ .ad l .nh .SH NAME -QDomNamedNodeMap \- Collection of nodes that can be accessed by name +TQDomNamedNodeMap \- Collection of nodes that can be accessed by name .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

      .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomNamedNodeMap\fR ()" +.BI "\fBTQDomNamedNodeMap\fR ()" .br .ti -1c -.BI "\fBQDomNamedNodeMap\fR ( const QDomNamedNodeMap & n )" +.BI "\fBTQDomNamedNodeMap\fR ( const TQDomNamedNodeMap & n )" .br .ti -1c -.BI "QDomNamedNodeMap & \fBoperator=\fR ( const QDomNamedNodeMap & n )" +.BI "TQDomNamedNodeMap & \fBoperator=\fR ( const TQDomNamedNodeMap & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNamedNodeMap & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNamedNodeMap & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNamedNodeMap & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNamedNodeMap & n ) const" .br .ti -1c -.BI "\fB~QDomNamedNodeMap\fR ()" +.BI "\fB~TQDomNamedNodeMap\fR ()" .br .ti -1c -.BI "QDomNode \fBnamedItem\fR ( const TQString & name ) const" +.BI "TQDomNode \fBnamedItem\fR ( const TQString & name ) const" .br .ti -1c -.BI "QDomNode \fBsetNamedItem\fR ( const QDomNode & newNode )" +.BI "TQDomNode \fBsetNamedItem\fR ( const TQDomNode & newNode )" .br .ti -1c -.BI "QDomNode \fBremoveNamedItem\fR ( const TQString & name )" +.BI "TQDomNode \fBremoveNamedItem\fR ( const TQString & name )" .br .ti -1c -.BI "QDomNode \fBitem\fR ( int index ) const" +.BI "TQDomNode \fBitem\fR ( int index ) const" .br .ti -1c -.BI "QDomNode \fBnamedItemNS\fR ( const TQString & nsURI, const TQString & localName ) const" +.BI "TQDomNode \fBnamedItemNS\fR ( const TQString & nsURI, const TQString & localName ) const" .br .ti -1c -.BI "QDomNode \fBsetNamedItemNS\fR ( const QDomNode & newNode )" +.BI "TQDomNode \fBsetNamedItemNS\fR ( const TQDomNode & newNode )" .br .ti -1c -.BI "QDomNode \fBremoveNamedItemNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomNode \fBremoveNamedItemNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c .BI "uint \fBlength\fR () const" @@ -65,89 +65,89 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QDomNamedNodeMap class contains a collection of nodes that can be accessed by name. +The TQDomNamedNodeMap class contains a collection of nodes that can be accessed by name. .PP -Note that QDomNamedNodeMap does not inherit from QDomNodeList. QDomNamedNodeMaps do not provide any specific node ordering. Although nodes in a QDomNamedNodeMap may be accessed by an ordinal index, this is simply to allow a convenient enumeration of the contents of a QDomNamedNodeMap, and does not imply that the DOM specifies an ordering of the nodes. +Note that TQDomNamedNodeMap does not inherit from TQDomNodeList. TQDomNamedNodeMaps do not provide any specific node ordering. Although nodes in a TQDomNamedNodeMap may be accessed by an ordinal index, this is simply to allow a convenient enumeration of the contents of a TQDomNamedNodeMap, and does not imply that the DOM specifies an ordering of the nodes. .PP -The QDomNamedNodeMap is used in three places:
        +The TQDomNamedNodeMap is used in three places:
          .IP 1 -QDomDocumentType::entities() returns a map of all entities described in the DTD. +TQDomDocumentType::entities() returns a map of all entities described in the DTD. .IP 2 -QDomDocumentType::notations() returns a map of all notations described in the DTD. +TQDomDocumentType::notations() returns a map of all notations described in the DTD. .IP 3 -QDomNode::attributes() returns a map of all attributes of an element. +TQDomNode::attributes() returns a map of all attributes of an element. .PP -Items in the map are identified by the name which QDomNode::name() returns. Nodes are retrieved using namedItem(), namedItemNS() or item(). New nodes are inserted with setNamedItem() or setNamedItemNS() and removed with removeNamedItem() or removeNamedItemNS(). Use contains() to see if an item with the given name is in the named node map. The number of items is returned by length(). +Items in the map are identified by the name which TQDomNode::name() returns. Nodes are retrieved using namedItem(), namedItemNS() or item(). New nodes are inserted with setNamedItem() or setNamedItemNS() and removed with removeNamedItem() or removeNamedItemNS(). Use contains() to see if an item with the given name is in the named node map. The number of items is returned by length(). .PP Terminology: in this class we use "item" and "node" interchangeably. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNamedNodeMap::QDomNamedNodeMap ()" +.SH "TQDomNamedNodeMap::TQDomNamedNodeMap ()" Constructs an empty named node map. -.SH "QDomNamedNodeMap::QDomNamedNodeMap ( const QDomNamedNodeMap & n )" +.SH "TQDomNamedNodeMap::TQDomNamedNodeMap ( const TQDomNamedNodeMap & n )" Constructs a copy of \fIn\fR. -.SH "QDomNamedNodeMap::~QDomNamedNodeMap ()" +.SH "TQDomNamedNodeMap::~TQDomNamedNodeMap ()" Destroys the object and frees its resources. -.SH "bool QDomNamedNodeMap::contains ( const TQString & name ) const" +.SH "bool TQDomNamedNodeMap::contains ( const TQString & name ) const" Returns TRUE if the map contains a node called \fIname\fR; otherwise returns FALSE. -.SH "uint QDomNamedNodeMap::count () const" +.SH "uint TQDomNamedNodeMap::count () const" Returns the number of nodes in the map. .PP This function is the same as length(). -.SH "QDomNode QDomNamedNodeMap::item ( int index ) const" +.SH "TQDomNode TQDomNamedNodeMap::item ( int index ) const" Retrieves the node at position \fIindex\fR. .PP This can be used to iterate over the map. Note that the nodes in the map are ordered arbitrarily. .PP See also length(). -.SH "uint QDomNamedNodeMap::length () const" +.SH "uint TQDomNamedNodeMap::length () const" Returns the number of nodes in the map. .PP See also item(). -.SH "QDomNode QDomNamedNodeMap::namedItem ( const TQString & name ) const" +.SH "TQDomNode TQDomNamedNodeMap::namedItem ( const TQString & name ) const" Returns the node called \fIname\fR. .PP -If the named node map does not contain such a node, a null node is returned. A node's name is the name returned by QDomNode::nodeName(). +If the named node map does not contain such a node, a null node is returned. A node's name is the name returned by TQDomNode::nodeName(). .PP See also setNamedItem() and namedItemNS(). -.SH "QDomNode QDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const" +.SH "TQDomNode TQDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const" Returns the node associated with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. .PP If the map does not contain such a node, a null node is returned. .PP See also setNamedItemNS() and namedItem(). -.SH "bool QDomNamedNodeMap::operator!= ( const QDomNamedNodeMap & n ) const" +.SH "bool TQDomNamedNodeMap::operator!= ( const TQDomNamedNodeMap & n ) const" Returns TRUE if \fIn\fR and this named node map are not equal; otherwise returns FALSE. -.SH "QDomNamedNodeMap & QDomNamedNodeMap::operator= ( const QDomNamedNodeMap & n )" +.SH "TQDomNamedNodeMap & TQDomNamedNodeMap::operator= ( const TQDomNamedNodeMap & n )" Assigns \fIn\fR to this named node map. -.SH "bool QDomNamedNodeMap::operator== ( const QDomNamedNodeMap & n ) const" +.SH "bool TQDomNamedNodeMap::operator== ( const TQDomNamedNodeMap & n ) const" Returns TRUE if \fIn\fR and this named node map are equal; otherwise returns FALSE. -.SH "QDomNode QDomNamedNodeMap::removeNamedItem ( const TQString & name )" +.SH "TQDomNode TQDomNamedNodeMap::removeNamedItem ( const TQString & name )" Removes the node called \fIname\fR from the map. .PP The function returns the removed node or a null node if the map did not contain a node called \fIname\fR. .PP See also setNamedItem(), namedItem(), and removeNamedItemNS(). -.SH "QDomNode QDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName )" +.SH "TQDomNode TQDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName )" Removes the node with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR from the map. .PP The function returns the removed node or a null node if the map did not contain a node with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. .PP See also setNamedItemNS(), namedItemNS(), and removeNamedItem(). -.SH "QDomNode QDomNamedNodeMap::setNamedItem ( const QDomNode & newNode )" -Inserts the node \fInewNode\fR into the named node map. The name used by the map is the node name of \fInewNode\fR as returned by QDomNode::nodeName(). +.SH "TQDomNode TQDomNamedNodeMap::setNamedItem ( const TQDomNode & newNode )" +Inserts the node \fInewNode\fR into the named node map. The name used by the map is the node name of \fInewNode\fR as returned by TQDomNode::nodeName(). .PP If the new node replaces an existing node, i.e. the map contains a node with the same name, the replaced node is returned. .PP See also namedItem(), removeNamedItem(), and setNamedItemNS(). -.SH "QDomNode QDomNamedNodeMap::setNamedItemNS ( const QDomNode & newNode )" +.SH "TQDomNode TQDomNamedNodeMap::setNamedItemNS ( const TQDomNode & newNode )" Inserts the node \fInewNode\fR in the map. If a node with the same namespace URI and the same local name already exists in the map, it is replaced by \fInewNode\fR. If the new node replaces an existing node, the replaced node is returned. .PP See also namedItemNS(), removeNamedItemNS(), and setNamedItem(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnamednodemap.html +.BR http://doc.trolltech.com/tqdomnamednodemap.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnode.3qt b/doc/man/man3/tqdomnode.3qt index c95912c10..4b9db6309 100644 --- a/doc/man/man3/tqdomnode.3qt +++ b/doc/man/man3/tqdomnode.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNode 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNode 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QDomNode \- The base class for all the nodes in a DOM tree +TQDomNode \- The base class for all the nodes in a DOM tree .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacterData, QDomAttr, QDomElement, QDomNotation, QDomEntity, QDomEntityReference, and QDomProcessingInstruction. +Inherited by TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. .PP .SS "Public Members" .in +1c @@ -21,43 +21,43 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "enum \fBNodeType\fR { ElementNode = 1, AttributeNode = 2, TextNode = 3, CDATASectionNode = 4, EntityReferenceNode = 5, EntityNode = 6, ProcessingInstructionNode = 7, CommentNode = 8, DocumentNode = 9, DocumentTypeNode = 10, DocumentFragmentNode = 11, NotationNode = 12, BaseNode = 21, CharacterDataNode = 22 }" .br .ti -1c -.BI "\fBQDomNode\fR ()" +.BI "\fBTQDomNode\fR ()" .br .ti -1c -.BI "\fBQDomNode\fR ( const QDomNode & n )" +.BI "\fBTQDomNode\fR ( const TQDomNode & n )" .br .ti -1c -.BI "QDomNode & \fBoperator=\fR ( const QDomNode & n )" +.BI "TQDomNode & \fBoperator=\fR ( const TQDomNode & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNode & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNode & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNode & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNode & n ) const" .br .ti -1c -.BI "virtual \fB~QDomNode\fR ()" +.BI "virtual \fB~TQDomNode\fR ()" .br .ti -1c -.BI "virtual QDomNode \fBinsertBefore\fR ( const QDomNode & newChild, const QDomNode & refChild )" +.BI "virtual TQDomNode \fBinsertBefore\fR ( const TQDomNode & newChild, const TQDomNode & refChild )" .br .ti -1c -.BI "virtual QDomNode \fBinsertAfter\fR ( const QDomNode & newChild, const QDomNode & refChild )" +.BI "virtual TQDomNode \fBinsertAfter\fR ( const TQDomNode & newChild, const TQDomNode & refChild )" .br .ti -1c -.BI "virtual QDomNode \fBreplaceChild\fR ( const QDomNode & newChild, const QDomNode & oldChild )" +.BI "virtual TQDomNode \fBreplaceChild\fR ( const TQDomNode & newChild, const TQDomNode & oldChild )" .br .ti -1c -.BI "virtual QDomNode \fBremoveChild\fR ( const QDomNode & oldChild )" +.BI "virtual TQDomNode \fBremoveChild\fR ( const TQDomNode & oldChild )" .br .ti -1c -.BI "virtual QDomNode \fBappendChild\fR ( const QDomNode & newChild )" +.BI "virtual TQDomNode \fBappendChild\fR ( const TQDomNode & newChild )" .br .ti -1c .BI "virtual bool \fBhasChildNodes\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBcloneNode\fR ( bool deep = TRUE ) const" +.BI "virtual TQDomNode \fBcloneNode\fR ( bool deep = TRUE ) const" .br .ti -1c .BI "virtual void \fBnormalize\fR ()" @@ -69,31 +69,31 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "virtual TQString \fBnodeName\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBparentNode\fR () const" +.BI "virtual TQDomNode \fBparentNode\fR () const" .br .ti -1c -.BI "virtual QDomNodeList \fBchildNodes\fR () const" +.BI "virtual TQDomNodeList \fBchildNodes\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBfirstChild\fR () const" +.BI "virtual TQDomNode \fBfirstChild\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBlastChild\fR () const" +.BI "virtual TQDomNode \fBlastChild\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBpreviousSibling\fR () const" +.BI "virtual TQDomNode \fBpreviousSibling\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBnextSibling\fR () const" +.BI "virtual TQDomNode \fBnextSibling\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBattributes\fR () const" +.BI "virtual TQDomNamedNodeMap \fBattributes\fR () const" .br .ti -1c -.BI "virtual QDomDocument \fBownerDocument\fR () const" +.BI "virtual TQDomDocument \fBownerDocument\fR () const" .br .ti -1c .BI "virtual TQString \fBnamespaceURI\fR () const" @@ -156,7 +156,7 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "virtual bool \fBisComment\fR () const" .br .ti -1c -.BI "QDomNode \fBnamedItem\fR ( const TQString & name ) const" +.BI "TQDomNode \fBnamedItem\fR ( const TQString & name ) const" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -165,43 +165,43 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "void \fBclear\fR ()" .br .ti -1c -.BI "QDomAttr \fBtoAttr\fR ()" +.BI "TQDomAttr \fBtoAttr\fR ()" .br .ti -1c -.BI "QDomCDATASection \fBtoCDATASection\fR ()" +.BI "TQDomCDATASection \fBtoCDATASection\fR ()" .br .ti -1c -.BI "QDomDocumentFragment \fBtoDocumentFragment\fR ()" +.BI "TQDomDocumentFragment \fBtoDocumentFragment\fR ()" .br .ti -1c -.BI "QDomDocument \fBtoDocument\fR ()" +.BI "TQDomDocument \fBtoDocument\fR ()" .br .ti -1c -.BI "QDomDocumentType \fBtoDocumentType\fR ()" +.BI "TQDomDocumentType \fBtoDocumentType\fR ()" .br .ti -1c -.BI "QDomElement \fBtoElement\fR ()" +.BI "TQDomElement \fBtoElement\fR ()" .br .ti -1c -.BI "QDomEntityReference \fBtoEntityReference\fR ()" +.BI "TQDomEntityReference \fBtoEntityReference\fR ()" .br .ti -1c -.BI "QDomText \fBtoText\fR ()" +.BI "TQDomText \fBtoText\fR ()" .br .ti -1c -.BI "QDomEntity \fBtoEntity\fR ()" +.BI "TQDomEntity \fBtoEntity\fR ()" .br .ti -1c -.BI "QDomNotation \fBtoNotation\fR ()" +.BI "TQDomNotation \fBtoNotation\fR ()" .br .ti -1c -.BI "QDomProcessingInstruction \fBtoProcessingInstruction\fR ()" +.BI "TQDomProcessingInstruction \fBtoProcessingInstruction\fR ()" .br .ti -1c -.BI "QDomCharacterData \fBtoCharacterData\fR ()" +.BI "TQDomCharacterData \fBtoCharacterData\fR ()" .br .ti -1c -.BI "QDomComment \fBtoComment\fR ()" +.BI "TQDomComment \fBtoComment\fR ()" .br .ti -1c .BI "void \fBsave\fR ( QTextStream & str, int indent ) const" @@ -210,23 +210,23 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QTextStream & \fBoperator<<\fR ( QTextStream & str, const QDomNode & node )" +.BI "QTextStream & \fBoperator<<\fR ( QTextStream & str, const TQDomNode & node )" .br .in -1c .SH DESCRIPTION -The QDomNode class is the base class for all the nodes in a DOM tree. +The TQDomNode class is the base class for all the nodes in a DOM tree. .PP -Many functions in the DOM return a QDomNode. +Many functions in the DOM return a TQDomNode. .PP You can find out the type of a node using isAttr(), isCDATASection(), isDocumentFragment(), isDocument(), isDocumentType(), isElement(), isEntityReference(), isText(), isEntity(), isNotation(), isProcessingInstruction(), isCharacterData() and isComment(). .PP -A QDomNode can be converted into one of its subclasses using toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData() or toComment(). You can convert a node to a null node with clear(). +A TQDomNode can be converted into one of its subclasses using toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData() or toComment(). You can convert a node to a null node with clear(). .PP -Copies of the QDomNode class share their data using explicit sharing. This means that modifying one node will change all copies. This is especially useful in combination with functions which return a QDomNode, e.g. firstChild(). You can make an independent (deep) copy of the node with cloneNode(). +Copies of the TQDomNode class share their data using explicit sharing. This means that modifying one node will change all copies. This is especially useful in combination with functions which return a TQDomNode, e.g. firstChild(). You can make an independent (deep) copy of the node with cloneNode(). .PP Nodes are inserted with insertBefore(), insertAfter() or appendChild(). You can replace one node with another using replaceChild() and remove a node with removeChild(). .PP -To traverse nodes use firstChild() to get a node's first child (if any), and nextSibling() to traverse. QDomNode also provides lastChild(), previousSibling() and parentNode(). To find the first child node with a particular node name use namedItem(). +To traverse nodes use firstChild() to get a node's first child (if any), and nextSibling() to traverse. TQDomNode also provides lastChild(), previousSibling() and parentNode(). To find the first child node with a particular node name use namedItem(). .PP To find out if a node has children use hasChildNodes() and to get a list of all of a node's children use childNodes(). .PP @@ -234,11 +234,11 @@ The node's name and value (the meaning of which varies depending on its type) is .PP The document to which the node belongs is returned by ownerDocument(). .PP -Adjacent QDomText nodes can be merged into a single node with normalize(). +Adjacent TQDomText nodes can be merged into a single node with normalize(). .PP -QDomElement nodes have attributes which can be retrieved with attributes(). +TQDomElement nodes have attributes which can be retrieved with attributes(). .PP -QDomElement and QDomAttr nodes can have namespaces which can be retrieved with namespaceURI(). Their local name is retrieved with localName(), and their prefix with prefix(). The prefix can be set with setPrefix(). +TQDomElement and TQDomAttr nodes can have namespaces which can be retrieved with namespaceURI(). Their local name is retrieved with localName(), and their prefix with prefix(). The prefix can be set with setPrefix(). .PP You can write the XML representation of the node to a text stream with save(). .PP @@ -246,17 +246,17 @@ The following example looks for the first element in an XML document and prints .PP .nf .br - QDomDocument d; + TQDomDocument d; .br d.setContent( someXML ); .br - QDomNode n = d.firstChild(); + TQDomNode n = d.firstChild(); .br while ( !n.isNull() ) { .br if ( n.isElement() ) { .br - QDomElement e = n.toElement(); + TQDomElement e = n.toElement(); .br cout << "Element name: " << e.tagName() << endl; .br @@ -270,69 +270,69 @@ The following example looks for the first element in an XML document and prints .br .fi .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SS "Member Type Documentation" -.SH "QDomNode::NodeType" +.SH "TQDomNode::NodeType" This enum defines the type of the node: .TP -\fCQDomNode::ElementNode\fR +\fCTQDomNode::ElementNode\fR .TP -\fCQDomNode::AttributeNode\fR +\fCTQDomNode::AttributeNode\fR .TP -\fCQDomNode::TextNode\fR +\fCTQDomNode::TextNode\fR .TP -\fCQDomNode::CDATASectionNode\fR +\fCTQDomNode::CDATASectionNode\fR .TP -\fCQDomNode::EntityReferenceNode\fR +\fCTQDomNode::EntityReferenceNode\fR .TP -\fCQDomNode::EntityNode\fR +\fCTQDomNode::EntityNode\fR .TP -\fCQDomNode::ProcessingInstructionNode\fR +\fCTQDomNode::ProcessingInstructionNode\fR .TP -\fCQDomNode::CommentNode\fR +\fCTQDomNode::CommentNode\fR .TP -\fCQDomNode::DocumentNode\fR +\fCTQDomNode::DocumentNode\fR .TP -\fCQDomNode::DocumentTypeNode\fR +\fCTQDomNode::DocumentTypeNode\fR .TP -\fCQDomNode::DocumentFragmentNode\fR +\fCTQDomNode::DocumentFragmentNode\fR .TP -\fCQDomNode::NotationNode\fR +\fCTQDomNode::NotationNode\fR .TP -\fCQDomNode::BaseNode\fR - A QDomNode object, i.e. not a QDomNode subclass. +\fCTQDomNode::BaseNode\fR - A TQDomNode object, i.e. not a TQDomNode subclass. .TP -\fCQDomNode::CharacterDataNode\fR +\fCTQDomNode::CharacterDataNode\fR .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNode::QDomNode ()" +.SH "TQDomNode::TQDomNode ()" Constructs a null node. -.SH "QDomNode::QDomNode ( const QDomNode & n )" +.SH "TQDomNode::TQDomNode ( const TQDomNode & n )" Constructs a copy of \fIn\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomNode::~QDomNode ()\fC [virtual]\fR" +.SH "TQDomNode::~TQDomNode ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "QDomNode QDomNode::appendChild ( const QDomNode & newChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::appendChild ( const TQDomNode & newChild )\fC [virtual]\fR" Appends \fInewChild\fR as the node's last child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and appended. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and appended. .PP Returns a new reference to \fInewChild\fR. .PP See also insertBefore(), insertAfter(), replaceChild(), and removeChild(). -.SH "QDomNamedNodeMap QDomNode::attributes () const\fC [virtual]\fR" -Returns a named node map of all attributes. Attributes are only provided for QDomElements. +.SH "TQDomNamedNodeMap TQDomNode::attributes () const\fC [virtual]\fR" +Returns a named node map of all attributes. Attributes are only provided for TQDomElements. .PP -Changing the attributes in the map will also change the attributes of this QDomNode. +Changing the attributes in the map will also change the attributes of this TQDomNode. .PP -Reimplemented in QDomElement. -.SH "QDomNodeList QDomNode::childNodes () const\fC [virtual]\fR" +Reimplemented in TQDomElement. +.SH "TQDomNodeList TQDomNode::childNodes () const\fC [virtual]\fR" Returns a list of all direct child nodes. .PP -Most often you will call this function on a QDomElement object. +Most often you will call this function on a TQDomElement object. .PP For example, if the XML document looks like this: .PP @@ -352,183 +352,183 @@ Then the list of child nodes for the "body"-element will contain the node create The nodes in the list are not copied; so changing the nodes in the list will also change the children of this node. .PP See also firstChild() and lastChild(). -.SH "void QDomNode::clear ()" +.SH "void TQDomNode::clear ()" Converts the node into a null node; if it was not a null node before, its type and contents are deleted. .PP See also isNull(). -.SH "QDomNode QDomNode::cloneNode ( bool deep = TRUE ) const\fC [virtual]\fR" -Creates a deep (not shallow) copy of the QDomNode. +.SH "TQDomNode TQDomNode::cloneNode ( bool deep = TRUE ) const\fC [virtual]\fR" +Creates a deep (not shallow) copy of the TQDomNode. .PP If \fIdeep\fR is TRUE, then the cloning is done recursively which means that all the node's children are deep copied too. If \fIdeep\fR is FALSE only the node itself is copied and the copy will have no child nodes. -.SH "QDomNode QDomNode::firstChild () const\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::firstChild () const\fC [virtual]\fR" Returns the first child of the node. If there is no child node, a null node is returned. Changing the returned node will also change the node in the document tree. .PP See also lastChild() and childNodes(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "bool QDomNode::hasAttributes () const\fC [virtual]\fR" +.SH "bool TQDomNode::hasAttributes () const\fC [virtual]\fR" Returns TRUE if the node has attributes; otherwise returns FALSE. .PP See also attributes(). -.SH "bool QDomNode::hasChildNodes () const\fC [virtual]\fR" +.SH "bool TQDomNode::hasChildNodes () const\fC [virtual]\fR" Returns TRUE if the node has one or more children; otherwise returns FALSE. -.SH "QDomNode QDomNode::insertAfter ( const QDomNode & newChild, const QDomNode & refChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::insertAfter ( const TQDomNode & newChild, const TQDomNode & refChild )\fC [virtual]\fR" Inserts the node \fInewChild\fR after the child node \fIrefChild\fR. \fIrefChild\fR must be a direct child of this node. If \fIrefChild\fR is null then \fInewChild\fR is appended as this node's last child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted after \fIrefChild\fR. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted after \fIrefChild\fR. .PP Returns a new reference to \fInewChild\fR on success or a null node on failure. .PP See also insertBefore(), replaceChild(), removeChild(), and appendChild(). -.SH "QDomNode QDomNode::insertBefore ( const QDomNode & newChild, const QDomNode & refChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::insertBefore ( const TQDomNode & newChild, const TQDomNode & refChild )\fC [virtual]\fR" Inserts the node \fInewChild\fR before the child node \fIrefChild\fR. \fIrefChild\fR must be a direct child of this node. If \fIrefChild\fR is null then \fInewChild\fR is inserted as the node's first child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted before \fIrefChild\fR. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted before \fIrefChild\fR. .PP Returns a new reference to \fInewChild\fR on success or a null node on failure. .PP See also insertAfter(), replaceChild(), removeChild(), and appendChild(). -.SH "bool QDomNode::isAttr () const\fC [virtual]\fR" +.SH "bool TQDomNode::isAttr () const\fC [virtual]\fR" Returns TRUE if the node is an attribute; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomAttribute; you can get the QDomAttribute with toAttribute(). +If this function returns TRUE, it does not imply that this object is a TQDomAttribute; you can get the TQDomAttribute with toAttribute(). .PP See also toAttr(). .PP -Reimplemented in QDomAttr. -.SH "bool QDomNode::isCDATASection () const\fC [virtual]\fR" +Reimplemented in TQDomAttr. +.SH "bool TQDomNode::isCDATASection () const\fC [virtual]\fR" Returns TRUE if the node is a CDATA section; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomCDATASection; you can get the QDomCDATASection with toCDATASection(). +If this function returns TRUE, it does not imply that this object is a TQDomCDATASection; you can get the TQDomCDATASection with toCDATASection(). .PP See also toCDATASection(). .PP -Reimplemented in QDomCDATASection. -.SH "bool QDomNode::isCharacterData () const\fC [virtual]\fR" +Reimplemented in TQDomCDATASection. +.SH "bool TQDomNode::isCharacterData () const\fC [virtual]\fR" Returns TRUE if the node is a character data node; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomCharacterData; you can get the QDomCharacterData with toCharacterData(). +If this function returns TRUE, it does not imply that this object is a TQDomCharacterData; you can get the TQDomCharacterData with toCharacterData(). .PP See also toCharacterData(). .PP -Reimplemented in QDomCharacterData. -.SH "bool QDomNode::isComment () const\fC [virtual]\fR" +Reimplemented in TQDomCharacterData. +.SH "bool TQDomNode::isComment () const\fC [virtual]\fR" Returns TRUE if the node is a comment; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomComment; you can get the QDomComment with toComment(). +If this function returns TRUE, it does not imply that this object is a TQDomComment; you can get the TQDomComment with toComment(). .PP See also toComment(). .PP -Reimplemented in QDomComment. -.SH "bool QDomNode::isDocument () const\fC [virtual]\fR" +Reimplemented in TQDomComment. +.SH "bool TQDomNode::isDocument () const\fC [virtual]\fR" Returns TRUE if the node is a document; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocument; you can get the QDomDocument with toDocument(). +If this function returns TRUE, it does not imply that this object is a TQDomDocument; you can get the TQDomDocument with toDocument(). .PP See also toDocument(). .PP -Reimplemented in QDomDocument. -.SH "bool QDomNode::isDocumentFragment () const\fC [virtual]\fR" +Reimplemented in TQDomDocument. +.SH "bool TQDomNode::isDocumentFragment () const\fC [virtual]\fR" Returns TRUE if the node is a document fragment; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocumentFragment; you can get the QDomDocumentFragment with toDocumentFragment(). +If this function returns TRUE, it does not imply that this object is a TQDomDocumentFragment; you can get the TQDomDocumentFragment with toDocumentFragment(). .PP See also toDocumentFragment(). .PP -Reimplemented in QDomDocumentFragment. -.SH "bool QDomNode::isDocumentType () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentFragment. +.SH "bool TQDomNode::isDocumentType () const\fC [virtual]\fR" Returns TRUE if the node is a document type; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocumentType; you can get the QDomDocumentType with toDocumentType(). +If this function returns TRUE, it does not imply that this object is a TQDomDocumentType; you can get the TQDomDocumentType with toDocumentType(). .PP See also toDocumentType(). .PP -Reimplemented in QDomDocumentType. -.SH "bool QDomNode::isElement () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentType. +.SH "bool TQDomNode::isElement () const\fC [virtual]\fR" Returns TRUE if the node is an element; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomElement; you can get the QDomElement with toElement(). +If this function returns TRUE, it does not imply that this object is a TQDomElement; you can get the TQDomElement with toElement(). .PP See also toElement(). .PP Example: xml/outliner/outlinetree.cpp. .PP -Reimplemented in QDomElement. -.SH "bool QDomNode::isEntity () const\fC [virtual]\fR" +Reimplemented in TQDomElement. +.SH "bool TQDomNode::isEntity () const\fC [virtual]\fR" Returns TRUE if the node is an entity; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomEntity; you can get the QDomEntity with toEntity(). +If this function returns TRUE, it does not imply that this object is a TQDomEntity; you can get the TQDomEntity with toEntity(). .PP See also toEntity(). .PP -Reimplemented in QDomEntity. -.SH "bool QDomNode::isEntityReference () const\fC [virtual]\fR" +Reimplemented in TQDomEntity. +.SH "bool TQDomNode::isEntityReference () const\fC [virtual]\fR" Returns TRUE if the node is an entity reference; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomEntityReference; you can get the QDomEntityReference with toEntityReference(). +If this function returns TRUE, it does not imply that this object is a TQDomEntityReference; you can get the TQDomEntityReference with toEntityReference(). .PP See also toEntityReference(). .PP -Reimplemented in QDomEntityReference. -.SH "bool QDomNode::isNotation () const\fC [virtual]\fR" +Reimplemented in TQDomEntityReference. +.SH "bool TQDomNode::isNotation () const\fC [virtual]\fR" Returns TRUE if the node is a notation; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomNotation; you can get the QDomNotation with toNotation(). +If this function returns TRUE, it does not imply that this object is a TQDomNotation; you can get the TQDomNotation with toNotation(). .PP See also toNotation(). .PP -Reimplemented in QDomNotation. -.SH "bool QDomNode::isNull () const" +Reimplemented in TQDomNotation. +.SH "bool TQDomNode::isNull () const" Returns TRUE if this node is null (i.e. if it has no type or contents); otherwise returns FALSE. .PP Example: xml/outliner/outlinetree.cpp. -.SH "bool QDomNode::isProcessingInstruction () const\fC [virtual]\fR" +.SH "bool TQDomNode::isProcessingInstruction () const\fC [virtual]\fR" Returns TRUE if the node is a processing instruction; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomProcessingInstruction; you can get the QProcessingInstruction with toProcessingInstruction(). +If this function returns TRUE, it does not imply that this object is a TQDomProcessingInstruction; you can get the QProcessingInstruction with toProcessingInstruction(). .PP See also toProcessingInstruction(). .PP -Reimplemented in QDomProcessingInstruction. -.SH "bool QDomNode::isSupported ( const TQString & feature, const TQString & version ) const\fC [virtual]\fR" +Reimplemented in TQDomProcessingInstruction. +.SH "bool TQDomNode::isSupported ( const TQString & feature, const TQString & version ) const\fC [virtual]\fR" Returns TRUE if the DOM implementation implements the feature \fIfeature\fR and this feature is supported by this node in the version \fIversion\fR; otherwise returns FALSE. .PP -See also QDomImplementation::hasFeature(). -.SH "bool QDomNode::isText () const\fC [virtual]\fR" +See also TQDomImplementation::hasFeature(). +.SH "bool TQDomNode::isText () const\fC [virtual]\fR" Returns TRUE if the node is a text node; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomText; you can get the QDomText with toText(). +If this function returns TRUE, it does not imply that this object is a TQDomText; you can get the TQDomText with toText(). .PP See also toText(). .PP -Reimplemented in QDomText. -.SH "QDomNode QDomNode::lastChild () const\fC [virtual]\fR" +Reimplemented in TQDomText. +.SH "TQDomNode TQDomNode::lastChild () const\fC [virtual]\fR" Returns the last child of the node. If there is no child node, a null node is returned. Changing the returned node will also change the node in the document tree. .PP See also firstChild() and childNodes(). -.SH "TQString QDomNode::localName () const\fC [virtual]\fR" +.SH "TQString TQDomNode::localName () const\fC [virtual]\fR" If the node uses namespaces, this function returns the local name of the node; otherwise it returns TQString::null. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace must have been specified at creation time; it is not possible to add a namespace afterwards. .PP -See also prefix(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::namedItem ( const TQString & name ) const" +See also prefix(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::namedItem ( const TQString & name ) const" Returns the first direct child node for which nodeName() equals \fIname\fR. .PP If no such direct child exists, a null node is returned. .PP See also nodeName(). -.SH "TQString QDomNode::namespaceURI () const\fC [virtual]\fR" +.SH "TQString TQDomNode::namespaceURI () const\fC [virtual]\fR" Returns the namespace URI of this node or TQString::null if the node has no namespace URI. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace URI must be specified at creation time and cannot be changed later. .PP -See also prefix(), localName(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::nextSibling () const\fC [virtual]\fR" +See also prefix(), localName(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::nextSibling () const\fC [virtual]\fR" Returns the next sibling in the document tree. Changing the returned node will also change the node in the document tree. .PP If you have XML like this: @@ -542,17 +542,17 @@ If you have XML like this:

          Next heading

          .br .fi -and this QDomNode represents the

          tag, nextSibling() will return the node representing the

          tag. +and this TQDomNode represents the

          tag, nextSibling() will return the node representing the

          tag. .PP See also previousSibling(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "TQString QDomNode::nodeName () const\fC [virtual]\fR" +.SH "TQString TQDomNode::nodeName () const\fC [virtual]\fR" Returns the name of the node. .PP The meaning of the name depends on the subclass:
          .nf .TS -l - l. Name Meaning QDomAttr The name of the attribute QDomCDATASection The string "#cdata-section" QDomComment The string "#comment" QDomDocument The string "#document" QDomDocumentFragment The string "#document-fragment" QDomDocumentType The name of the document type QDomElement The tag name QDomEntity The name of the entity QDomEntityReference The name of the referenced entity QDomNotation The name of the notation QDomProcessingInstruction The target of the processing instruction QDomText +l - l. Name Meaning TQDomAttr The name of the attribute TQDomCDATASection The string "#cdata-section" TQDomComment The string "#comment" TQDomDocument The string "#document" TQDomDocumentFragment The string "#document-fragment" TQDomDocumentType The name of the document type TQDomElement The tag name TQDomEntity The name of the entity TQDomEntityReference The name of the referenced entity TQDomNotation The name of the notation TQDomProcessingInstruction The target of the processing instruction TQDomText .TE .fi
          @@ -560,18 +560,18 @@ l - l. Name Meaning QDomAttr The name of the attribute QDomCDATASection The stri See also nodeValue(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "QDomNode::NodeType QDomNode::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomNode::nodeType () const\fC [virtual]\fR" Returns the type of the node. .PP See also toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData(), and toComment(). .PP -Reimplemented in QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacterData, QDomAttr, QDomElement, QDomNotation, QDomEntity, QDomEntityReference, and QDomProcessingInstruction. -.SH "TQString QDomNode::nodeValue () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. +.SH "TQString TQDomNode::nodeValue () const\fC [virtual]\fR" Returns the value of the node. .PP The meaning of the value depends on the subclass:
          .nf .TS -l - l. Name Meaning QDomAttr The attribute value QDomCDATASection The content of the CDATA section QDomComment The comment QDomProcessingInstruction The data of the processing intruction QDomText +l - l. Name Meaning TQDomAttr The attribute value TQDomCDATASection The content of the CDATA section TQDomComment The comment TQDomProcessingInstruction The data of the processing intruction TQDomText .TE .fi
          @@ -581,29 +581,29 @@ All the other subclasses do not have a node value and will return TQString::null See also setNodeValue() and nodeName(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "void QDomNode::normalize ()\fC [virtual]\fR" -Calling normalize() on an element converts all its children into a standard form. This means that adjacent QDomText objects will be merged into a single text object (QDomCDATASection nodes are not merged). -.SH "bool QDomNode::operator!= ( const QDomNode & n ) const" +.SH "void TQDomNode::normalize ()\fC [virtual]\fR" +Calling normalize() on an element converts all its children into a standard form. This means that adjacent TQDomText objects will be merged into a single text object (TQDomCDATASection nodes are not merged). +.SH "bool TQDomNode::operator!= ( const TQDomNode & n ) const" Returns TRUE if \fIn\fR and this DOM node are not equal; otherwise returns FALSE. -.SH "QDomNode & QDomNode::operator= ( const QDomNode & n )" +.SH "TQDomNode & TQDomNode::operator= ( const TQDomNode & n )" Assigns a copy of \fIn\fR to this DOM node. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "bool QDomNode::operator== ( const QDomNode & n ) const" +.SH "bool TQDomNode::operator== ( const TQDomNode & n ) const" Returns TRUE if \fIn\fR and this DOM node are equal; otherwise returns FALSE. -.SH "QDomDocument QDomNode::ownerDocument () const\fC [virtual]\fR" +.SH "TQDomDocument TQDomNode::ownerDocument () const\fC [virtual]\fR" Returns the document to which this node belongs. -.SH "QDomNode QDomNode::parentNode () const\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::parentNode () const\fC [virtual]\fR" Returns the parent node. If this node has no parent, a null node is returned (i.e. a node for which isNull() returns TRUE). -.SH "TQString QDomNode::prefix () const\fC [virtual]\fR" +.SH "TQString TQDomNode::prefix () const\fC [virtual]\fR" Returns the namespace prefix of the node or TQString::null if the node has no namespace prefix. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must be specified at creation time. If a node was created with a namespace prefix, you can change it later with setPrefix(). .PP -If you create an element or attribute with QDomDocument::createElement() or QDomDocument::createAttribute(), the prefix will be TQString::null. If you use QDomDocument::createElementNS() or QDomDocument::createAttributeNS() instead, the prefix will not be TQString::null; but it might be an empty string if the name does not have a prefix. +If you create an element or attribute with TQDomDocument::createElement() or TQDomDocument::createAttribute(), the prefix will be TQString::null. If you use TQDomDocument::createElementNS() or TQDomDocument::createAttributeNS() instead, the prefix will not be TQString::null; but it might be an empty string if the name does not have a prefix. .PP -See also setPrefix(), localName(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::previousSibling () const\fC [virtual]\fR" +See also setPrefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::previousSibling () const\fC [virtual]\fR" Returns the previous sibling in the document tree. Changing the returned node will also change the node in the document tree. .PP For example, if you have XML like this: @@ -617,98 +617,98 @@ For example, if you have XML like this:

          Next heading

          .br .fi -and this QDomNode represents the

          tag, previousSibling() will return the node representing the

          tag. +and this TQDomNode represents the

          tag, previousSibling() will return the node representing the

          tag. .PP See also nextSibling(). -.SH "QDomNode QDomNode::removeChild ( const QDomNode & oldChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::removeChild ( const TQDomNode & oldChild )\fC [virtual]\fR" Removes \fIoldChild\fR from the list of children. \fIoldChild\fR must be a direct child of this node. .PP Returns a new reference to \fIoldChild\fR on success or a null node on failure. .PP See also insertBefore(), insertAfter(), replaceChild(), and appendChild(). -.SH "QDomNode QDomNode::replaceChild ( const QDomNode & newChild, const QDomNode & oldChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::replaceChild ( const TQDomNode & newChild, const TQDomNode & oldChild )\fC [virtual]\fR" Replaces \fIoldChild\fR with \fInewChild\fR. \fIoldChild\fR must be a direct child of this node. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then \fIoldChild\fR is replaced by all of the children of the fragment. +If \fInewChild\fR is a TQDomDocumentFragment, then \fIoldChild\fR is replaced by all of the children of the fragment. .PP Returns a new reference to \fIoldChild\fR on success or a null node an failure. .PP See also insertBefore(), insertAfter(), removeChild(), and appendChild(). -.SH "void QDomNode::save ( QTextStream & str, int indent ) const" +.SH "void TQDomNode::save ( QTextStream & str, int indent ) const" Writes the XML representation of the node and all its children to the stream \fIstr\fR. This function uses \fIindent\fR as the amount of space to indent the node. -.SH "void QDomNode::setNodeValue ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomNode::setNodeValue ( const TQString & v )\fC [virtual]\fR" Sets the node's value to \fIv\fR. .PP See also nodeValue(). -.SH "void QDomNode::setPrefix ( const TQString & pre )\fC [virtual]\fR" +.SH "void TQDomNode::setPrefix ( const TQString & pre )\fC [virtual]\fR" If the node has a namespace prefix, this function changes the namespace prefix of the node to \fIpre\fR. Otherwise this function does nothing. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must have be specified at creation time; it is not possible to add a namespace prefix afterwards. .PP -See also prefix(), localName(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomAttr QDomNode::toAttr ()" -Converts a QDomNode into a QDomAttr. If the node is not an attribute, the returned object will be null. +See also prefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomAttr TQDomNode::toAttr ()" +Converts a TQDomNode into a TQDomAttr. If the node is not an attribute, the returned object will be null. .PP See also isAttr(). -.SH "QDomCDATASection QDomNode::toCDATASection ()" -Converts a QDomNode into a QDomCDATASection. If the node is not a CDATA section, the returned object will be null. +.SH "TQDomCDATASection TQDomNode::toCDATASection ()" +Converts a TQDomNode into a TQDomCDATASection. If the node is not a CDATA section, the returned object will be null. .PP See also isCDATASection(). -.SH "QDomCharacterData QDomNode::toCharacterData ()" -Converts a QDomNode into a QDomCharacterData. If the node is not a character data node the returned object will be null. +.SH "TQDomCharacterData TQDomNode::toCharacterData ()" +Converts a TQDomNode into a TQDomCharacterData. If the node is not a character data node the returned object will be null. .PP See also isCharacterData(). -.SH "QDomComment QDomNode::toComment ()" -Converts a QDomNode into a QDomComment. If the node is not a comment the returned object will be null. +.SH "TQDomComment TQDomNode::toComment ()" +Converts a TQDomNode into a TQDomComment. If the node is not a comment the returned object will be null. .PP See also isComment(). -.SH "QDomDocument QDomNode::toDocument ()" -Converts a QDomNode into a QDomDocument. If the node is not a document the returned object will be null. +.SH "TQDomDocument TQDomNode::toDocument ()" +Converts a TQDomNode into a TQDomDocument. If the node is not a document the returned object will be null. .PP See also isDocument(). -.SH "QDomDocumentFragment QDomNode::toDocumentFragment ()" -Converts a QDomNode into a QDomDocumentFragment. If the node is not a document fragment the returned object will be null. +.SH "TQDomDocumentFragment TQDomNode::toDocumentFragment ()" +Converts a TQDomNode into a TQDomDocumentFragment. If the node is not a document fragment the returned object will be null. .PP See also isDocumentFragment(). -.SH "QDomDocumentType QDomNode::toDocumentType ()" -Converts a QDomNode into a QDomDocumentType. If the node is not a document type the returned object will be null. +.SH "TQDomDocumentType TQDomNode::toDocumentType ()" +Converts a TQDomNode into a TQDomDocumentType. If the node is not a document type the returned object will be null. .PP See also isDocumentType(). -.SH "QDomElement QDomNode::toElement ()" -Converts a QDomNode into a QDomElement. If the node is not an element the returned object will be null. +.SH "TQDomElement TQDomNode::toElement ()" +Converts a TQDomNode into a TQDomElement. If the node is not an element the returned object will be null. .PP See also isElement(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "QDomEntity QDomNode::toEntity ()" -Converts a QDomNode into a QDomEntity. If the node is not an entity the returned object will be null. +.SH "TQDomEntity TQDomNode::toEntity ()" +Converts a TQDomNode into a TQDomEntity. If the node is not an entity the returned object will be null. .PP See also isEntity(). -.SH "QDomEntityReference QDomNode::toEntityReference ()" -Converts a QDomNode into a QDomEntityReference. If the node is not an entity reference, the returned object will be null. +.SH "TQDomEntityReference TQDomNode::toEntityReference ()" +Converts a TQDomNode into a TQDomEntityReference. If the node is not an entity reference, the returned object will be null. .PP See also isEntityReference(). -.SH "QDomNotation QDomNode::toNotation ()" -Converts a QDomNode into a QDomNotation. If the node is not a notation the returned object will be null. +.SH "TQDomNotation TQDomNode::toNotation ()" +Converts a TQDomNode into a TQDomNotation. If the node is not a notation the returned object will be null. .PP See also isNotation(). -.SH "QDomProcessingInstruction QDomNode::toProcessingInstruction ()" -Converts a QDomNode into a QDomProcessingInstruction. If the node is not a processing instruction the returned object will be null. +.SH "TQDomProcessingInstruction TQDomNode::toProcessingInstruction ()" +Converts a TQDomNode into a TQDomProcessingInstruction. If the node is not a processing instruction the returned object will be null. .PP See also isProcessingInstruction(). -.SH "QDomText QDomNode::toText ()" -Converts a QDomNode into a QDomText. If the node is not a text, the returned object will be null. +.SH "TQDomText TQDomNode::toText ()" +Converts a TQDomNode into a TQDomText. If the node is not a text, the returned object will be null. .PP See also isText(). .SH RELATED FUNCTION DOCUMENTATION -.SH "QTextStream & operator<< ( QTextStream & str, const QDomNode & node )" +.SH "QTextStream & operator<< ( QTextStream & str, const TQDomNode & node )" Writes the XML representation of the node \fInode\fR and all its children to the stream \fIstr\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnode.html +.BR http://doc.trolltech.com/tqdomnode.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnodelist.3qt b/doc/man/man3/tqdomnodelist.3qt index 31168cd28..8eabffdef 100644 --- a/doc/man/man3/tqdomnodelist.3qt +++ b/doc/man/man3/tqdomnodelist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNodeList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNodeList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,34 +7,34 @@ .ad l .nh .SH NAME -QDomNodeList \- List of QDomNode objects +TQDomNodeList \- List of TQDomNode objects .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomNodeList\fR ()" +.BI "\fBTQDomNodeList\fR ()" .br .ti -1c -.BI "\fBQDomNodeList\fR ( const QDomNodeList & n )" +.BI "\fBTQDomNodeList\fR ( const TQDomNodeList & n )" .br .ti -1c -.BI "QDomNodeList & \fBoperator=\fR ( const QDomNodeList & n )" +.BI "TQDomNodeList & \fBoperator=\fR ( const TQDomNodeList & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNodeList & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNodeList & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNodeList & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNodeList & n ) const" .br .ti -1c -.BI "virtual \fB~QDomNodeList\fR ()" +.BI "virtual \fB~TQDomNodeList\fR ()" .br .ti -1c -.BI "virtual QDomNode \fBitem\fR ( int index ) const" +.BI "virtual TQDomNode \fBitem\fR ( int index ) const" .br .ti -1c .BI "virtual uint \fBlength\fR () const" @@ -44,46 +44,46 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QDomNodeList class is a list of QDomNode objects. +The TQDomNodeList class is a list of TQDomNode objects. .PP -Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated. +Lists can be obtained by TQDomDocument::elementsByTagName() and TQDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated. .PP You can get a particular node from the list with item(). The number of items in the list is returned by count() (and by length()). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP -See also QDomNode::childNodes(), QDomDocument::elementsByTagName(), and XML. +See also TQDomNode::childNodes(), TQDomDocument::elementsByTagName(), and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNodeList::QDomNodeList ()" +.SH "TQDomNodeList::TQDomNodeList ()" Creates an empty node list. -.SH "QDomNodeList::QDomNodeList ( const QDomNodeList & n )" +.SH "TQDomNodeList::TQDomNodeList ( const TQDomNodeList & n )" Constructs a copy of \fIn\fR. -.SH "QDomNodeList::~QDomNodeList ()\fC [virtual]\fR" +.SH "TQDomNodeList::~TQDomNodeList ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "uint QDomNodeList::count () const" +.SH "uint TQDomNodeList::count () const" Returns the number of nodes in the list. .PP This function is the same as length(). -.SH "QDomNode QDomNodeList::item ( int index ) const\fC [virtual]\fR" +.SH "TQDomNode TQDomNodeList::item ( int index ) const\fC [virtual]\fR" Returns the node at position \fIindex\fR. .PP -If \fIindex\fR is negative or if \fIindex\fR >= length() then a null node is returned (i.e. a node for which QDomNode::isNull() returns TRUE). +If \fIindex\fR is negative or if \fIindex\fR >= length() then a null node is returned (i.e. a node for which TQDomNode::isNull() returns TRUE). .PP See also count(). -.SH "uint QDomNodeList::length () const\fC [virtual]\fR" +.SH "uint TQDomNodeList::length () const\fC [virtual]\fR" Returns the number of nodes in the list. .PP This function is the same as count(). -.SH "bool QDomNodeList::operator!= ( const QDomNodeList & n ) const" +.SH "bool TQDomNodeList::operator!= ( const TQDomNodeList & n ) const" Returns TRUE the node list \fIn\fR and this node list are not equal; otherwise returns FALSE. -.SH "QDomNodeList & QDomNodeList::operator= ( const QDomNodeList & n )" +.SH "TQDomNodeList & TQDomNodeList::operator= ( const TQDomNodeList & n )" Assigns \fIn\fR to this node list. -.SH "bool QDomNodeList::operator== ( const QDomNodeList & n ) const" +.SH "bool TQDomNodeList::operator== ( const TQDomNodeList & n ) const" Returns TRUE if the node list \fIn\fR and this node list are equal; otherwise returns FALSE. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnodelist.html +.BR http://doc.trolltech.com/tqdomnodelist.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnotation.3qt b/doc/man/man3/tqdomnotation.3qt index f6fce74b3..1364b0fca 100644 --- a/doc/man/man3/tqdomnotation.3qt +++ b/doc/man/man3/tqdomnotation.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNotation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNotation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,27 +7,27 @@ .ad l .nh .SH NAME -QDomNotation \- Represents an XML notation +TQDomNotation \- Represents an XML notation .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomNotation\fR ()" +.BI "\fBTQDomNotation\fR ()" .br .ti -1c -.BI "\fBQDomNotation\fR ( const QDomNotation & x )" +.BI "\fBTQDomNotation\fR ( const TQDomNotation & x )" .br .ti -1c -.BI "QDomNotation & \fBoperator=\fR ( const QDomNotation & x )" +.BI "TQDomNotation & \fBoperator=\fR ( const TQDomNotation & x )" .br .ti -1c -.BI "\fB~QDomNotation\fR ()" +.BI "\fB~TQDomNotation\fR ()" .br .ti -1c .BI "TQString \fBpublicId\fR () const" @@ -36,14 +36,14 @@ Inherits QDomNode. .BI "TQString \fBsystemId\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisNotation\fR () const" .br .in -1c .SH DESCRIPTION -The QDomNotation class represents an XML notation. +The TQDomNotation class represents an XML notation. .PP A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification). .PP @@ -53,37 +53,37 @@ A notation node does not have any parent. .PP You can retrieve the publicId() and systemId() from a notation node. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNotation::QDomNotation ()" +.SH "TQDomNotation::TQDomNotation ()" Constructor. -.SH "QDomNotation::QDomNotation ( const QDomNotation & x )" +.SH "TQDomNotation::TQDomNotation ( const TQDomNotation & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomNotation::~QDomNotation ()" +.SH "TQDomNotation::~TQDomNotation ()" Destroys the object and frees its resources. -.SH "bool QDomNotation::isNotation () const\fC [virtual]\fR" +.SH "bool TQDomNotation::isNotation () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomNotation::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomNotation::nodeType () const\fC [virtual]\fR" Returns NotationNode. .PP -Reimplemented from QDomNode. -.SH "QDomNotation & QDomNotation::operator= ( const QDomNotation & x )" +Reimplemented from TQDomNode. +.SH "TQDomNotation & TQDomNotation::operator= ( const TQDomNotation & x )" Assigns \fIx\fR to this DOM notation. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "TQString QDomNotation::publicId () const" +.SH "TQString TQDomNotation::publicId () const" Returns the public identifier of this notation. -.SH "TQString QDomNotation::systemId () const" +.SH "TQString TQDomNotation::systemId () const" Returns the system identifier of this notation. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnotation.html +.BR http://doc.trolltech.com/tqdomnotation.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomprocessinginstruction.3qt b/doc/man/man3/tqdomprocessinginstruction.3qt index 86f978d75..ae5920c41 100644 --- a/doc/man/man3/tqdomprocessinginstruction.3qt +++ b/doc/man/man3/tqdomprocessinginstruction.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomProcessingInstruction 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomProcessingInstruction 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,27 +7,27 @@ .ad l .nh .SH NAME -QDomProcessingInstruction \- Represents an XML processing instruction +TQDomProcessingInstruction \- Represents an XML processing instruction .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomProcessingInstruction\fR ()" +.BI "\fBTQDomProcessingInstruction\fR ()" .br .ti -1c -.BI "\fBQDomProcessingInstruction\fR ( const QDomProcessingInstruction & x )" +.BI "\fBTQDomProcessingInstruction\fR ( const TQDomProcessingInstruction & x )" .br .ti -1c -.BI "QDomProcessingInstruction & \fBoperator=\fR ( const QDomProcessingInstruction & x )" +.BI "TQDomProcessingInstruction & \fBoperator=\fR ( const TQDomProcessingInstruction & x )" .br .ti -1c -.BI "\fB~QDomProcessingInstruction\fR ()" +.BI "\fB~TQDomProcessingInstruction\fR ()" .br .ti -1c .BI "virtual TQString \fBtarget\fR () const" @@ -39,58 +39,58 @@ Inherits QDomNode. .BI "virtual void \fBsetData\fR ( const TQString & d )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisProcessingInstruction\fR () const" .br .in -1c .SH DESCRIPTION -The QDomProcessingInstruction class represents an XML processing instruction. +The TQDomProcessingInstruction class represents an XML processing instruction. .PP Processing instructions are used in XML to keep processor-specific information in the text of the document. .PP The content of the processing instruction is retrieved with data() and set with setData(). The processing instruction's target is retrieved with target(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomProcessingInstruction::QDomProcessingInstruction ()" -Constructs an empty processing instruction. Use QDomDocument::createProcessingInstruction() to create a processing instruction with content. -.SH "QDomProcessingInstruction::QDomProcessingInstruction ( const QDomProcessingInstruction & x )" +.SH "TQDomProcessingInstruction::TQDomProcessingInstruction ()" +Constructs an empty processing instruction. Use TQDomDocument::createProcessingInstruction() to create a processing instruction with content. +.SH "TQDomProcessingInstruction::TQDomProcessingInstruction ( const TQDomProcessingInstruction & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomProcessingInstruction::~QDomProcessingInstruction ()" +.SH "TQDomProcessingInstruction::~TQDomProcessingInstruction ()" Destroys the object and frees its resources. -.SH "TQString QDomProcessingInstruction::data () const\fC [virtual]\fR" +.SH "TQString TQDomProcessingInstruction::data () const\fC [virtual]\fR" Returns the content of this processing instruction. .PP See also setData() and target(). -.SH "bool QDomProcessingInstruction::isProcessingInstruction () const\fC [virtual]\fR" +.SH "bool TQDomProcessingInstruction::isProcessingInstruction () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomProcessingInstruction::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomProcessingInstruction::nodeType () const\fC [virtual]\fR" Returns ProcessingInstructionNode. .PP -Reimplemented from QDomNode. -.SH "QDomProcessingInstruction & QDomProcessingInstruction::operator= ( const QDomProcessingInstruction & x )" +Reimplemented from TQDomNode. +.SH "TQDomProcessingInstruction & TQDomProcessingInstruction::operator= ( const TQDomProcessingInstruction & x )" Assigns \fIx\fR to this processing instruction. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "void QDomProcessingInstruction::setData ( const TQString & d )\fC [virtual]\fR" +.SH "void TQDomProcessingInstruction::setData ( const TQString & d )\fC [virtual]\fR" Sets the data contained in the processing instruction to \fId\fR. .PP See also data(). -.SH "TQString QDomProcessingInstruction::target () const\fC [virtual]\fR" +.SH "TQString TQDomProcessingInstruction::target () const\fC [virtual]\fR" Returns the target of this processing instruction. .PP See also data(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomprocessinginstruction.html +.BR http://doc.trolltech.com/tqdomprocessinginstruction.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomtext.3qt b/doc/man/man3/tqdomtext.3qt index a9d13c1e4..ace765c51 100644 --- a/doc/man/man3/tqdomtext.3qt +++ b/doc/man/man3/tqdomtext.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,82 +7,82 @@ .ad l .nh .SH NAME -QDomText \- Represents text data in the parsed XML document +TQDomText \- Represents text data in the parsed XML document .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QDomCharacterData. +Inherits TQDomCharacterData. .PP -Inherited by QDomCDATASection. +Inherited by TQDomCDATASection. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomText\fR ()" +.BI "\fBTQDomText\fR ()" .br .ti -1c -.BI "\fBQDomText\fR ( const QDomText & x )" +.BI "\fBTQDomText\fR ( const TQDomText & x )" .br .ti -1c -.BI "QDomText & \fBoperator=\fR ( const QDomText & x )" +.BI "TQDomText & \fBoperator=\fR ( const TQDomText & x )" .br .ti -1c -.BI "\fB~QDomText\fR ()" +.BI "\fB~TQDomText\fR ()" .br .ti -1c -.BI "QDomText \fBsplitText\fR ( int offset )" +.BI "TQDomText \fBsplitText\fR ( int offset )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisText\fR () const" .br .in -1c .SH DESCRIPTION -The QDomText class represents text data in the parsed XML document. +The TQDomText class represents text data in the parsed XML document. .PP -You can split the text in a QDomText object over two QDomText objecs with splitText(). +You can split the text in a TQDomText object over two TQDomText objecs with splitText(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomText::QDomText ()" -Constructs an empty QDomText object. +.SH "TQDomText::TQDomText ()" +Constructs an empty TQDomText object. .PP -To construct a QDomText with content, use QDomDocument::createTextNode(). -.SH "QDomText::QDomText ( const QDomText & x )" +To construct a TQDomText with content, use TQDomDocument::createTextNode(). +.SH "TQDomText::TQDomText ( const TQDomText & x )" Constructs a copy of \fIx\fR. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomText::~QDomText ()" +.SH "TQDomText::~TQDomText ()" Destroys the object and frees its resources. -.SH "bool QDomText::isText () const\fC [virtual]\fR" +.SH "bool TQDomText::isText () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomText::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomText::nodeType () const\fC [virtual]\fR" Returns TextNode. .PP -Reimplemented from QDomCharacterData. +Reimplemented from TQDomCharacterData. .PP -Reimplemented in QDomCDATASection. -.SH "QDomText & QDomText::operator= ( const QDomText & x )" +Reimplemented in TQDomCDATASection. +.SH "TQDomText & TQDomText::operator= ( const TQDomText & x )" Assigns \fIx\fR to this DOM text. .PP The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). -.SH "QDomText QDomText::splitText ( int offset )" -Splits this DOM text object into two QDomText objects. This object keeps its first \fIoffset\fR characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters. +.SH "TQDomText TQDomText::splitText ( int offset )" +Splits this DOM text object into two TQDomText objects. This object keeps its first \fIoffset\fR characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters. .PP The function returns the newly created object. .PP -See also QDomNode::normalize(). +See also TQDomNode::normalize(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomtext.html +.BR http://doc.trolltech.com/tqdomtext.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqeditorfactory.3qt b/doc/man/man3/tqeditorfactory.3qt index aa86941ab..11d799df7 100644 --- a/doc/man/man3/tqeditorfactory.3qt +++ b/doc/man/man3/tqeditorfactory.3qt @@ -18,7 +18,7 @@ Inherited by TQSqlEditorFactory. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQEditorFactory\fR ()" diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index cef63f88a..6f651cc24 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -20,7 +20,7 @@ Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObject\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQObject\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "virtual \fB~TQObject\fR ()" @@ -372,7 +372,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Connects \fIsignal\fR from the \fIsender\fR object to this object's \fImember\fR. .PP -Equivalent to: \fCQObject::connect(sender, signal, this, member)\fR. +Equivalent to: \fCTQObject::connect(sender, signal, this, member)\fR. .PP See also disconnect(). .SH "void TQObject::connectNotify ( const char * signal )\fC [virtual protected]\fR" diff --git a/doc/man/man3/tqobjectcleanuphandler.3qt b/doc/man/man3/tqobjectcleanuphandler.3qt index 3b5e53e76..d6f4c5254 100644 --- a/doc/man/man3/tqobjectcleanuphandler.3qt +++ b/doc/man/man3/tqobjectcleanuphandler.3qt @@ -16,7 +16,7 @@ Inherits TQObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectCleanupHandler\fR ()" +.BI "\fBTQObjectCleanupHandler\fR ()" .br .ti -1c .BI "\fB~TQObjectCleanupHandler\fR ()" diff --git a/doc/man/man3/tqobjectlist.3qt b/doc/man/man3/tqobjectlist.3qt index 5978515ff..f196e35bc 100644 --- a/doc/man/man3/tqobjectlist.3qt +++ b/doc/man/man3/tqobjectlist.3qt @@ -16,10 +16,10 @@ Inherits QPtrList. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectList\fR ()" +.BI "\fBTQObjectList\fR ()" .br .ti -1c -.BI "\fBQObjectList\fR ( const TQObjectList & list )" +.BI "\fBTQObjectList\fR ( const TQObjectList & list )" .br .ti -1c .BI "\fB~TQObjectList\fR ()" diff --git a/doc/man/man3/tqobjectlistiterator.3qt b/doc/man/man3/tqobjectlistiterator.3qt index 72f8efcfa..67238755f 100644 --- a/doc/man/man3/tqobjectlistiterator.3qt +++ b/doc/man/man3/tqobjectlistiterator.3qt @@ -16,7 +16,7 @@ Inherits QPtrListIterator. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectListIterator\fR ( const TQObjectList & list )" +.BI "\fBTQObjectListIterator\fR ( const TQObjectList & list )" .br .ti -1c .BI "TQObjectListIterator & \fBoperator=\fR ( const TQObjectListIterator & it )" diff --git a/doc/man/man3/tqsql.3qt b/doc/man/man3/tqsql.3qt index d6c8d1254..3dbfccdbd 100644 --- a/doc/man/man3/tqsql.3qt +++ b/doc/man/man3/tqsql.3qt @@ -14,7 +14,7 @@ TQSql \- Namespace for TQt SQL identifiers that need to be global-like .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSql\fR ()" +.BI "\fBTQSql\fR ()" .br .ti -1c .BI "enum \fBOp\fR { None = -1, Insert = 0, Update = 1, Delete = 2 }" @@ -42,45 +42,45 @@ See also Database Classes. .SH "TQSql::Confirm" This enum type describes edit confirmations. .TP -\fCQSql::Yes\fR +\fCTQSql::Yes\fR .TP -\fCQSql::No\fR +\fCTQSql::No\fR .TP -\fCQSql::Cancel\fR +\fCTQSql::Cancel\fR .SH "TQSql::Location" This enum type describes SQL navigation locations. .TP -\fCQSql::BeforeFirst\fR +\fCTQSql::BeforeFirst\fR .TP -\fCQSql::AfterLast\fR +\fCTQSql::AfterLast\fR .SH "TQSql::Op" This enum type describes edit operations. .TP -\fCQSql::None\fR +\fCTQSql::None\fR .TP -\fCQSql::Insert\fR +\fCTQSql::Insert\fR .TP -\fCQSql::Update\fR +\fCTQSql::Update\fR .TP -\fCQSql::Delete\fR +\fCTQSql::Delete\fR .SH "TQSql::ParameterType" This enum is used to set the type of a bind parameter .TP -\fCQSql::In\fR - the bind parameter is used to put data into the database +\fCTQSql::In\fR - the bind parameter is used to put data into the database .TP -\fCQSql::Out\fR - the bind parameter is used to receive data from the database +\fCTQSql::Out\fR - the bind parameter is used to receive data from the database .TP -\fCQSql::InOut\fR - the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. +\fCTQSql::InOut\fR - the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. .SH "TQSql::TableType" This enum type describes types of tables .TP -\fCQSql::Tables\fR - All the tables visible to the user +\fCTQSql::Tables\fR - All the tables visible to the user .TP -\fCQSql::SystemTables\fR - Internal tables used by the DBMS +\fCTQSql::SystemTables\fR - Internal tables used by the DBMS .TP -\fCQSql::Views\fR - All the views visible to the user +\fCTQSql::Views\fR - All the views visible to the user .TP -\fCQSql::AllTables\fR - All of the above +\fCTQSql::AllTables\fR - All of the above .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSql::TQSql ()" Constructs a TQt SQL namespace class diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt index cd78d63c4..ad7086483 100644 --- a/doc/man/man3/tqsqlcursor.3qt +++ b/doc/man/man3/tqsqlcursor.3qt @@ -18,10 +18,10 @@ Inherited by TQSqlSelectCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlCursor\fR ( const TQSqlCursor & other )" +.BI "\fBTQSqlCursor\fR ( const TQSqlCursor & other )" .br .ti -1c .BI "TQSqlCursor & \fBoperator=\fR ( const TQSqlCursor & other )" @@ -246,15 +246,15 @@ See also Database Classes. .SH "TQSqlCursor::Mode" This enum type describes how TQSqlCursor operates on records in the database. .TP -\fCQSqlCursor::ReadOnly\fR - the cursor can only SELECT records from the database. +\fCTQSqlCursor::ReadOnly\fR - the cursor can only SELECT records from the database. .TP -\fCQSqlCursor::Insert\fR - the cursor can INSERT records into the database. +\fCTQSqlCursor::Insert\fR - the cursor can INSERT records into the database. .TP -\fCQSqlCursor::Update\fR - the cursor can UPDATE records in the database. +\fCTQSqlCursor::Update\fR - the cursor can UPDATE records in the database. .TP -\fCQSqlCursor::Delete\fR - the cursor can DELETE records from the database. +\fCTQSqlCursor::Delete\fR - the cursor can DELETE records from the database. .TP -\fCQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. +\fCTQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" Constructs a cursor on database \fIdb\fR using table or view \fIname\fR. diff --git a/doc/man/man3/tqsqldatabase.3qt b/doc/man/man3/tqsqldatabase.3qt index 8e9e795e6..f5b31e03d 100644 --- a/doc/man/man3/tqsqldatabase.3qt +++ b/doc/man/man3/tqsqldatabase.3qt @@ -166,10 +166,10 @@ Inherits TQObject. .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQSqlDatabase\fR ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )" +.BI "\fBTQSqlDatabase\fR ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )" .br .ti -1c -.BI "\fBQSqlDatabase\fR ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" +.BI "\fBTQSqlDatabase\fR ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" .br .in -1c .SH DESCRIPTION diff --git a/doc/man/man3/tqsqldriver.3qt b/doc/man/man3/tqsqldriver.3qt index e0757f1cb..99c2ecbc0 100644 --- a/doc/man/man3/tqsqldriver.3qt +++ b/doc/man/man3/tqsqldriver.3qt @@ -19,7 +19,7 @@ Inherits TQObject. .BI "enum \fBDriverFeature\fR { Transactions, QuerySize, BLOB, Unicode, PreparedQueries, NamedPlaceholders, PositionalPlaceholders }" .br .ti -1c -.BI "\fBQSqlDriver\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlDriver\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlDriver\fR ()" @@ -104,19 +104,19 @@ See also Database Classes. .SH "TQSqlDriver::DriverFeature" This enum contains a list of features a driver may support. Use hasFeature() to query whether a feature is supported or not. .TP -\fCQSqlDriver::Transactions\fR - whether the driver supports SQL transactions +\fCTQSqlDriver::Transactions\fR - whether the driver supports SQL transactions .TP -\fCQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case TQSqlQuery::size() will return -1 +\fCTQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case TQSqlQuery::size() will return -1 .TP -\fCQSqlDriver::BLOB\fR - whether the driver supports Binary Large Object fields +\fCTQSqlDriver::BLOB\fR - whether the driver supports Binary Large Object fields .TP -\fCQSqlDriver::Unicode\fR - whether the driver supports Unicode strings if the database server does +\fCTQSqlDriver::Unicode\fR - whether the driver supports Unicode strings if the database server does .TP -\fCQSqlDriver::PreparedQueries\fR - whether the driver supports prepared query execution +\fCTQSqlDriver::PreparedQueries\fR - whether the driver supports prepared query execution .TP -\fCQSqlDriver::NamedPlaceholders\fR - whether the driver supports usage of named placeholders +\fCTQSqlDriver::NamedPlaceholders\fR - whether the driver supports usage of named placeholders .TP -\fCQSqlDriver::PositionalPlaceholders\fR - whether the driver supports usage of positional placeholders +\fCTQSqlDriver::PositionalPlaceholders\fR - whether the driver supports usage of positional placeholders .PP More information about supported features can be found in the TQt SQL driver documentation. .PP diff --git a/doc/man/man3/tqsqldriverplugin.3qt b/doc/man/man3/tqsqldriverplugin.3qt index c190a9937..25cbdee34 100644 --- a/doc/man/man3/tqsqldriverplugin.3qt +++ b/doc/man/man3/tqsqldriverplugin.3qt @@ -14,7 +14,7 @@ TQSqlDriverPlugin \- Abstract base for custom TQSqlDriver plugins .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlDriverPlugin\fR ()" +.BI "\fBTQSqlDriverPlugin\fR ()" .br .ti -1c .BI "\fB~TQSqlDriverPlugin\fR ()" diff --git a/doc/man/man3/tqsqleditorfactory.3qt b/doc/man/man3/tqsqleditorfactory.3qt index 3e3093b0e..33a8557d2 100644 --- a/doc/man/man3/tqsqleditorfactory.3qt +++ b/doc/man/man3/tqsqleditorfactory.3qt @@ -16,7 +16,7 @@ Inherits TQEditorFactory. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlEditorFactory\fR ()" @@ -65,7 +65,7 @@ Returns an instance of a default editor factory. .SH "void TQSqlEditorFactory::installDefaultFactory ( TQSqlEditorFactory * factory )\fC [static]\fR" Replaces the default editor factory with \fIfactory\fR. All TQDataTable and TQSqlForm instantiations will use this new factory -for creating field editors. \fIQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.\fR +for creating field editors. \fITQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.\fR .SH "SEE ALSO" .BR http://doc.trolltech.com/tqsqleditorfactory.html diff --git a/doc/man/man3/tqsqlerror.3qt b/doc/man/man3/tqsqlerror.3qt index ad846e4a9..560069030 100644 --- a/doc/man/man3/tqsqlerror.3qt +++ b/doc/man/man3/tqsqlerror.3qt @@ -17,10 +17,10 @@ TQSqlError \- SQL database error information .BI "enum \fBType\fR { None, Connection, Statement, Transaction, Unknown }" .br .ti -1c -.BI "\fBQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" +.BI "\fBTQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" .br .ti -1c -.BI "\fBQSqlError\fR ( const TQSqlError & other )" +.BI "\fBTQSqlError\fR ( const TQSqlError & other )" .br .ti -1c .BI "TQSqlError & \fBoperator=\fR ( const TQSqlError & other )" @@ -69,15 +69,15 @@ See also Database Classes. .SH "TQSqlError::Type" This enum type describes the type of SQL error that occurred. .TP -\fCQSqlError::None\fR - no error occurred +\fCTQSqlError::None\fR - no error occurred .TP -\fCQSqlError::Connection\fR - connection error +\fCTQSqlError::Connection\fR - connection error .TP -\fCQSqlError::Statement\fR - SQL statement syntax error +\fCTQSqlError::Statement\fR - SQL statement syntax error .TP -\fCQSqlError::Transaction\fR - transaction failed error +\fCTQSqlError::Transaction\fR - transaction failed error .TP -\fCQSqlError::Unknown\fR - unknown error +\fCTQSqlError::Unknown\fR - unknown error .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSqlError::TQSqlError ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" Constructs an error containing the driver error text \fIdriverText\fR, the database-specific error text \fIdatabaseText\fR, the type \fItype\fR and the optional error number \fInumber\fR. diff --git a/doc/man/man3/tqsqlfield.3qt b/doc/man/man3/tqsqlfield.3qt index c5c484b09..f2dd8c441 100644 --- a/doc/man/man3/tqsqlfield.3qt +++ b/doc/man/man3/tqsqlfield.3qt @@ -14,10 +14,10 @@ TQSqlField \- Manipulates the fields in SQL database tables and views .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" +.BI "\fBTQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" .br .ti -1c -.BI "\fBQSqlField\fR ( const TQSqlField & other )" +.BI "\fBTQSqlField\fR ( const TQSqlField & other )" .br .ti -1c .BI "TQSqlField & \fBoperator=\fR ( const TQSqlField & other )" diff --git a/doc/man/man3/tqsqlfieldinfo.3qt b/doc/man/man3/tqsqlfieldinfo.3qt index fb0333b7c..de45e1941 100644 --- a/doc/man/man3/tqsqlfieldinfo.3qt +++ b/doc/man/man3/tqsqlfieldinfo.3qt @@ -14,13 +14,13 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" +.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )" +.BI "\fBTQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQSqlField & other, bool generated = TRUE )" +.BI "\fBTQSqlFieldInfo\fR ( const TQSqlField & other, bool generated = TRUE )" .br .ti -1c .BI "virtual \fB~TQSqlFieldInfo\fR ()" diff --git a/doc/man/man3/tqsqlform.3qt b/doc/man/man3/tqsqlform.3qt index 3af3402ea..73d2a1bfd 100644 --- a/doc/man/man3/tqsqlform.3qt +++ b/doc/man/man3/tqsqlform.3qt @@ -16,7 +16,7 @@ Inherits TQObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlForm\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlForm\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlForm\fR ()" diff --git a/doc/man/man3/tqsqlindex.3qt b/doc/man/man3/tqsqlindex.3qt index b226b887a..e66ca49cc 100644 --- a/doc/man/man3/tqsqlindex.3qt +++ b/doc/man/man3/tqsqlindex.3qt @@ -16,10 +16,10 @@ Inherits TQSqlRecord. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlIndex\fR ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" +.BI "\fBTQSqlIndex\fR ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" .br .ti -1c -.BI "\fBQSqlIndex\fR ( const TQSqlIndex & other )" +.BI "\fBTQSqlIndex\fR ( const TQSqlIndex & other )" .br .ti -1c .BI "\fB~TQSqlIndex\fR ()" diff --git a/doc/man/man3/tqsqlpropertymap.3qt b/doc/man/man3/tqsqlpropertymap.3qt index ec88742a6..8dd222df2 100644 --- a/doc/man/man3/tqsqlpropertymap.3qt +++ b/doc/man/man3/tqsqlpropertymap.3qt @@ -14,7 +14,7 @@ TQSqlPropertyMap \- Used to map widgets to SQL fields .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlPropertyMap\fR ()" +.BI "\fBTQSqlPropertyMap\fR ()" .br .ti -1c .BI "virtual \fB~TQSqlPropertyMap\fR ()" @@ -138,7 +138,7 @@ Insert a new classname/property pair, which is used for custom SQL field editors .PP Example: sql/overview/custom1/main.cpp. .SH "void TQSqlPropertyMap::installDefaultMap ( TQSqlPropertyMap * map )\fC [static]\fR" -Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fIQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR +Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fITQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR .SH "QVariant TQSqlPropertyMap::property ( TQWidget * widget )" Returns the mapped property of \fIwidget\fR as a QVariant. .SH "void TQSqlPropertyMap::remove ( const TQString & classname )" diff --git a/doc/man/man3/tqsqlquery.3qt b/doc/man/man3/tqsqlquery.3qt index 85fa5f032..d77a24120 100644 --- a/doc/man/man3/tqsqlquery.3qt +++ b/doc/man/man3/tqsqlquery.3qt @@ -16,16 +16,16 @@ Inherited by TQSqlCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlQuery\fR ( TQSqlResult * r )" +.BI "\fBTQSqlQuery\fR ( TQSqlResult * r )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlQuery\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "explicit \fBQSqlQuery\fR ( TQSqlDatabase * db )" +.BI "explicit \fBTQSqlQuery\fR ( TQSqlDatabase * db )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const TQSqlQuery & other )" +.BI "\fBTQSqlQuery\fR ( const TQSqlQuery & other )" .br .ti -1c .BI "TQSqlQuery & \fBoperator=\fR ( const TQSqlQuery & other )" diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt index fa095195f..3d66d0005 100644 --- a/doc/man/man3/tqsqlrecord.3qt +++ b/doc/man/man3/tqsqlrecord.3qt @@ -16,10 +16,10 @@ Inherited by TQSqlCursor and TQSqlIndex. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlRecord\fR ()" +.BI "\fBTQSqlRecord\fR ()" .br .ti -1c -.BI "\fBQSqlRecord\fR ( const TQSqlRecord & other )" +.BI "\fBTQSqlRecord\fR ( const TQSqlRecord & other )" .br .ti -1c .BI "TQSqlRecord & \fBoperator=\fR ( const TQSqlRecord & other )" diff --git a/doc/man/man3/tqsqlrecordinfo.3qt b/doc/man/man3/tqsqlrecordinfo.3qt index 7b5a74324..78b21788d 100644 --- a/doc/man/man3/tqsqlrecordinfo.3qt +++ b/doc/man/man3/tqsqlrecordinfo.3qt @@ -14,13 +14,13 @@ TQSqlRecordInfo \- Encapsulates a set of database field meta data .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlRecordInfo\fR ()" +.BI "\fBTQSqlRecordInfo\fR ()" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const TQSqlFieldInfoList & other )" +.BI "\fBTQSqlRecordInfo\fR ( const TQSqlFieldInfoList & other )" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const TQSqlRecord & other )" +.BI "\fBTQSqlRecordInfo\fR ( const TQSqlRecord & other )" .br .ti -1c .BI "size_type \fBcontains\fR ( const TQString & fieldName ) const" diff --git a/doc/man/man3/tqsqlresult.3qt b/doc/man/man3/tqsqlresult.3qt index 7f3bf88ae..06cd05a44 100644 --- a/doc/man/man3/tqsqlresult.3qt +++ b/doc/man/man3/tqsqlresult.3qt @@ -20,7 +20,7 @@ TQSqlResult \- Abstract interface for accessing data from SQL databases .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQSqlResult\fR ( const TQSqlDriver * db )" +.BI "\fBTQSqlResult\fR ( const TQSqlDriver * db )" .br .ti -1c .BI "int \fBat\fR () const" diff --git a/doc/man/man3/tqsqlselectcursor.3qt b/doc/man/man3/tqsqlselectcursor.3qt index 231287936..b9f5e9473 100644 --- a/doc/man/man3/tqsqlselectcursor.3qt +++ b/doc/man/man3/tqsqlselectcursor.3qt @@ -16,10 +16,10 @@ Inherits TQSqlCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlSelectCursor\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const TQSqlSelectCursor & other )" +.BI "\fBTQSqlSelectCursor\fR ( const TQSqlSelectCursor & other )" .br .ti -1c .BI "\fB~TQSqlSelectCursor\fR ()" diff --git a/doc/man/man3/tqxmlattributes.3qt b/doc/man/man3/tqxmlattributes.3qt index ab0be284b..303bec93f 100644 --- a/doc/man/man3/tqxmlattributes.3qt +++ b/doc/man/man3/tqxmlattributes.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlAttributes 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlAttributes 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QXmlAttributes \- XML attributes +TQXmlAttributes \- XML attributes .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlAttributes\fR ()" +.BI "\fBTQXmlAttributes\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlAttributes\fR ()" +.BI "virtual \fB~TQXmlAttributes\fR ()" .br .ti -1c .BI "int \fBindex\fR ( const TQString & qName ) const" @@ -68,35 +68,35 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlAttributes class provides XML attributes. +The TQXmlAttributes class provides XML attributes. .PP -If attributes are reported by QXmlContentHandler::startElement() this class is used to pass the attribute values. +If attributes are reported by TQXmlContentHandler::startElement() this class is used to pass the attribute values. .PP Use index() to locate the position of an attribute in the list, count() to retrieve the number of attributes, and clear() to remove the attributes. New attributes can be added with append(). Use type() to get an attribute's type and value() to get its value. The attribute's name is available from localName() or qName(), and its namespace URI from uri(). .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlAttributes::QXmlAttributes ()" +.SH "TQXmlAttributes::TQXmlAttributes ()" Constructs an empty attribute list. -.SH "QXmlAttributes::~QXmlAttributes ()\fC [virtual]\fR" +.SH "TQXmlAttributes::~TQXmlAttributes ()\fC [virtual]\fR" Destroys the attributes object. -.SH "void QXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )" +.SH "void TQXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )" Appends a new attribute entry to the list of attributes. The qualified name of the attribute is \fIqName\fR, the namespace URI is \fIuri\fR and the local name is \fIlocalPart\fR. The value of the attribute is \fIvalue\fR. .PP See also qName(), uri(), localName(), and value(). -.SH "void QXmlAttributes::clear ()" +.SH "void TQXmlAttributes::clear ()" Clears the list of attributes. .PP See also append(). -.SH "int QXmlAttributes::count () const" +.SH "int TQXmlAttributes::count () const" Returns the number of attributes in the list. This function is equivalent to length(). -.SH "int QXmlAttributes::index ( const TQString & qName ) const" +.SH "int TQXmlAttributes::index ( const TQString & qName ) const" Looks up the index of an attribute by the qualified name \fIqName\fR. .PP Returns the index of the attribute or -1 if it wasn't found. .PP See also the namespace description. -.SH "int QXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const" +.SH "int TQXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up the index of an attribute by a namespace name. @@ -106,33 +106,33 @@ Looks up the index of an attribute by a namespace name. Returns the index of the attribute, or -1 if it wasn't found. .PP See also the namespace description. -.SH "int QXmlAttributes::length () const" +.SH "int TQXmlAttributes::length () const" Returns the number of attributes in the list. .PP See also count(). .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::localName ( int index ) const" +.SH "TQString TQXmlAttributes::localName ( int index ) const" Looks up an attribute's local name for the attribute at position \fIindex\fR. If no namespace processing is done, the local name is TQString::null. .PP See also the namespace description. -.SH "TQString QXmlAttributes::qName ( int index ) const" +.SH "TQString TQXmlAttributes::qName ( int index ) const" Looks up an attribute's XML 1.0 qualified name for the attribute at position \fIindex\fR. .PP See also the namespace description. .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::type ( int index ) const" +.SH "TQString TQXmlAttributes::type ( int index ) const" Looks up an attribute's type for the attribute at position \fIindex\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::type ( const TQString & qName ) const" +.SH "TQString TQXmlAttributes::type ( const TQString & qName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's type for the qualified name \fIqName\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::type ( const TQString & uri, const TQString & localName ) const" +.SH "TQString TQXmlAttributes::type ( const TQString & uri, const TQString & localName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's type by namespace name. @@ -140,21 +140,21 @@ Looks up an attribute's type by namespace name. \fIuri\fR specifies the namespace URI and \fIlocalName\fR specifies the local name. If the name has no namespace URI, use an empty string for \fIuri\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::uri ( int index ) const" +.SH "TQString TQXmlAttributes::uri ( int index ) const" Looks up an attribute's namespace URI for the attribute at position \fIindex\fR. If no namespace processing is done or if the attribute has no namespace, the namespace URI is TQString::null. .PP See also the namespace description. .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::value ( int index ) const" +.SH "TQString TQXmlAttributes::value ( int index ) const" Looks up an attribute's value for the attribute at position \fIindex\fR. -.SH "TQString QXmlAttributes::value ( const TQString & qName ) const" +.SH "TQString TQXmlAttributes::value ( const TQString & qName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's value for the qualified name \fIqName\fR. .PP See also the namespace description. -.SH "TQString QXmlAttributes::value ( const TQString & uri, const TQString & localName ) const" +.SH "TQString TQXmlAttributes::value ( const TQString & uri, const TQString & localName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's value by namespace name. @@ -164,7 +164,7 @@ Looks up an attribute's value by namespace name. See also the namespace description. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlattributes.html +.BR http://doc.trolltech.com/tqxmlattributes.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlcontenthandler.3qt b/doc/man/man3/tqxmlcontenthandler.3qt index bd5dee5fa..f42807693 100644 --- a/doc/man/man3/tqxmlcontenthandler.3qt +++ b/doc/man/man3/tqxmlcontenthandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlContentHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlContentHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,18 +7,18 @@ .ad l .nh .SH NAME -QXmlContentHandler \- Interface to report the logical content of XML data +TQXmlContentHandler \- Interface to report the logical content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual void \fBsetDocumentLocator\fR ( QXmlLocator * locator ) = 0" +.BI "virtual void \fBsetDocumentLocator\fR ( TQXmlLocator * locator ) = 0" .br .ti -1c .BI "virtual bool \fBstartDocument\fR () = 0" @@ -33,7 +33,7 @@ Inherited by QXmlDefaultHandler. .BI "virtual bool \fBendPrefixMapping\fR ( const TQString & prefix ) = 0" .br .ti -1c -.BI "virtual bool \fBstartElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const QXmlAttributes & atts ) = 0" +.BI "virtual bool \fBstartElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) = 0" .br .ti -1c .BI "virtual bool \fBendElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) = 0" @@ -55,35 +55,35 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlContentHandler class provides an interface to report the logical content of XML data. +The TQXmlContentHandler class provides an interface to report the logical content of XML data. .PP -If the application needs to be informed of basic parsing events, it can implement this interface and activate it using QXmlReader::setContentHandler(). The reader can then report basic document-related events like the start and end of elements and character data through this interface. +If the application needs to be informed of basic parsing events, it can implement this interface and activate it using TQXmlReader::setContentHandler(). The reader can then report basic document-related events like the start and end of elements and character data through this interface. .PP The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, all of an element's content (character data, processing instructions, and sub-elements) appears, in order, between the startElement() event and the corresponding endElement() event. .PP -The class QXmlDefaultHandler provides a default implementation for this interface; subclassing from the QXmlDefaultHandler class is very convenient if you only want to be informed of some parsing events. +The class TQXmlDefaultHandler provides a default implementation for this interface; subclassing from the TQXmlDefaultHandler class is very convenient if you only want to be informed of some parsing events. .PP The startDocument() function is called at the start of the document, and endDocument() is called at the end. Before parsing begins setDocumentLocator() is called. For each element startElement() is called, with endElement() being called at the end of each element. The characters() function is called with chunks of character data; ignorableWhitespace() is called with chunks of whitespace and processingInstruction() is called with processing instructions. If an entity is skipped skippedEntity() is called. At the beginning of prefix-URI scopes startPrefixMapping() is called. .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlContentHandler::characters ( const TQString & ch )\fC [pure virtual]\fR" -The reader calls this function when it has parsed a chunk of character data (either normal character data or character data inside a CDATA section; if you need to distinguish between those two types you must use QXmlLexicalHandler::startCDATA() and QXmlLexicalHandler::endCDATA()). The character data is reported in \fIch\fR. +.SH "bool TQXmlContentHandler::characters ( const TQString & ch )\fC [pure virtual]\fR" +The reader calls this function when it has parsed a chunk of character data (either normal character data or character data inside a CDATA section; if you need to distinguish between those two types you must use TQXmlLexicalHandler::startCDATA() and TQXmlLexicalHandler::endCDATA()). The character data is reported in \fIch\fR. .PP Some readers report whitespace in element content using the ignorableWhitespace() function rather than using this one. .PP A reader may report the character data of an element in more than one chunk; e.g. a reader might want to report "a\fR) cause a startElement() call to be immediately followed by an endElement() call. @@ -145,7 +145,7 @@ See also the namespace description. See also endElement(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri )\fC [pure virtual]\fR" The reader calls this function to signal the begin of a prefix-URI namespace mapping scope. This information is not necessary for normal namespace processing since the reader automatically replaces prefixes for element and attribute names. .PP Note that startPrefixMapping() and endPrefixMapping() calls are not guaranteed to be properly nested relative to each other: all startPrefixMapping() events occur before the corresponding startElement() event, and all endPrefixMapping() events occur after the corresponding endElement() event, but their order is not otherwise guaranteed. @@ -159,7 +159,7 @@ See also the namespace description. See also endPrefixMapping(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlcontenthandler.html +.BR http://doc.trolltech.com/tqxmlcontenthandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldeclhandler.3qt b/doc/man/man3/tqxmldeclhandler.3qt index c2de08024..719f78fc5 100644 --- a/doc/man/man3/tqxmldeclhandler.3qt +++ b/doc/man/man3/tqxmldeclhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDeclHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDeclHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QXmlDeclHandler \- Interface to report declaration content of XML data +TQXmlDeclHandler \- Interface to report declaration content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -31,9 +31,9 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlDeclHandler class provides an interface to report declaration content of XML data. +The TQXmlDeclHandler class provides an interface to report declaration content of XML data. .PP -You can set the declaration handler with QXmlReader::setDeclHandler(). +You can set the declaration handler with TQXmlReader::setDeclHandler(). .PP This interface is based on the SAX2 extension DeclHandler. .PP @@ -41,23 +41,23 @@ The interface provides attributeDecl(), internalEntityDecl() and externalEntityD .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value )\fC [pure virtual]\fR" The reader calls this function to report an attribute type declaration. Only the effective (first) declaration for an attribute is reported. .PP The reader passes the name of the associated element in \fIeName\fR and the name of the attribute in \fIaName\fR. It passes a string that represents the attribute type in \fItype\fR and a string that represents the attribute default in \fIvalueDefault\fR. This string is one of "#IMPLIED", "#REQUIRED", "#FIXED" or TQString::null (if none of the others applies). The reader passes the attribute's default value in \fIvalue\fR. If no default value is specified in the XML file, \fIvalue\fR is TQString::null. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "TQString QXmlDeclHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlDeclHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function to report a parsed external entity declaration. Only the effective (first) declaration for each entity is reported. .PP The reader passes the name of the entity in \fIname\fR, the public identifier in \fIpublicId\fR and the system identifier in \fIsystemId\fR. If there is no public identifier specified, it passes TQString::null in \fIpublicId\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value )\fC [pure virtual]\fR" The reader calls this function to report an internal entity declaration. Only the effective (first) declaration is reported. .PP The reader passes the name of the entity in \fIname\fR and the value of the entity in \fIvalue\fR. @@ -67,7 +67,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldeclhandler.html +.BR http://doc.trolltech.com/tqxmldeclhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldefaulthandler.3qt b/doc/man/man3/tqxmldefaulthandler.3qt index 621cf85ba..7252f91d8 100644 --- a/doc/man/man3/tqxmldefaulthandler.3qt +++ b/doc/man/man3/tqxmldefaulthandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDefaultHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDefaultHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,39 +7,39 @@ .ad l .nh .SH NAME -QXmlDefaultHandler \- Default implementation of all the XML handler classes +TQXmlDefaultHandler \- Default implementation of all the XML handler classes .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, and QXmlDeclHandler. +Inherits TQXmlContentHandler, TQXmlErrorHandler, TQXmlDTDHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and TQXmlDeclHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlDefaultHandler\fR ()" +.BI "\fBTQXmlDefaultHandler\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlDefaultHandler\fR ()" +.BI "virtual \fB~TQXmlDefaultHandler\fR ()" .br .in -1c .SH DESCRIPTION -The QXmlDefaultHandler class provides a default implementation of all the XML handler classes. +The TQXmlDefaultHandler class provides a default implementation of all the XML handler classes. .PP Very often we are only interested in parts of the things that the reader reports. This class implements a default behaviour for the handler classes (i.e. most of the time do nothing). Usually this is the class you subclass for implementing your own customized handler. .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlDefaultHandler::QXmlDefaultHandler ()" +.SH "TQXmlDefaultHandler::TQXmlDefaultHandler ()" Constructor. -.SH "QXmlDefaultHandler::~QXmlDefaultHandler ()\fC [virtual]\fR" +.SH "TQXmlDefaultHandler::~TQXmlDefaultHandler ()\fC [virtual]\fR" Destructor. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldefaulthandler.html +.BR http://doc.trolltech.com/tqxmldefaulthandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldtdhandler.3qt b/doc/man/man3/tqxmldtdhandler.3qt index b4401ba18..97c2c34de 100644 --- a/doc/man/man3/tqxmldtdhandler.3qt +++ b/doc/man/man3/tqxmldtdhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDTDHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDTDHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QXmlDTDHandler \- Interface to report DTD content of XML data +TQXmlDTDHandler \- Interface to report DTD content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -28,25 +28,25 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlDTDHandler class provides an interface to report DTD content of XML data. +The TQXmlDTDHandler class provides an interface to report DTD content of XML data. .PP -If an application needs information about notations and unparsed entities, it can implement this interface and register an instance with QXmlReader::setDTDHandler(). +If an application needs information about notations and unparsed entities, it can implement this interface and register an instance with TQXmlReader::setDTDHandler(). .PP Note that this interface includes only those DTD events that the XML recommendation requires processors to report, i.e. notation and unparsed entity declarations using notationDecl() and unparsedEntityDecl() respectively. .PP See also the Introduction to SAX2. .PP -See also QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQString QXmlDTDHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlDTDHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function when it has parsed a notation declaration. .PP The argument \fIname\fR is the notation name, \fIpublicId\fR is the notation's public identifier and \fIsystemId\fR is the notation's system identifier. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName )\fC [pure virtual]\fR" +.SH "bool TQXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName )\fC [pure virtual]\fR" The reader calls this function when it finds an unparsed entity declaration. .PP The argument \fIname\fR is the unparsed entity's name, \fIpublicId\fR is the entity's public identifier, \fIsystemId\fR is the entity's system identifier and \fInotationName\fR is the name of the associated notation. @@ -56,7 +56,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldtdhandler.html +.BR http://doc.trolltech.com/tqxmldtdhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlentityresolver.3qt b/doc/man/man3/tqxmlentityresolver.3qt index d44cb2dc9..6143f0762 100644 --- a/doc/man/man3/tqxmlentityresolver.3qt +++ b/doc/man/man3/tqxmlentityresolver.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlEntityResolver 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlEntityResolver 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,35 +7,35 @@ .ad l .nh .SH NAME -QXmlEntityResolver \- Interface to resolve external entities contained in XML data +TQXmlEntityResolver \- Interface to resolve external entities contained in XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual bool \fBresolveEntity\fR ( const TQString & publicId, const TQString & systemId, QXmlInputSource *& ret ) = 0" +.BI "virtual bool \fBresolveEntity\fR ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) = 0" .br .ti -1c .BI "virtual TQString \fBerrorString\fR () = 0" .br .in -1c .SH DESCRIPTION -The QXmlEntityResolver class provides an interface to resolve external entities contained in XML data. +The TQXmlEntityResolver class provides an interface to resolve external entities contained in XML data. .PP -If an application needs to implement customized handling for external entities, it must implement this interface, i.e. resolveEntity(), and register it with QXmlReader::setEntityResolver(). +If an application needs to implement customized handling for external entities, it must implement this interface, i.e. resolveEntity(), and register it with TQXmlReader::setEntityResolver(). .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQString QXmlEntityResolver::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlEntityResolver::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, QXmlInputSource *& ret )\fC [pure virtual]\fR" +.SH "bool TQXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret )\fC [pure virtual]\fR" The reader calls this function before it opens any external entity, except the top-level document entity. The application may request the reader to resolve the entity itself (\fIret\fR is 0) or to use an entirely different input source (\fIret\fR points to the input source). .PP The reader deletes the input source \fIret\fR when it no longer needs it, so you should allocate it on the heap with \fCnew\fR. @@ -47,7 +47,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlentityresolver.html +.BR http://doc.trolltech.com/tqxmlentityresolver.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlerrorhandler.3qt b/doc/man/man3/tqxmlerrorhandler.3qt index a928ba9f6..15f4cc73d 100644 --- a/doc/man/man3/tqxmlerrorhandler.3qt +++ b/doc/man/man3/tqxmlerrorhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlErrorHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlErrorHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,55 +7,55 @@ .ad l .nh .SH NAME -QXmlErrorHandler \- Interface to report errors in XML data +TQXmlErrorHandler \- Interface to report errors in XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual bool \fBwarning\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBwarning\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c -.BI "virtual bool \fBerror\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBerror\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c -.BI "virtual bool \fBfatalError\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBfatalError\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c .BI "virtual TQString \fBerrorString\fR () = 0" .br .in -1c .SH DESCRIPTION -The QXmlErrorHandler class provides an interface to report errors in XML data. +The TQXmlErrorHandler class provides an interface to report errors in XML data. .PP If you want your application to report errors to the user or to perform customized error handling, you should subclass this class. .PP -You can set the error handler with QXmlReader::setErrorHandler(). +You can set the error handler with TQXmlReader::setErrorHandler(). .PP Errors can be reported using warning(), error() and fatalError(), with the error text being reported with errorString(). .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlErrorHandler::error ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::error ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader might use this function to report a recoverable error. A recoverable error corresponds to the definiton of "error" in section 1.2 of the XML 1.0 specification. Details of the error are stored in \fIexception\fR. .PP The reader must continue to provide normal parsing events after invoking this function. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "TQString QXmlErrorHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlErrorHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlErrorHandler::fatalError ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::fatalError ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader must use this function to report a non-recoverable error. Details of the error are stored in \fIexception\fR. .PP If this function returns TRUE the reader might try to go on parsing and reporting further errors; but no regular parsing events are reported. -.SH "bool QXmlErrorHandler::warning ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::warning ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader might use this function to report a warning. Warnings are conditions that are not errors or fatal errors as defined by the XML 1.0 specification. Details of the warning are stored in \fIexception\fR. .PP If this function returns FALSE the reader stops parsing and @@ -63,7 +63,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlerrorhandler.html +.BR http://doc.trolltech.com/tqxmlerrorhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlinputsource.3qt b/doc/man/man3/tqxmlinputsource.3qt index bdfc2d890..5801fb582 100644 --- a/doc/man/man3/tqxmlinputsource.3qt +++ b/doc/man/man3/tqxmlinputsource.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlInputSource 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlInputSource 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,28 +7,28 @@ .ad l .nh .SH NAME -QXmlInputSource \- The input data for the QXmlReader subclasses +TQXmlInputSource \- The input data for the TQXmlReader subclasses .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlInputSource\fR ()" +.BI "\fBTQXmlInputSource\fR ()" .br .ti -1c -.BI "\fBQXmlInputSource\fR ( TQIODevice * dev )" +.BI "\fBTQXmlInputSource\fR ( TQIODevice * dev )" .br .ti -1c -.BI "QXmlInputSource ( QFile & file ) \fI(obsolete)\fR" +.BI "TQXmlInputSource ( QFile & file ) \fI(obsolete)\fR" .br .ti -1c -.BI "QXmlInputSource ( QTextStream & stream ) \fI(obsolete)\fR" +.BI "TQXmlInputSource ( QTextStream & stream ) \fI(obsolete)\fR" .br .ti -1c -.BI "virtual \fB~QXmlInputSource\fR ()" +.BI "virtual \fB~TQXmlInputSource\fR ()" .br .ti -1c .BI "virtual void \fBsetData\fR ( const TQString & dat )" @@ -56,45 +56,45 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlInputSource class provides the input data for the QXmlReader subclasses. +The TQXmlInputSource class provides the input data for the TQXmlReader subclasses. .PP -All subclasses of QXmlReader read the input XML document from this class. +All subclasses of TQXmlReader read the input XML document from this class. .PP This class recognizes the encoding of the data by reading the encoding declaration in the XML file if it finds one, and reading the data using the corresponding encoding. If it does not find an encoding declaration, then it assumes that the data is either in UTF-8 or UTF-16, depending on whether it can find a byte-order mark. .PP There are two ways to populate the input source with data: you can construct it with a TQIODevice* so that the input source reads the data from that device. Or you can set the data explicitly with one of the setData() functions. .PP -Usually you either construct a QXmlInputSource that works on a TQIODevice* or you construct an empty QXmlInputSource and set the data with setData(). There are only rare occasions where you would want to mix both methods. +Usually you either construct a TQXmlInputSource that works on a TQIODevice* or you construct an empty TQXmlInputSource and set the data with setData(). There are only rare occasions where you would want to mix both methods. .PP -The QXmlReader subclasses use the next() function to read the input character by character. If you want to start from the beginning again, use reset(). +The TQXmlReader subclasses use the next() function to read the input character by character. If you want to start from the beginning again, use reset(). .PP -The functions data() and fetchData() are useful if you want to do something with the data other than parsing, e.g. displaying the raw XML file. The benefit of using the QXmlInputClass in such cases is that it tries to use the correct encoding. +The functions data() and fetchData() are useful if you want to do something with the data other than parsing, e.g. displaying the raw XML file. The benefit of using the TQXmlInputClass in such cases is that it tries to use the correct encoding. .PP -See also QXmlReader, QXmlSimpleReader, and XML. +See also TQXmlReader, TQXmlSimpleReader, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlInputSource::QXmlInputSource ()" +.SH "TQXmlInputSource::TQXmlInputSource ()" Constructs an input source which contains no data. .PP See also setData(). -.SH "QXmlInputSource::QXmlInputSource ( TQIODevice * dev )" +.SH "TQXmlInputSource::TQXmlInputSource ( TQIODevice * dev )" Constructs an input source and gets the data from device \fIdev\fR. If \fIdev\fR is not open, it is opened in read-only mode. If \fIdev\fR is 0 or it is not possible to read from the device, the input source will contain no data. .PP See also setData(), fetchData(), and TQIODevice. -.SH "QXmlInputSource::QXmlInputSource ( QFile & file )" +.SH "TQXmlInputSource::TQXmlInputSource ( QFile & file )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs an input source and gets the data from the file \fIfile\fR. If the file cannot be read the input source is empty. -.SH "QXmlInputSource::QXmlInputSource ( QTextStream & stream )" +.SH "TQXmlInputSource::TQXmlInputSource ( QTextStream & stream )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs an input source and gets the data from the text stream \fIstream\fR. -.SH "QXmlInputSource::~QXmlInputSource ()\fC [virtual]\fR" +.SH "TQXmlInputSource::~TQXmlInputSource ()\fC [virtual]\fR" Destructor. -.SH "TQString QXmlInputSource::data ()\fC [virtual]\fR" +.SH "TQString TQXmlInputSource::data ()\fC [virtual]\fR" Returns the data the input source contains or TQString::null if the input source does not contain any data. .PP -See also setData(), QXmlInputSource(), and fetchData(). -.SH "void QXmlInputSource::fetchData ()\fC [virtual]\fR" +See also setData(), TQXmlInputSource(), and fetchData(). +.SH "void TQXmlInputSource::fetchData ()\fC [virtual]\fR" This function reads more data from the device that was set during construction. If the input source already contained data, this function deletes that data first. .PP This object contains no data after a call to this function if the object was constructed without a device to read data from or if this function was not able to get more data from the device. @@ -103,35 +103,35 @@ There are two occasions where a fetch is done implicitly by another function cal .PP You don't normally need to use this function if you use next(). .PP -See also data(), next(), and QXmlInputSource(). -.SH "TQString QXmlInputSource::fromRawData ( const QByteArray & data, bool beginning = FALSE )\fC [virtual protected]\fR" +See also data(), next(), and TQXmlInputSource(). +.SH "TQString TQXmlInputSource::fromRawData ( const QByteArray & data, bool beginning = FALSE )\fC [virtual protected]\fR" This function reads the XML file from \fIdata\fR and tries to recognize the encoding. It converts the raw data \fIdata\fR into a TQString and returns it. It tries its best to get the correct encoding for the XML file. .PP If \fIbeginning\fR is TRUE, this function assumes that the data starts at the beginning of a new XML document and looks for an encoding declaration. If \fIbeginning\fR is FALSE, it converts the raw data using the encoding determined from prior calls. -.SH "TQChar QXmlInputSource::next ()\fC [virtual]\fR" -Returns the next character of the input source. If this function reaches the end of available data, it returns QXmlInputSource::EndOfData. If you call next() after that, it tries to fetch more data by calling fetchData(). If the fetchData() call results in new data, this function returns the first character of that data; otherwise it returns QXmlInputSource::EndOfDocument. +.SH "TQChar TQXmlInputSource::next ()\fC [virtual]\fR" +Returns the next character of the input source. If this function reaches the end of available data, it returns TQXmlInputSource::EndOfData. If you call next() after that, it tries to fetch more data by calling fetchData(). If the fetchData() call results in new data, this function returns the first character of that data; otherwise it returns TQXmlInputSource::EndOfDocument. .PP -See also reset(), fetchData(), QXmlSimpleReader::parse(), and QXmlSimpleReader::parseContinue(). -.SH "void QXmlInputSource::reset ()\fC [virtual]\fR" +See also reset(), fetchData(), TQXmlSimpleReader::parse(), and TQXmlSimpleReader::parseContinue(). +.SH "void TQXmlInputSource::reset ()\fC [virtual]\fR" This function sets the position used by next() to the beginning of the data returned by data(). This is useful if you want to use the input source for more than one parse. .PP See also next(). .PP Example: xml/tagreader-with-features/tagreader.cpp. -.SH "void QXmlInputSource::setData ( const TQString & dat )\fC [virtual]\fR" +.SH "void TQXmlInputSource::setData ( const TQString & dat )\fC [virtual]\fR" Sets the data of the input source to \fIdat\fR. .PP If the input source already contains data, this function deletes that data first. .PP See also data(). -.SH "void QXmlInputSource::setData ( const QByteArray & dat )\fC [virtual]\fR" +.SH "void TQXmlInputSource::setData ( const QByteArray & dat )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP The data \fIdat\fR is passed through the correct text-codec, before it is set. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlinputsource.html +.BR http://doc.trolltech.com/tqxmlinputsource.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmllexicalhandler.3qt b/doc/man/man3/tqxmllexicalhandler.3qt index 7b9b5712a..888126ff6 100644 --- a/doc/man/man3/tqxmllexicalhandler.3qt +++ b/doc/man/man3/tqxmllexicalhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlLexicalHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlLexicalHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QXmlLexicalHandler \- Interface to report the lexical content of XML data +TQXmlLexicalHandler \- Interface to report the lexical content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -43,11 +43,11 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlLexicalHandler class provides an interface to report the lexical content of XML data. +The TQXmlLexicalHandler class provides an interface to report the lexical content of XML data. .PP The events in the lexical handler apply to the entire document, not just to the document element, and all lexical handler events appear between the content handler's startDocument and endDocument events. .PP -You can set the lexical handler with QXmlReader::setLexicalHandler(). +You can set the lexical handler with TQXmlReader::setLexicalHandler(). .PP This interface's design is based on the the SAX2 extension LexicalHandler. .PP @@ -55,61 +55,61 @@ The interface provides the startDTD(), endDTD(), startEntity(), endEntity(), sta .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlLexicalHandler::comment ( const TQString & ch )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::comment ( const TQString & ch )\fC [pure virtual]\fR" The reader calls this function to report an XML comment anywhere in the document. It reports the text of the comment in \fIch\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlLexicalHandler::endCDATA ()\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::endCDATA ()\fC [pure virtual]\fR" The reader calls this function to report the end of a CDATA section. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also startCDATA() and QXmlContentHandler::characters(). -.SH "bool QXmlLexicalHandler::endDTD ()\fC [pure virtual]\fR" +See also startCDATA() and TQXmlContentHandler::characters(). +.SH "bool TQXmlLexicalHandler::endDTD ()\fC [pure virtual]\fR" The reader calls this function to report the end of a DTD declaration, if any. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also startDTD(). -.SH "bool QXmlLexicalHandler::endEntity ( const TQString & name )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::endEntity ( const TQString & name )\fC [pure virtual]\fR" The reader calls this function to report the end of an entity called \fIname\fR. .PP For every startEntity() call, there is a corresponding endEntity() call. The calls to startEntity() and endEntity() are properly nested. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also startEntity(), QXmlContentHandler::skippedEntity(), and QXmlSimpleReader::setFeature(). -.SH "TQString QXmlLexicalHandler::errorString ()\fC [pure virtual]\fR" +See also startEntity(), TQXmlContentHandler::skippedEntity(), and TQXmlSimpleReader::setFeature(). +.SH "TQString TQXmlLexicalHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlLexicalHandler::startCDATA ()\fC [pure virtual]\fR" -The reader calls this function to report the start of a CDATA section. The content of the CDATA section is reported through the QXmlContentHandler::characters() function. This function is intended only to report the boundary. +.SH "bool TQXmlLexicalHandler::startCDATA ()\fC [pure virtual]\fR" +The reader calls this function to report the start of a CDATA section. The content of the CDATA section is reported through the TQXmlContentHandler::characters() function. This function is intended only to report the boundary. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also endCDATA(). -.SH "bool QXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function to report the start of a DTD declaration, if any. It reports the name of the document type in \fIname\fR, the public identifier in \fIpublicId\fR and the system identifier in \fIsystemId\fR. .PP If the public identifier is missing, \fIpublicId\fR is set to TQString::null. If the system identifier is missing, \fIsystemId\fR is set to TQString::null. Note that it is not valid XML to have a public identifier but no system identifier; in such cases a parse error will occur. .PP -All declarations reported through QXmlDTDHandler or QXmlDeclHandler appear between the startDTD() and endDTD() calls. +All declarations reported through TQXmlDTDHandler or TQXmlDeclHandler appear between the startDTD() and endDTD() calls. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also endDTD(). -.SH "bool QXmlLexicalHandler::startEntity ( const TQString & name )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::startEntity ( const TQString & name )\fC [pure virtual]\fR" The reader calls this function to report the start of an entity called \fIname\fR. .PP -Note that if the entity is unknown, the reader reports it through QXmlContentHandler::skippedEntity() and not through this function. +Note that if the entity is unknown, the reader reports it through TQXmlContentHandler::skippedEntity() and not through this function. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also endEntity() and QXmlSimpleReader::setFeature(). +See also endEntity() and TQXmlSimpleReader::setFeature(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmllexicalhandler.html +.BR http://doc.trolltech.com/tqxmllexicalhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmllocator.3qt b/doc/man/man3/tqxmllocator.3qt index fa3302691..53083deba 100644 --- a/doc/man/man3/tqxmllocator.3qt +++ b/doc/man/man3/tqxmllocator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlLocator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlLocator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QXmlLocator \- The XML handler classes with information about the parsing position within a file +TQXmlLocator \- The XML handler classes with information about the parsing position within a file .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlLocator\fR ()" +.BI "\fBTQXmlLocator\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlLocator\fR ()" +.BI "virtual \fB~TQXmlLocator\fR ()" .br .ti -1c .BI "virtual int \fBcolumnNumber\fR () = 0" @@ -29,24 +29,24 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlLocator class provides the XML handler classes with information about the parsing position within a file. +The TQXmlLocator class provides the XML handler classes with information about the parsing position within a file. .PP -The reader reports a QXmlLocator to the content handler before it starts to parse the document. This is done with the QXmlContentHandler::setDocumentLocator() function. The handler classes can now use this locator to get the position (lineNumber() and columnNumber()) that the reader has reached. +The reader reports a TQXmlLocator to the content handler before it starts to parse the document. This is done with the TQXmlContentHandler::setDocumentLocator() function. The handler classes can now use this locator to get the position (lineNumber() and columnNumber()) that the reader has reached. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlLocator::QXmlLocator ()" +.SH "TQXmlLocator::TQXmlLocator ()" Constructor. -.SH "QXmlLocator::~QXmlLocator ()\fC [virtual]\fR" +.SH "TQXmlLocator::~TQXmlLocator ()\fC [virtual]\fR" Destructor. -.SH "int QXmlLocator::columnNumber ()\fC [pure virtual]\fR" +.SH "int TQXmlLocator::columnNumber ()\fC [pure virtual]\fR" Returns the column number (starting at 1) or -1 if there is no column number available. -.SH "int QXmlLocator::lineNumber ()\fC [pure virtual]\fR" +.SH "int TQXmlLocator::lineNumber ()\fC [pure virtual]\fR" Returns the line number (starting at 1) or -1 if there is no line number available. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmllocator.html +.BR http://doc.trolltech.com/tqxmllocator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlnamespacesupport.3qt b/doc/man/man3/tqxmlnamespacesupport.3qt index 30e1a584e..b324ec291 100644 --- a/doc/man/man3/tqxmlnamespacesupport.3qt +++ b/doc/man/man3/tqxmlnamespacesupport.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlNamespaceSupport 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlNamespaceSupport 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QXmlNamespaceSupport \- Helper class for XML readers which want to include namespace support +TQXmlNamespaceSupport \- Helper class for XML readers which want to include namespace support .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlNamespaceSupport\fR ()" +.BI "\fBTQXmlNamespaceSupport\fR ()" .br .ti -1c -.BI "\fB~QXmlNamespaceSupport\fR ()" +.BI "\fB~TQXmlNamespaceSupport\fR ()" .br .ti -1c .BI "void \fBsetPrefix\fR ( const TQString & pre, const TQString & uri )" @@ -53,7 +53,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. +The TQXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. .PP You can set the prefix for the current namespace with setPrefix(), and get the list of current prefixes (or those for a given URI) with prefixes(). The namespace URI is available from uri(). Use pushContext() to start a new namespace context, and popContext() to return to the previous namespace context. Use splitName() or processName() to split a name into its prefix and local name. .PP @@ -61,23 +61,23 @@ See also the namespace description. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlNamespaceSupport::QXmlNamespaceSupport ()" -Constructs a QXmlNamespaceSupport. -.SH "QXmlNamespaceSupport::~QXmlNamespaceSupport ()" -Destroys a QXmlNamespaceSupport. -.SH "void QXmlNamespaceSupport::popContext ()" +.SH "TQXmlNamespaceSupport::TQXmlNamespaceSupport ()" +Constructs a TQXmlNamespaceSupport. +.SH "TQXmlNamespaceSupport::~TQXmlNamespaceSupport ()" +Destroys a TQXmlNamespaceSupport. +.SH "void TQXmlNamespaceSupport::popContext ()" Reverts to the previous namespace context. .PP Normally, you should pop the context at the end of each XML element. After popping the context, all namespace prefix mappings that were previously in force are restored. .PP See also pushContext(). -.SH "TQString QXmlNamespaceSupport::prefix ( const TQString & uri ) const" +.SH "TQString TQXmlNamespaceSupport::prefix ( const TQString & uri ) const" Returns one of the prefixes mapped to the namespace URI \fIuri\fR. .PP If more than one prefix is currently mapped to the same URI, this function makes an arbitrary selection; if you want all of the prefixes, use prefixes() instead. .PP Note: to check for a default prefix, use the uri() function with an argument of "". -.SH "QStringList QXmlNamespaceSupport::prefixes () const" +.SH "QStringList TQXmlNamespaceSupport::prefixes () const" Returns a list of all the prefixes currently declared. .PP If there is a default prefix, this function does not return it in the list; check for the default prefix using uri() with an argument of "". @@ -99,7 +99,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "QStringList QXmlNamespaceSupport::prefixes ( const TQString & uri ) const" +.SH "QStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of all prefixes currently declared for the namespace URI \fIuri\fR. @@ -125,7 +125,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "void QXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" +.SH "void TQXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" Processes a raw XML 1.0 name in the current context by removing the prefix and looking it up among the prefixes currently declared. .PP \fIqname\fR is the raw XML 1.0 name to be processed. \fIisAttribute\fR is TRUE if the name is an attribute name. @@ -133,29 +133,29 @@ Processes a raw XML 1.0 name in the current context by removing the prefix and l This function stores the namespace URI in \fInsuri\fR (which will be set to TQString::null if the raw name has an undeclared prefix), and stores the local name (without prefix) in \fIlocalname\fR (which will be set to TQString::null if no namespace is in use). .PP Note that attribute names are processed differently than element names: an unprefixed element name gets the default namespace (if any), while an unprefixed element name does not. -.SH "void QXmlNamespaceSupport::pushContext ()" +.SH "void TQXmlNamespaceSupport::pushContext ()" Starts a new namespace context. .PP Normally, you should push a new context at the beginning of each XML element: the new context automatically inherits the declarations of its parent context, and it also keeps track of which declarations were made within this context. .PP See also popContext(). -.SH "void QXmlNamespaceSupport::reset ()" +.SH "void TQXmlNamespaceSupport::reset ()" Resets this namespace support object ready for reuse. -.SH "void QXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri )" +.SH "void TQXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri )" This function declares a prefix \fIpre\fR in the current namespace context to be the namespace URI \fIuri\fR. The prefix remains in force until this context is popped, unless it is shadowed in a descendant context. .PP Note that there is an asymmetry in this library. prefix() does not return the default "" prefix, even if you have declared one; to check for a default prefix, you must look it up explicitly using uri(). This asymmetry exists to make it easier to look up prefixes for attribute names, where the default prefix is not allowed. -.SH "void QXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const" +.SH "void TQXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const" Splits the name \fIqname\fR at the ':' and returns the prefix in \fIprefix\fR and the local name in \fIlocalname\fR. .PP See also processName(). -.SH "TQString QXmlNamespaceSupport::uri ( const TQString & prefix ) const" +.SH "TQString TQXmlNamespaceSupport::uri ( const TQString & prefix ) const" Looks up the prefix \fIprefix\fR in the current context and returns the currently-mapped namespace URI. Use the empty string ("") for the default namespace. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlnamespacesupport.html +.BR http://doc.trolltech.com/tqxmlnamespacesupport.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlparseexception.3qt b/doc/man/man3/tqxmlparseexception.3qt index fe150b236..5161f9fff 100644 --- a/doc/man/man3/tqxmlparseexception.3qt +++ b/doc/man/man3/tqxmlparseexception.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlParseException 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlParseException 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,16 +7,16 @@ .ad l .nh .SH NAME -QXmlParseException \- Used to report errors with the QXmlErrorHandler interface +TQXmlParseException \- Used to report errors with the TQXmlErrorHandler interface .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlParseException\fR ( const TQString & name = """", int c = -1, int l = -1, const TQString & p = """", const TQString & s = """" )" +.BI "\fBTQXmlParseException\fR ( const TQString & name = """", int c = -1, int l = -1, const TQString & p = """", const TQString & s = """" )" .br .ti -1c .BI "int \fBcolumnNumber\fR () const" @@ -35,27 +35,27 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlParseException class is used to report errors with the QXmlErrorHandler interface. +The TQXmlParseException class is used to report errors with the TQXmlErrorHandler interface. .PP The XML subsystem constructs an instance of this class when it detects an error. You can retrieve the place where the error occurred using systemId(), publicId(), lineNumber() and columnNumber(), along with the error message(). .PP -See also QXmlErrorHandler, QXmlReader, and XML. +See also TQXmlErrorHandler, TQXmlReader, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlParseException::QXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" )" +.SH "TQXmlParseException::TQXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" )" Constructs a parse exception with the error string \fIname\fR for column \fIc\fR and line \fIl\fR for the public identifier \fIp\fR and the system identifier \fIs\fR. -.SH "int QXmlParseException::columnNumber () const" +.SH "int TQXmlParseException::columnNumber () const" Returns the column number where the error occurred. -.SH "int QXmlParseException::lineNumber () const" +.SH "int TQXmlParseException::lineNumber () const" Returns the line number where the error occurred. -.SH "TQString QXmlParseException::message () const" +.SH "TQString TQXmlParseException::message () const" Returns the error message. -.SH "TQString QXmlParseException::publicId () const" +.SH "TQString TQXmlParseException::publicId () const" Returns the public identifier where the error occurred. -.SH "TQString QXmlParseException::systemId () const" +.SH "TQString TQXmlParseException::systemId () const" Returns the system identifier where the error occurred. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlparseexception.html +.BR http://doc.trolltech.com/tqxmlparseexception.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlreader.3qt b/doc/man/man3/tqxmlreader.3qt index 65aa90ff5..f9978f27e 100644 --- a/doc/man/man3/tqxmlreader.3qt +++ b/doc/man/man3/tqxmlreader.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,13 +7,13 @@ .ad l .nh .SH NAME -QXmlReader \- Interface for XML readers (i.e. parsers) +TQXmlReader \- Interface for XML readers (i.e. parsers) .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QXmlSimpleReader. +Inherited by TQXmlSimpleReader. .PP .SS "Public Members" .in +1c @@ -36,152 +36,152 @@ Inherited by QXmlSimpleReader. .BI "virtual bool \fBhasProperty\fR ( const TQString & name ) const = 0" .br .ti -1c -.BI "virtual void \fBsetEntityResolver\fR ( QXmlEntityResolver * handler ) = 0" +.BI "virtual void \fBsetEntityResolver\fR ( TQXmlEntityResolver * handler ) = 0" .br .ti -1c -.BI "virtual QXmlEntityResolver * \fBentityResolver\fR () const = 0" +.BI "virtual TQXmlEntityResolver * \fBentityResolver\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetDTDHandler\fR ( QXmlDTDHandler * handler ) = 0" +.BI "virtual void \fBsetDTDHandler\fR ( TQXmlDTDHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlDTDHandler * \fBDTDHandler\fR () const = 0" +.BI "virtual TQXmlDTDHandler * \fBDTDHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetContentHandler\fR ( QXmlContentHandler * handler ) = 0" +.BI "virtual void \fBsetContentHandler\fR ( TQXmlContentHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlContentHandler * \fBcontentHandler\fR () const = 0" +.BI "virtual TQXmlContentHandler * \fBcontentHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetErrorHandler\fR ( QXmlErrorHandler * handler ) = 0" +.BI "virtual void \fBsetErrorHandler\fR ( TQXmlErrorHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlErrorHandler * \fBerrorHandler\fR () const = 0" +.BI "virtual TQXmlErrorHandler * \fBerrorHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetLexicalHandler\fR ( QXmlLexicalHandler * handler ) = 0" +.BI "virtual void \fBsetLexicalHandler\fR ( TQXmlLexicalHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlLexicalHandler * \fBlexicalHandler\fR () const = 0" +.BI "virtual TQXmlLexicalHandler * \fBlexicalHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetDeclHandler\fR ( QXmlDeclHandler * handler ) = 0" +.BI "virtual void \fBsetDeclHandler\fR ( TQXmlDeclHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlDeclHandler * \fBdeclHandler\fR () const = 0" +.BI "virtual TQXmlDeclHandler * \fBdeclHandler\fR () const = 0" .br .ti -1c -.BI "virtual bool parse ( const QXmlInputSource & input ) = 0 \fI(obsolete)\fR" +.BI "virtual bool parse ( const TQXmlInputSource & input ) = 0 \fI(obsolete)\fR" .br .ti -1c -.BI "virtual bool \fBparse\fR ( const QXmlInputSource * input ) = 0" +.BI "virtual bool \fBparse\fR ( const TQXmlInputSource * input ) = 0" .br .in -1c .SH DESCRIPTION -The QXmlReader class provides an interface for XML readers (i.e. parsers). +The TQXmlReader class provides an interface for XML readers (i.e. parsers). .PP -This abstract class provides an interface for all of Qt's XML readers. Currently there is only one implementation of a reader included in Qt's XML module: QXmlSimpleReader. In future releases there might be more readers with different properties available (e.g. a validating parser). +This abstract class provides an interface for all of Qt's XML readers. Currently there is only one implementation of a reader included in Qt's XML module: TQXmlSimpleReader. In future releases there might be more readers with different properties available (e.g. a validating parser). .PP The design of the XML classes follows the SAX2 Java interface, with the names adapted to fit TQt naming conventions. It should be very easy for anybody who has worked with SAX2 to get started with the TQt XML classes. .PP -All readers use the class QXmlInputSource to read the input document. Since you are normally interested in particular content in the XML document, the reader reports the content through special handler classes (QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler and QXmlLexicalHandler), which you must subclass, if you want to process the contents. +All readers use the class TQXmlInputSource to read the input document. Since you are normally interested in particular content in the XML document, the reader reports the content through special handler classes (TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler and TQXmlLexicalHandler), which you must subclass, if you want to process the contents. .PP -Since the handler classes only describe interfaces you must implement all the functions. We provide the QXmlDefaultHandler class to make this easier: it implements a default behaviour (do nothing) for all functions, so you can subclass it and just implement the functions you are interested in. +Since the handler classes only describe interfaces you must implement all the functions. We provide the TQXmlDefaultHandler class to make this easier: it implements a default behaviour (do nothing) for all functions, so you can subclass it and just implement the functions you are interested in. .PP Features and properties of the reader can be set with setFeature() and setProperty() respectively. You can set the reader to use your own subclasses with setEntityResolver(), setDTDHandler(), setContentHandler(), setErrorHandler(), setLexicalHandler() and setDeclHandler(). The parse itself is started with a call to parse(). .PP -See also QXmlSimpleReader and XML. +See also TQXmlSimpleReader and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlDTDHandler * QXmlReader::DTDHandler () const\fC [pure virtual]\fR" +.SH "TQXmlDTDHandler * TQXmlReader::DTDHandler () const\fC [pure virtual]\fR" Returns the DTD handler or 0 if none was set. .PP See also setDTDHandler(). -.SH "QXmlContentHandler * QXmlReader::contentHandler () const\fC [pure virtual]\fR" +.SH "TQXmlContentHandler * TQXmlReader::contentHandler () const\fC [pure virtual]\fR" Returns the content handler or 0 if none was set. .PP See also setContentHandler(). -.SH "QXmlDeclHandler * QXmlReader::declHandler () const\fC [pure virtual]\fR" +.SH "TQXmlDeclHandler * TQXmlReader::declHandler () const\fC [pure virtual]\fR" Returns the declaration handler or 0 if none was set. .PP See also setDeclHandler(). -.SH "QXmlEntityResolver * QXmlReader::entityResolver () const\fC [pure virtual]\fR" +.SH "TQXmlEntityResolver * TQXmlReader::entityResolver () const\fC [pure virtual]\fR" Returns the entity resolver or 0 if none was set. .PP See also setEntityResolver(). -.SH "QXmlErrorHandler * QXmlReader::errorHandler () const\fC [pure virtual]\fR" +.SH "TQXmlErrorHandler * TQXmlReader::errorHandler () const\fC [pure virtual]\fR" Returns the error handler or 0 if none is set. .PP See also setErrorHandler(). -.SH "bool QXmlReader::feature ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::feature ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" If the reader has the feature called \fIname\fR, the feature's value is returned. If no such feature exists the return value is undefined. .PP If \fIok\fR is not 0: \fI*ok\fR is set to TRUE if the reader has the feature called \fIname\fR; otherwise \fI*ok\fR is set to FALSE. .PP See also setFeature() and hasFeature(). -.SH "bool QXmlReader::hasFeature ( const TQString & name ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::hasFeature ( const TQString & name ) const\fC [pure virtual]\fR" Returns \fCTRUE\fR if the reader has the feature called \fIname\fR; otherwise returns FALSE. .PP See also feature() and setFeature(). -.SH "bool QXmlReader::hasProperty ( const TQString & name ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::hasProperty ( const TQString & name ) const\fC [pure virtual]\fR" Returns TRUE if the reader has the property \fIname\fR; otherwise returns FALSE. .PP See also property() and setProperty(). -.SH "QXmlLexicalHandler * QXmlReader::lexicalHandler () const\fC [pure virtual]\fR" +.SH "TQXmlLexicalHandler * TQXmlReader::lexicalHandler () const\fC [pure virtual]\fR" Returns the lexical handler or 0 if none was set. .PP See also setLexicalHandler(). -.SH "bool QXmlReader::parse ( const QXmlInputSource * input )\fC [pure virtual]\fR" +.SH "bool TQXmlReader::parse ( const TQXmlInputSource * input )\fC [pure virtual]\fR" Reads an XML document from \fIinput\fR and parses it. Returns TRUE if the parsing was successful; otherwise returns FALSE. .PP Example: xml/tagreader/tagreader.cpp. -.SH "bool QXmlReader::parse ( const QXmlInputSource & input )\fC [pure virtual]\fR" +.SH "bool TQXmlReader::parse ( const TQXmlInputSource & input )\fC [pure virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void * QXmlReader::property ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" +.SH "void * TQXmlReader::property ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" If the reader has the property \fIname\fR, this function returns the value of the property; otherwise the return value is undefined. .PP If \fIok\fR is not 0: if the reader has the \fIname\fR property \fI*ok\fR is set to TRUE; otherwise \fI*ok\fR is set to FALSE. .PP See also setProperty() and hasProperty(). -.SH "void QXmlReader::setContentHandler ( QXmlContentHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setContentHandler ( TQXmlContentHandler * handler )\fC [pure virtual]\fR" Sets the content handler to \fIhandler\fR. .PP See also contentHandler(). .PP Example: xml/tagreader/tagreader.cpp. -.SH "void QXmlReader::setDTDHandler ( QXmlDTDHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setDTDHandler ( TQXmlDTDHandler * handler )\fC [pure virtual]\fR" Sets the DTD handler to \fIhandler\fR. .PP See also DTDHandler(). -.SH "void QXmlReader::setDeclHandler ( QXmlDeclHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setDeclHandler ( TQXmlDeclHandler * handler )\fC [pure virtual]\fR" Sets the declaration handler to \fIhandler\fR. .PP See also declHandler(). -.SH "void QXmlReader::setEntityResolver ( QXmlEntityResolver * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setEntityResolver ( TQXmlEntityResolver * handler )\fC [pure virtual]\fR" Sets the entity resolver to \fIhandler\fR. .PP See also entityResolver(). -.SH "void QXmlReader::setErrorHandler ( QXmlErrorHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setErrorHandler ( TQXmlErrorHandler * handler )\fC [pure virtual]\fR" Sets the error handler to \fIhandler\fR. Clears the error handler if \fIhandler\fR is 0. .PP See also errorHandler(). -.SH "void QXmlReader::setFeature ( const TQString & name, bool value )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setFeature ( const TQString & name, bool value )\fC [pure virtual]\fR" Sets the feature called \fIname\fR to the given \fIvalue\fR. If the reader doesn't have the feature nothing happens. .PP See also feature() and hasFeature(). .PP -Reimplemented in QXmlSimpleReader. -.SH "void QXmlReader::setLexicalHandler ( QXmlLexicalHandler * handler )\fC [pure virtual]\fR" +Reimplemented in TQXmlSimpleReader. +.SH "void TQXmlReader::setLexicalHandler ( TQXmlLexicalHandler * handler )\fC [pure virtual]\fR" Sets the lexical handler to \fIhandler\fR. .PP See also lexicalHandler(). -.SH "void QXmlReader::setProperty ( const TQString & name, void * value )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setProperty ( const TQString & name, void * value )\fC [pure virtual]\fR" Sets the property \fIname\fR to \fIvalue\fR. If the reader doesn't have the property nothing happens. .PP See also property() and hasProperty(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlreader.html +.BR http://doc.trolltech.com/tqxmlreader.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlsimplereader.3qt b/doc/man/man3/tqxmlsimplereader.3qt index 9784d11f6..524a60142 100644 --- a/doc/man/man3/tqxmlsimplereader.3qt +++ b/doc/man/man3/tqxmlsimplereader.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlSimpleReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlSimpleReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,34 +7,34 @@ .ad l .nh .SH NAME -QXmlSimpleReader \- Implementation of a simple XML reader (parser) +TQXmlSimpleReader \- Implementation of a simple XML reader (parser) .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

          .PP -\fC#include \fR +\fC#include \fR .PP -Inherits QXmlReader. +Inherits TQXmlReader. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlSimpleReader\fR ()" +.BI "\fBTQXmlSimpleReader\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlSimpleReader\fR ()" +.BI "virtual \fB~TQXmlSimpleReader\fR ()" .br .ti -1c .BI "virtual void \fBsetFeature\fR ( const TQString & name, bool value )" .br .ti -1c -.BI "virtual bool \fBparse\fR ( const QXmlInputSource * input, bool incremental )" +.BI "virtual bool \fBparse\fR ( const TQXmlInputSource * input, bool incremental )" .br .ti -1c .BI "virtual bool \fBparseContinue\fR ()" .br .in -1c .SH DESCRIPTION -The QXmlSimpleReader class provides an implementation of a simple XML reader (parser). +The TQXmlSimpleReader class provides an implementation of a simple XML reader (parser). .PP This XML reader is sufficient for simple parsing tasks. The reader: .TP @@ -48,7 +48,7 @@ Documents are parsed with a call to parse(). .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlSimpleReader::QXmlSimpleReader ()" +.SH "TQXmlSimpleReader::TQXmlSimpleReader ()" Constructs a simple XML reader with the following feature settings:
          .nf .TS l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp://xml.org/sax/features/namespace-prefixes\fR FALSE \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR TRUE \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR @@ -59,9 +59,9 @@ l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp More information about features can be found in the TQt SAX2 overview. .PP See also setFeature(). -.SH "QXmlSimpleReader::~QXmlSimpleReader ()\fC [virtual]\fR" +.SH "TQXmlSimpleReader::~TQXmlSimpleReader ()\fC [virtual]\fR" Destroys the simple XML reader. -.SH "bool QXmlSimpleReader::parse ( const QXmlInputSource * input, bool incremental )\fC [virtual]\fR" +.SH "bool TQXmlSimpleReader::parse ( const TQXmlInputSource * input, bool incremental )\fC [virtual]\fR" Reads an XML document from \fIinput\fR and parses it. Returns FALSE if the parsing detects an error; otherwise returns TRUE. .PP If \fIincremental\fR is TRUE, the parser does not return FALSE when it reaches the end of the \fIinput\fR without reaching the end of the XML file. Instead it stores the state of the parser so that parsing can be continued at a later stage when more data is available. You can use the function parseContinue() to continue with parsing. This class stores a pointer to the input source \fIinput\fR and the parseContinue() function tries to read from that input souce. This means that you should not delete the input source \fIinput\fR until you've finished your calls to parseContinue(). If you call this function with \fIincremental\fR TRUE whilst an incremental parse is in progress a new parsing session will be started and the previous session lost. @@ -72,26 +72,26 @@ See also parseContinue() and QSocket. .PP Examples: .)l xml/tagreader-with-features/tagreader.cpp and xml/tagreader/tagreader.cpp. -.SH "bool QXmlSimpleReader::parseContinue ()\fC [virtual]\fR" -Continues incremental parsing; this function reads the input from the QXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. +.SH "bool TQXmlSimpleReader::parseContinue ()\fC [virtual]\fR" +Continues incremental parsing; this function reads the input from the TQXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. .PP Returns FALSE if a parsing error occurs; otherwise returns TRUE. .PP -If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. +If the input source returns an empty string for the function TQXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. .PP The case of the end of the XML file being reached without having finished parsing is not considered to be an error: you can continue parsing at a later stage by calling this function again when there is more data available to parse. .PP -This function assumes that the end of the XML document is reached if the QXmlInputSource::next() function returns QXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. +This function assumes that the end of the XML document is reached if the TQXmlInputSource::next() function returns TQXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. .PP -See also parse() and QXmlInputSource::next(). -.SH "void QXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" +See also parse() and TQXmlInputSource::next(). +.SH "void TQXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" Sets the state of the feature \fIname\fR to \fIvalue\fR: .PP If the feature is not recognized, it is ignored. .PP The following features are supported:
          .nf .TS -l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via QXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR +l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via TQXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR .TE .fi
          @@ -114,10 +114,10 @@ See also feature() and hasFeature(). .PP Example: xml/tagreader-with-features/tagreader.cpp. .PP -Reimplemented from QXmlReader. +Reimplemented from TQXmlReader. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlsimplereader.html +.BR http://doc.trolltech.com/tqxmlsimplereader.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/porting3.doc b/doc/porting3.doc index 0d8352486..ccb2e1656 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -344,9 +344,9 @@ new code. \i TQWidget::setFont( const QFont \& f, bool ) \i TQWidget::setPalette( const QPalette \& p, bool ) \i QWizard::setFinish( TQWidget *, bool ) -\i QXmlInputSource::QXmlInputSource( QFile \& file ) -\i QXmlInputSource::QXmlInputSource( QTextStream \& stream ) -\i QXmlReader::parse( const QXmlInputSource \& input ) +\i TQXmlInputSource::TQXmlInputSource( QFile \& file ) +\i TQXmlInputSource::TQXmlInputSource( QTextStream \& stream ) +\i TQXmlReader::parse( const TQXmlInputSource \& input ) \endlist Additionally, these preprocessor directives have been removed: @@ -718,20 +718,20 @@ TQWidget::paletteBackgroundPixmap() and TQWidget::setPaletteBackgroundPixmap(). See their documentation for details. -\section1 QXml Classes +\section1 TQXml Classes -\section2 QXmlInputSource +\section2 TQXmlInputSource -The semantics of QXmlInputSource has changed slightly. This change +The semantics of TQXmlInputSource has changed slightly. This change only affects code that parses the same data from the same input source multiple times. In such cases you must call -QXmlInputSource::reset() before the second call to -QXmlSimpleReader::parse(). +TQXmlInputSource::reset() before the second call to +TQXmlSimpleReader::parse(). So code like \code - QXmlInputSource source( &xmlFile ); - QXmlSimpleReader reader; + TQXmlInputSource source( &xmlFile ); + TQXmlSimpleReader reader; ... reader.parse( source ); ... @@ -739,8 +739,8 @@ So code like \endcode must be changed to \code - QXmlInputSource source( &xmlFile ); - QXmlSimpleReader reader; + TQXmlInputSource source( &xmlFile ); + TQXmlSimpleReader reader; ... reader.parse( source ); ... @@ -748,15 +748,15 @@ must be changed to reader.parse( source ); \endcode -\section2 QXmlLocator +\section2 TQXmlLocator Due to some internal changes, it was necessary to clean-up the semantics of -QXmlLocator: this class is now an abstract class. This shouldn't cause -any problems, since programmers usually used the QXmlLocator that was -reported by QXmlContentHandler::setDocumentLocator(). If you used this +TQXmlLocator: this class is now an abstract class. This shouldn't cause +any problems, since programmers usually used the TQXmlLocator that was +reported by TQXmlContentHandler::setDocumentLocator(). If you used this class in some other way, you must adjust your code to use the -QXmlLocator that is reported by the -QXmlContentHandler::setDocumentLocator() function. +TQXmlLocator that is reported by the +TQXmlContentHandler::setDocumentLocator() function. \section1 Asynchronous I/O Classes 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 diff --git a/doc/xml-sax-walkthrough.doc b/doc/xml-sax-walkthrough.doc index 97b8e0d61..74a8a013e 100644 --- a/doc/xml-sax-walkthrough.doc +++ b/doc/xml-sax-walkthrough.doc @@ -61,11 +61,11 @@ The element names are indented corresponding to their nesting level. As mentioned in \link xml.html#sax2Intro Introduction to SAX2 \endlink we have to implement the functions of the handler classes that we are interested in. In our case these are only three: -\l QXmlContentHandler::startDocument(), -\l QXmlContentHandler::startElement() and -\l QXmlContentHandler::endElement(). +\l TQXmlContentHandler::startDocument(), +\l TQXmlContentHandler::startElement() and +\l TQXmlContentHandler::endElement(). -For this purpose we use a subclass of the \l QXmlDefaultHandler (remember +For this purpose we use a subclass of the \l TQXmlDefaultHandler (remember that the special handler classes are all abstract and the default handler class provides an implementation that does not change the parsing behavior): @@ -82,7 +82,7 @@ Even the implementation is straight-forward: \skipto include \printuntil ntqstring.h -First we overload \l QXmlContentHandler::startDocument() with a non-empty version. +First we overload \l TQXmlContentHandler::startDocument() with a non-empty version. \printline startDocument \printuntil } @@ -95,7 +95,7 @@ reporting an error. Because we want to be informed when the parser comes accross a start tag of an element and subsequently print it out, we -have to overload \l QXmlContentHandler::startElement(). +have to overload \l TQXmlContentHandler::startElement(). \printline startElement \printuntil } @@ -114,7 +114,7 @@ Finally we return TRUE in order to let the parser continue without errors. The last functionality we need to add is the parser's behaviour when an -end tag occurs. This means overloading \l QXmlContentHandler::endElement(). +end tag occurs. This means overloading \l TQXmlContentHandler::endElement(). \printline endElement \printuntil } @@ -141,7 +141,7 @@ The next step is to create an instance of the \e StructureParser. \printline setContentHandler After that we set up the reader. As our \e StructureParser -class deals with \l QXmlContentHandler functionality only +class deals with \l TQXmlContentHandler functionality only we simply register it as the content handler of our choice. \printuntil for @@ -149,10 +149,10 @@ we simply register it as the content handler of our choice. Successively we deal with all files given as command line arguments. \printline xmlFile -\printline QXmlInputSource +\printline TQXmlInputSource Then we create a -\l QXmlInputSource for the XML file to be parsed. +\l TQXmlInputSource for the XML file to be parsed. \printline parse @@ -182,7 +182,7 @@ It will however refuse to produce the correct result if you e.g. insert a whitespace between a < and the element name in your test-XML file. To prevent such annoyances you should always install an error handler with \l -QXmlReader::setErrorHandler(). This allows you to report +TQXmlReader::setErrorHandler(). This allows you to report parsing errors to the user. diff --git a/doc/xml.doc b/doc/xml.doc index 18985f29c..fad7ad5bd 100644 --- a/doc/xml.doc +++ b/doc/xml.doc @@ -78,67 +78,67 @@ Qt provides the following XML related classes: \table \header \i Class \i Short description -\row \i \l QDomAttr - \i Represents one attribute of a QDomElement -\row \i \l QDomCDATASection +\row \i \l TQDomAttr + \i Represents one attribute of a TQDomElement +\row \i \l TQDomCDATASection \i Represents an XML CDATA section -\row \i \l QDomCharacterData +\row \i \l TQDomCharacterData \i Represents a generic string in the DOM -\row \i \l QDomComment +\row \i \l TQDomComment \i Represents an XML comment -\row \i \l QDomDocument +\row \i \l TQDomDocument \i The representation of an XML document -\row \i \l QDomDocumentFragment - \i Tree of QDomNodes which is usually not a complete QDomDocument -\row \i \l QDomDocumentType +\row \i \l TQDomDocumentFragment + \i Tree of TQDomNodes which is usually not a complete TQDomDocument +\row \i \l TQDomDocumentType \i The representation of the DTD in the document tree -\row \i \l QDomElement +\row \i \l TQDomElement \i Represents one element in the DOM tree -\row \i \l QDomEntity +\row \i \l TQDomEntity \i Represents an XML entity -\row \i \l QDomEntityReference +\row \i \l TQDomEntityReference \i Represents an XML entity reference -\row \i \l QDomImplementation +\row \i \l TQDomImplementation \i Information about the features of the DOM implementation -\row \i \l QDomNamedNodeMap +\row \i \l TQDomNamedNodeMap \i Collection of nodes that can be accessed by name -\row \i \l QDomNode +\row \i \l TQDomNode \i The base class for all nodes of the DOM tree -\row \i \l QDomNodeList - \i List of QDomNode objects -\row \i \l QDomNotation +\row \i \l TQDomNodeList + \i List of TQDomNode objects +\row \i \l TQDomNotation \i Represents an XML notation -\row \i \l QDomProcessingInstruction +\row \i \l TQDomProcessingInstruction \i Represents an XML processing instruction -\row \i \l QDomText +\row \i \l TQDomText \i Represents textual data in the parsed XML document -\row \i \l QXmlAttributes +\row \i \l TQXmlAttributes \i XML attributes -\row \i \l QXmlContentHandler +\row \i \l TQXmlContentHandler \i Interface to report logical content of XML data -\row \i \l QXmlDeclHandler +\row \i \l TQXmlDeclHandler \i Interface to report declaration content of XML data -\row \i \l QXmlDefaultHandler +\row \i \l TQXmlDefaultHandler \i Default implementation of all XML handler classes -\row \i \l QXmlDTDHandler +\row \i \l TQXmlDTDHandler \i Interface to report DTD content of XML data -\row \i \l QXmlEntityResolver +\row \i \l TQXmlEntityResolver \i Interface to resolve extern entities contained in XML data -\row \i \l QXmlErrorHandler +\row \i \l TQXmlErrorHandler \i Interface to report errors in XML data -\row \i \l QXmlInputSource - \i The input data for the QXmlReader subclasses -\row \i \l QXmlLexicalHandler +\row \i \l TQXmlInputSource + \i The input data for the TQXmlReader subclasses +\row \i \l TQXmlLexicalHandler \i Interface to report lexical content of XML data -\row \i \l QXmlLocator +\row \i \l TQXmlLocator \i The XML handler classes with information about the actual parsing position -\row \i \l QXmlNamespaceSupport +\row \i \l TQXmlNamespaceSupport \i Helper class for XML readers which want to include namespace support -\row \i \l QXmlParseException - \i Used to report errors with the QXmlErrorHandler interface -\row \i \l QXmlReader +\row \i \l TQXmlParseException + \i Used to report errors with the TQXmlErrorHandler interface +\row \i \l TQXmlReader \i Interface for XML readers (i.e. for SAX2 parsers) -\row \i \l QXmlSimpleReader +\row \i \l TQXmlSimpleReader \i Implementation of a simple XML reader (a SAX2 parser) \endtable @@ -176,47 +176,47 @@ and discarded serially. The \link #dom DOM interface this takes more memory, but makes it easier to manipulate the document's structure.. -The TQt XML module provides an abstract class, \l QXmlReader, that +The TQt XML module provides an abstract class, \l TQXmlReader, that defines the interface for potential SAX2 readers. TQt includes a reader -implementation, \l QXmlSimpleReader, that is easy to adapt through +implementation, \l TQXmlSimpleReader, that is easy to adapt through subclassing. The reader reports parsing events through special handler classes: \table \header \i Handler class \i Description -\row \i \l QXmlContentHandler +\row \i \l TQXmlContentHandler \i Reports events related to the content of a document (e.g. the start tag or characters). -\row \i \l QXmlDTDHandler +\row \i \l TQXmlDTDHandler \i Reports events related to the DTD (e.g. notation declarations). -\row \i \l QXmlErrorHandler +\row \i \l TQXmlErrorHandler \i Reports errors or warnings that occurred during parsing. -\row \i \l QXmlEntityResolver +\row \i \l TQXmlEntityResolver \i Reports external entities during parsing and allows users to resolve external entities themselves instead of leaving it to the reader. -\row \i \l QXmlDeclHandler +\row \i \l TQXmlDeclHandler \i Reports further DTD related events (e.g. attribute declarations). -\row \i \l QXmlLexicalHandler +\row \i \l TQXmlLexicalHandler \i Reports events related to the lexical structure of the document (the beginning of the DTD, comments etc.). \endtable These classes are abstract classes describing the interface. The \l -QXmlDefaultHandler class provides a "do nothing" default +TQXmlDefaultHandler class provides a "do nothing" default implementation for all of them. Therefore users only need to overload -the QXmlDefaultHandler functions they are interested in. +the TQXmlDefaultHandler functions they are interested in. -To read input XML data a special class \l QXmlInputSource is used. +To read input XML data a special class \l TQXmlInputSource is used. Apart from those already mentioned, the following SAX2 support classes provide additional useful functionality: \table \header \i Class \i Description -\row \i \l QXmlAttributes +\row \i \l TQXmlAttributes \i Used to pass attributes in a start element event. -\row \i \l QXmlLocator +\row \i \l TQXmlLocator \i Used to obtain the actual parsing position of an event. -\row \i \l QXmlNamespaceSupport +\row \i \l TQXmlNamespaceSupport \i Used to implement \link xml.html#namespaces namespace\endlink support for a reader. Note that namespaces do not change the parsing behavior. They are only reported through the handler. @@ -234,9 +234,9 @@ every other feature this has a unique name represented by a URI: it is called \e http://xml.org/sax/features/namespace-prefixes. The TQt SAX2 implementation can report whether the reader has -particular functionality using the \l QXmlReader::hasFeature() -function. Available features can be tested with QXmlReader::feature(), -and switched on or off using \l QXmlReader::setFeature(). +particular functionality using the \l TQXmlReader::hasFeature() +function. Available features can be tested with TQXmlReader::feature(), +and switched on or off using \l TQXmlReader::setFeature(). Consider the example \code @@ -248,7 +248,7 @@ http://xml.org/sax/features/namespace-prefixes feature would report the element name \e document but not its attributes \e xmlns:book and \e xmlns with their values. A reader with the feature \e http://xml.org/sax/features/namespace-prefixes reports the namespace -attributes if the \link QXmlReader::feature() feature\endlink is +attributes if the \link TQXmlReader::feature() feature\endlink is switched on. Other features include \e http://xml.org/sax/features/namespace @@ -261,10 +261,10 @@ Whilst SAX2 leaves it to the user to define and implement whatever features are required, support for \e http://xml.org/sax/features/namespace (and thus \e http://xml.org/sax/features/namespace-prefixes) is mandantory. -The \l QXmlSimpleReader implementation of \l QXmlReader, +The \l TQXmlSimpleReader implementation of \l TQXmlReader, supports them, and can do namespace processing. -\l QXmlSimpleReader is not validating, so it +\l TQXmlSimpleReader is not validating, so it does not support \e http://xml.org/sax/features/validation. @@ -282,8 +282,8 @@ They influence the reporting behavior in the following way: \i Namespace prefixes and local parts of elements and attributes can be reported. \i The qualified names of elements and attributes are reported. -\i \l QXmlContentHandler::startPrefixMapping() and \l -QXmlContentHandler::endPrefixMapping() are called by the reader. +\i \l TQXmlContentHandler::startPrefixMapping() and \l +TQXmlContentHandler::endPrefixMapping() are called by the reader. \i Attributes that declare namespaces (i.e. the attribute \e xmlns and attributes starting with \e{xmlns:}) are reported. \endlist @@ -323,10 +323,10 @@ This might be changed in the future following the W3C suggestion to associate \e xmlns with the namespace \e http://www.w3.org/2000/xmlns. -As the SAX2 standard suggests, \l QXmlSimpleReader defaults to having +As the SAX2 standard suggests, \l TQXmlSimpleReader defaults to having \e http://xml.org/sax/features/namespaces set to TRUE and \e http://xml.org/sax/features/namespace-prefixes set to FALSE. -When changing this behavior using \l QXmlSimpleReader::setFeature() +When changing this behavior using \l TQXmlSimpleReader::setFeature() note that the combination of both features set to FALSE is illegal. @@ -337,7 +337,7 @@ tagreader with features example. \endlink \target sax2NamespacesSummary \section3 Summary -\l QXmlSimpleReader implements the following behavior: +\l TQXmlSimpleReader implements the following behavior: \table \header \i (namespaces, namespace-prefixes) @@ -372,8 +372,8 @@ Anyone can define and use new SAX2 properties for their readers. Property support is not mandatory. To set or query properties the following functions are provided: \l -QXmlReader::setProperty(), \l QXmlReader::property() and \l -QXmlReader::hasProperty(). +TQXmlReader::setProperty(), \l TQXmlReader::property() and \l +TQXmlReader::hasProperty(). \target sax2Reading @@ -396,79 +396,79 @@ structure of an XML file. It makes a hierarchical view of the document model of the document is resident in memory after parsing which makes manipulation easy. -All DOM nodes in the document tree are subclasses of \l QDomNode. The -document itself is represented as a \l QDomDocument object. +All DOM nodes in the document tree are subclasses of \l TQDomNode. The +document itself is represented as a \l TQDomDocument object. Here are the available node classes and their potential child classes: \list -\i \l QDomDocument: Possible children are +\i \l TQDomDocument: Possible children are \list - \i \l QDomElement (at most one) - \i \l QDomProcessingInstruction - \i \l QDomComment - \i \l QDomDocumentType + \i \l TQDomElement (at most one) + \i \l TQDomProcessingInstruction + \i \l TQDomComment + \i \l TQDomDocumentType \endlist -\i \l QDomDocumentFragment: Possible children are +\i \l TQDomDocumentFragment: Possible children are \list - \i \l QDomElement - \i \l QDomProcessingInstruction - \i \l QDomComment - \i \l QDomText - \i \l QDomCDATASection - \i \l QDomEntityReference + \i \l TQDomElement + \i \l TQDomProcessingInstruction + \i \l TQDomComment + \i \l TQDomText + \i \l TQDomCDATASection + \i \l TQDomEntityReference \endlist -\i \l QDomDocumentType: No children -\i \l QDomEntityReference: Possible children are +\i \l TQDomDocumentType: No children +\i \l TQDomEntityReference: Possible children are \list - \i \l QDomElement - \i \l QDomProcessingInstruction - \i \l QDomComment - \i \l QDomText - \i \l QDomCDATASection - \i \l QDomEntityReference + \i \l TQDomElement + \i \l TQDomProcessingInstruction + \i \l TQDomComment + \i \l TQDomText + \i \l TQDomCDATASection + \i \l TQDomEntityReference \endlist -\i \l QDomElement: Possible children are +\i \l TQDomElement: Possible children are \list - \i \l QDomElement - \i \l QDomText - \i \l QDomComment - \i \l QDomProcessingInstruction - \i \l QDomCDATASection - \i \l QDomEntityReference + \i \l TQDomElement + \i \l TQDomText + \i \l TQDomComment + \i \l TQDomProcessingInstruction + \i \l TQDomCDATASection + \i \l TQDomEntityReference \endlist -\i \l QDomAttr: Possible children are +\i \l TQDomAttr: Possible children are \list - \i \l QDomText - \i \l QDomEntityReference + \i \l TQDomText + \i \l TQDomEntityReference \endlist -\i \l QDomProcessingInstruction: No children -\i \l QDomComment: No children -\i \l QDomText: No children -\i \l QDomCDATASection: No children -\i \l QDomEntity: Possible children are +\i \l TQDomProcessingInstruction: No children +\i \l TQDomComment: No children +\i \l TQDomText: No children +\i \l TQDomCDATASection: No children +\i \l TQDomEntity: Possible children are \list - \i \l QDomElement - \i \l QDomProcessingInstruction - \i \l QDomComment - \i \l QDomText - \i \l QDomCDATASection - \i \l QDomEntityReference + \i \l TQDomElement + \i \l TQDomProcessingInstruction + \i \l TQDomComment + \i \l TQDomText + \i \l TQDomCDATASection + \i \l TQDomEntityReference \endlist -\i \l QDomNotation: No children +\i \l TQDomNotation: No children \endlist -With \l QDomNodeList and \l QDomNamedNodeMap two collection classes -are provided: \l QDomNodeList is a list of nodes, -and \l QDomNamedNodeMap is used to handle unordered sets of nodes +With \l TQDomNodeList and \l TQDomNamedNodeMap two collection classes +are provided: \l TQDomNodeList is a list of nodes, +and \l TQDomNamedNodeMap is used to handle unordered sets of nodes (often used for attributes). -The \l QDomImplementation class allows the user to query features of the +The \l TQDomImplementation class allows the user to query features of the DOM implementation. \section2 Further reading -To get started please refer to the \l QDomDocument documentation. +To get started please refer to the \l TQDomDocument documentation. \target namespaces \section1 An introduction to namespaces -- cgit v1.2.1