diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
commit | 1702a6daff27f5d3e6fdac16962d1828df6ca270 (patch) | |
tree | b451256c2cc2e22e895251bac6ec1e4bdfd40e09 /doc/html/porting.html | |
parent | 5fffa30386502b5423e45c2ed5e6af756b11c7b4 (diff) | |
download | tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.tar.gz tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.zip |
Rename nt* dom and xml related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r-- | doc/html/porting.html | 32 |
1 files changed, 16 insertions, 16 deletions
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. <li> <a href="ntqwidget.html#setFont">TQWidget::setFont</a>( const <a href="ntqfont.html">TQFont</a> & f, bool ) <li> <a href="ntqwidget.html#setPalette">TQWidget::setPalette</a>( const <a href="ntqpalette.html">TQPalette</a> & p, bool ) <li> <a href="ntqwizard.html#setFinish">TQWizard::setFinish</a>( <a href="ntqwidget.html">TQWidget</a> *, bool ) -<li> <a href="qxmlinputsource.html#TQXmlInputSource">TQXmlInputSource::TQXmlInputSource</a>( <a href="ntqfile.html">TQFile</a> & file ) +<li> <a href="tqxmlinputsource.html#TQXmlInputSource">TQXmlInputSource::TQXmlInputSource</a>( <a href="ntqfile.html">TQFile</a> & file ) <li> TQXmlInputSource::TQXmlInputSource( <a href="ntqtextstream.html">TQTextStream</a> & stream ) -<li> <a href="qxmlreader.html#parse">TQXmlReader::parse</a>( const <a href="qxmlinputsource.html">TQXmlInputSource</a> & input ) +<li> <a href="tqxmlreader.html#parse">TQXmlReader::parse</a>( const <a href="tqxmlinputsource.html">TQXmlInputSource</a> & input ) </ul> <p> Additionally, these preprocessor directives have been removed: <p> <ul> @@ -715,40 +715,40 @@ with eight new functions: <a href="ntqwidget.html#eraseColor">TQWidget::eraseCol details. <p> <h2> TQXml Classes </h2> -<a name="25"></a><p> <h3> <a href="qxmlinputsource.html">TQXmlInputSource</a> +<a name="25"></a><p> <h3> <a href="tqxmlinputsource.html">TQXmlInputSource</a> </h3> <a name="25-1"></a><p> 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 -<a href="qxmlinputsource.html#reset">TQXmlInputSource::reset</a>() before the second call to -<a href="qxmlsimplereader.html#parse">TQXmlSimpleReader::parse</a>(). +<a href="tqxmlinputsource.html#reset">TQXmlInputSource::reset</a>() before the second call to +<a href="tqxmlsimplereader.html#parse">TQXmlSimpleReader::parse</a>(). <p> So code like <pre> - <a href="qxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); - <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> reader; + <a href="tqxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); + <a href="tqxmlsimplereader.html">TQXmlSimpleReader</a> reader; ... - reader.<a href="qxmlsimplereader.html#parse">parse</a>( source ); + reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source ); ... - reader.<a href="qxmlsimplereader.html#parse">parse</a>( source ); + reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source ); </pre> must be changed to <pre> - <a href="qxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); - <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> reader; + <a href="tqxmlinputsource.html">TQXmlInputSource</a> source( &xmlFile ); + <a href="tqxmlsimplereader.html">TQXmlSimpleReader</a> reader; ... - reader.<a href="qxmlsimplereader.html#parse">parse</a>( source ); + reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source ); ... - source.<a href="qxmlinputsource.html#reset">reset</a>(); - reader.<a href="qxmlsimplereader.html#parse">parse</a>( source ); + source.<a href="tqxmlinputsource.html#reset">reset</a>(); + reader.<a href="tqxmlsimplereader.html#parse">parse</a>( source ); </pre> -<p> <h3> <a href="qxmllocator.html">TQXmlLocator</a> +<p> <h3> <a href="tqxmllocator.html">TQXmlLocator</a> </h3> <a name="25-2"></a><p> 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 <a href="qxmlcontenthandler.html#setDocumentLocator">TQXmlContentHandler::setDocumentLocator</a>(). If you used this +reported by <a href="tqxmlcontenthandler.html#setDocumentLocator">TQXmlContentHandler::setDocumentLocator</a>(). 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. |