summaryrefslogtreecommitdiffstats
path: root/doc/i18n.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/i18n.doc')
-rw-r--r--doc/i18n.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/i18n.doc b/doc/i18n.doc
index 00b70c4ec..e660f183d 100644
--- a/doc/i18n.doc
+++ b/doc/i18n.doc
@@ -122,7 +122,7 @@ the fl and fi ligatures used in typesetting US and European books.
Qt 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
Qt's input widgets (e.g. QLineEdit, TQTextEdit, and derived classes)
-and Qt's display widgets (e.g. QLabel).
+and Qt's display widgets (e.g. TQLabel).
Support for these writing systems is transparent to the programmer
and completely encapsulated in Qt's text engine. This means that you
@@ -185,7 +185,7 @@ to achieve this is to use \l TQObject::tr(). For example, assuming the
\code
LoginWidget::LoginWidget()
{
- QLabel *label = new QLabel( tr("Password:"), this );
+ TQLabel *label = new TQLabel( tr("Password:"), this );
...
}
\endcode
@@ -201,13 +201,13 @@ directly:
\code
void some_global_function( LoginWidget *logwid )
{
- QLabel *label = new QLabel(
+ TQLabel *label = new TQLabel(
LoginWidget::tr("Password:"), logwid );
}
void same_global_function( LoginWidget *logwid )
{
- QLabel *label = new QLabel(
+ TQLabel *label = new TQLabel(
tqApp->translate("LoginWidget", "Password:"),
logwid );
}