diff options
author | Michele Calgaro <[email protected]> | 2024-07-24 19:37:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-24 19:37:05 +0900 |
commit | 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch) | |
tree | be5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/i18n.doc | |
parent | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff) | |
download | tqt3-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.doc | 8 |
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 ); } |