summaryrefslogtreecommitdiffstats
path: root/doc/porting3.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 21:06:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-28 18:25:42 +0900
commit8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (patch)
treefb639fd5c35cb99f87172bc61484f5bf74b6beb9 /doc/porting3.doc
parent0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (diff)
downloadtqt-8ef4ea45.tar.gz
tqt-8ef4ea45.zip
Rename environment class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r--doc/porting3.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/porting3.doc b/doc/porting3.doc
index 1ab796639..39e75beb2 100644
--- a/doc/porting3.doc
+++ b/doc/porting3.doc
@@ -332,9 +332,9 @@ new code.
\i TQToolBar::TQToolBar( const TQString \& label, TQMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
\i TQToolTip::enabled()
\i TQToolTip::setEnabled( bool enable )
-\i QTranslator::find( const char *context, const char *sourceText, const char *comment = 0 ) const
-\i QTranslator::insert( const char *context, const char *sourceText, const TQString \& translation )
-\i QTranslator::remove( const char *context, const char *sourceText )
+\i TQTranslator::find( const char *context, const char *sourceText, const char *comment = 0 ) const
+\i TQTranslator::insert( const char *context, const char *sourceText, const TQString \& translation )
+\i TQTranslator::remove( const char *context, const char *sourceText )
\i TQUriDrag::setFilenames( const TQStringList \& fnames )
\i TQWidget::backgroundColor() const
\i TQWidget::backgroundPixmap() const
@@ -682,24 +682,24 @@ 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.
-\section1 QTranslator
+\section1 TQTranslator
-The \l QTranslator class was extended in TQt 2.2, and these extensions
+The \l TQTranslator class was extended in TQt 2.2, and these extensions
lead to a new interface. This interface is used mainly by translation
tools (for example, \link linguist-manual.book Qt
Linguist \endlink). For source compatibility, no member function was
-effectively removed. The \l QTranslator documentation points out
+effectively removed. The \l TQTranslator documentation points out
which functions are obsolete.
This function is no longer virtual:
\list
-\i TQString QTranslator::find( const char * context,
+\i TQString TQTranslator::find( const char * context,
const char * sourceText ) const
\endlist
-If you have a class that inherits QTranslator and which reimplements
-QTranslator::find(), you should reimplement QTranslator::findMessage() instead.
+If you have a class that inherits TQTranslator and which reimplements
+TQTranslator::find(), you should reimplement TQTranslator::findMessage() instead.
In fact, find() is now defined in terms of findMessage(). By doing the
conversion, you will also gain support for translator comments and for any
future extensions.