diff options
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r-- | doc/porting3.doc | 36 |
1 files changed, 18 insertions, 18 deletions
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 |