From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/unicode.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/unicode.html') diff --git a/doc/html/unicode.html b/doc/html/unicode.html index 89f227e3d..5de9d2d46 100644 --- a/doc/html/unicode.html +++ b/doc/html/unicode.html @@ -66,7 +66,7 @@ strings are stored using Unicode. TQt provides:

  • Translation to/from legacy encodings for file I/O: see TQTextCodec and TQTextStream.
  • Translation from Input Methods and 8-bit keyboard input.
  • Translation to legacy character sets for on-screen display. -
  • A string class, TQString, that stores Unicode characters, with +
  • A string class, TQString, that stores Unicode characters, with support for migrating from C strings including fast (cached) translation to and from US-ASCII, and all the usual string operations. @@ -74,14 +74,14 @@ operations.
  • Unicode support detection on Windows, so that TQt provides Unicode even on Windows platforms that do not support it natively.

    -

    To fully benefit from Unicode, we recommend using TQString for storing +

    To fully benefit from Unicode, we recommend using TQString for storing all user-visible strings, and performing all text file I/O using TQTextStream. Use TQKeyEvent::text() for keyboard input in any custom widgets you write; it does not make much difference for slow typists in Western Europe or North America, but for fast typists or people using special input methods using text() is beneficial.

    All the function arguments in TQt that may be user-visible strings, TQLabel::setText() and a many others, take const TQString &s. -TQString provides implicit casting from const char * +TQString provides implicit casting from const char * so that things like

         myLabel->setText( "Hello, Dolly!" );
    @@ -110,7 +110,7 @@ writing, Vietnamese/VISCII is one such example.)
     fast functions for mapping to and from them. For example, to open an
     application's icon one might do this:
     
    -        TQFile f( TQString::fromLatin1("appicon.png") );
    +        TQFile f( TQString::fromLatin1("appicon.png") );
     

    Regarding output, TQt will do a best-effort conversion from -- cgit v1.2.1