summaryrefslogtreecommitdiffstats
path: root/doc/porting3.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r--doc/porting3.doc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/porting3.doc b/doc/porting3.doc
index 0500b4ee4..e228e5380 100644
--- a/doc/porting3.doc
+++ b/doc/porting3.doc
@@ -328,7 +328,7 @@ new code.
\i QTabDialog::selected( const TQString \& )
\i QTabDialog::selected( const TQString \& tabLabel )
\i QTabDialog::setTabEnabled( const char *name, bool enable )
-\i QTextStream::QTextStream( TQString \& str, int filemode )
+\i TQTextStream::TQTextStream( TQString \& str, int filemode )
\i QToolBar::QToolBar( const TQString \& label, QMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
\i QToolTip::enabled()
\i QToolTip::setEnabled( bool enable )
@@ -345,7 +345,7 @@ new code.
\i TQWidget::setPalette( const QPalette \& p, bool )
\i QWizard::setFinish( TQWidget *, bool )
\i TQXmlInputSource::TQXmlInputSource( QFile \& file )
-\i TQXmlInputSource::TQXmlInputSource( QTextStream \& stream )
+\i TQXmlInputSource::TQXmlInputSource( TQTextStream \& stream )
\i TQXmlReader::parse( const TQXmlInputSource \& input )
\endlist
@@ -466,17 +466,17 @@ top level widgets.
The QMultiLineEdit was a simple editor widget in previous TQt versions.
Since TQt 3.0 includes a new richtext engine, which also supports
editing, QMultiLineEdit is obsolete. For the sake of compatibility
-QMultiLineEdit is still provided. It is now a subclass of QTextEdit
+QMultiLineEdit is still provided. It is now a subclass of TQTextEdit
which wraps the old QMultiLineEdit so that it is mostly source
compatible to keep old applications working.
For new applications and when maintaining existing applications we
-recommend that you use QTextEdit instead of QMultiLineEdit wherever
+recommend that you use TQTextEdit instead of QMultiLineEdit wherever
possible.
Although most of the old QMultiLineEdit API is still available, there
is one important difference. The old QMultiLineEdit operated in terms
-of lines, whereas QTextEdit operates in terms of paragraphs. This is
+of lines, whereas TQTextEdit operates in terms of paragraphs. This is
because lines change all the time during wordwrap, whereas paragraphs
remain paragraphs. The consequence of this change is that functions
which previously operated on lines, e.g. numLines(), textLine(), etc.,
@@ -675,9 +675,9 @@ New code should use the following functions instead:
\i QIconSet QToolButton::iconSet() const
\endlist
-\section1 QTextStream
+\section1 TQTextStream
-The global QTextStream manipulators setw(), setfill() and setprecison()
+The global TQTextStream manipulators setw(), setfill() and setprecison()
were renamed to qSetW(), qSetFill() and qSetPrecision() to avoid conflicts
with \c <iostream.h>. If you used them, you must rename the occurrences to
the new names.