diff options
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r-- | doc/html/porting.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html index 6bd143cc3..d3b57cb4c 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -379,9 +379,9 @@ new code. <li> <a href="tqtoolbar.html#TQToolBar">TQToolBar::TQToolBar</a>( const TQString & label, <a href="tqmainwindow.html">TQMainWindow</a> *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 ) <li> <a href="tqtooltip.html#enabled">TQToolTip::enabled</a>() <li> <a href="tqtooltip.html#setEnabled">TQToolTip::setEnabled</a>( bool enable ) -<li> <a href="ntqtranslator.html#find">TQTranslator::find</a>( const char *context, const char *sourceText, const char *comment = 0 ) const -<li> <a href="ntqtranslator.html#insert">TQTranslator::insert</a>( const char *context, const char *sourceText, const <a href="tqstring.html">TQString</a> & translation ) -<li> <a href="ntqtranslator.html#remove">TQTranslator::remove</a>( const char *context, const char *sourceText ) +<li> <a href="tqtranslator.html#find">TQTranslator::find</a>( const char *context, const char *sourceText, const char *comment = 0 ) const +<li> <a href="tqtranslator.html#insert">TQTranslator::insert</a>( const char *context, const char *sourceText, const <a href="tqstring.html">TQString</a> & translation ) +<li> <a href="tqtranslator.html#remove">TQTranslator::remove</a>( const char *context, const char *sourceText ) <li> <a href="tquridrag.html#setFilenames">TQUriDrag::setFilenames</a>( const <a href="tqstringlist.html">TQStringList</a> & fnames ) <li> <a href="tqwidget.html#backgroundColor">TQWidget::backgroundColor</a>() const <li> <a href="tqwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() const @@ -682,21 +682,21 @@ have been removed, together with the following two functions as well. were renamed to qSetW(), qSetFill() and qSetPrecision() to avoid conflicts with <tt><iostream.h></tt>. If you used them, you must rename the occurrences to the new names. -<p> <h2> <a href="ntqtranslator.html">TQTranslator</a> +<p> <h2> <a href="tqtranslator.html">TQTranslator</a> </h2> -<a name="23"></a><p> The <a href="ntqtranslator.html">TQTranslator</a> class was extended in TQt 2.2, and these extensions +<a name="23"></a><p> The <a href="tqtranslator.html">TQTranslator</a> 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, <a href="linguist-manual.html">TQt Linguist</a>). For source compatibility, no member function was -effectively removed. The <a href="ntqtranslator.html">TQTranslator</a> documentation points out +effectively removed. The <a href="tqtranslator.html">TQTranslator</a> documentation points out which functions are obsolete. <p> This function is no longer virtual: <p> <ul> -<li> <a href="tqstring.html">TQString</a> <a href="ntqtranslator.html#find">TQTranslator::find</a>( const char * context, +<li> <a href="tqstring.html">TQString</a> <a href="tqtranslator.html#find">TQTranslator::find</a>( const char * context, const char * sourceText ) const </ul> <p> If you have a class that inherits TQTranslator and which reimplements -TQTranslator::find(), you should reimplement <a href="ntqtranslator.html#findMessage">TQTranslator::findMessage</a>() instead. +TQTranslator::find(), you should reimplement <a href="tqtranslator.html#findMessage">TQTranslator::findMessage</a>() 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. |