From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- doc/html/ntqstring.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/ntqstring.html') diff --git a/doc/html/ntqstring.html b/doc/html/ntqstring.html index e8605bc65..06533f222 100644 --- a/doc/html/ntqstring.html +++ b/doc/html/ntqstring.html @@ -380,7 +380,7 @@ you change it using TQTextCodec:

If str is 0, then a null string is created.

This is a cast constructor, but it is perfectly safe: converting a Latin-1 const char * to TQString preserves all the information. You -can disable this constructor by defining QT_NO_CAST_ASCII when +can disable this constructor by defining TQT_NO_CAST_ASCII when you compile your applications. You can also make TQString objects by using setLatin1(), fromLatin1(), fromLocal8Bit(), and fromUtf8(). Or whatever encoding is appropriate for the 8-bit data @@ -928,7 +928,7 @@ it is used to convert the string from 8-bit characters to Unicode. Otherwise, this function does the same as fromLatin1().

This is the same as the TQString(const char*) constructor, but you can make that constructor invisible if you compile with the define -QT_NO_CAST_ASCII, in which case you can explicitly create a +TQT_NO_CAST_ASCII, in which case you can explicitly create a TQString from 8-bit ASCII text using this function.

         TQString str = TQString::fromAscii( "123456789", 5 );
-- 
cgit v1.2.1