diff options
Diffstat (limited to 'doc/html/i18n.html')
-rw-r--r-- | doc/html/i18n.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/i18n.html b/doc/html/i18n.html index e24eb2ef3..548640459 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -134,7 +134,7 @@ the fl and fi ligatures used in typesetting US and European books. <p> TQt tries to take care of all the special features listed above. You usually don't have to worry about these features so long as you use TQt's input widgets (e.g. <a href="ntqlineedit.html">TQLineEdit</a>, <a href="tqtextedit.html">TQTextEdit</a>, and derived classes) -and TQt's display widgets (e.g. <a href="ntqlabel.html">TQLabel</a>). +and TQt's display widgets (e.g. <a href="tqlabel.html">TQLabel</a>). <p> Support for these writing systems is transparent to the programmer and completely encapsulated in TQt's text engine. This means that you don't need to have any knowledge about the writing system used in a @@ -172,7 +172,7 @@ parameter, there is no char* to TQString conversion overhead. and file format texts) need not use TQString; the traditional char* or the <a href="tqcstring.html">TQCString</a> class will suffice. <p> You're unlikely to notice that you are using Unicode; -TQString, and <a href="qchar.html">TQChar</a> are just like easier versions of the crude +TQString, and <a href="tqchar.html">TQChar</a> are just like easier versions of the crude const char* and char from traditional C. <p> <h3> Use tr() for all Literal Text </h3> @@ -183,7 +183,7 @@ to achieve this is to use <a href="tqobject.html#tr">TQObject::tr</a>(). For exa <p> <pre> LoginWidget::LoginWidget() { - <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( tr("Password:"), this ); + <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>( tr("Password:"), this ); ... } </pre> @@ -197,13 +197,13 @@ directly: <p> <pre> void some_global_function( LoginWidget *logwid ) { - <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( + <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>( LoginWidget::tr("Password:"), logwid ); } void same_global_function( LoginWidget *logwid ) { - <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( + <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>( tqApp-><a href="ntqapplication.html#translate">translate</a>("LoginWidget", "Password:"), logwid ); } |