summaryrefslogtreecommitdiffstats
path: root/doc/i18n.doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-24 19:37:05 +0900
committerMichele Calgaro <[email protected]>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/i18n.doc
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
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 );
}