summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstring.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /doc/man/man3/tqstring.3qt
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqstring.3qt')
-rw-r--r--doc/man/man3/tqstring.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqstring.3qt b/doc/man/man3/tqstring.3qt
index 7097b922c..074d0d3c8 100644
--- a/doc/man/man3/tqstring.3qt
+++ b/doc/man/man3/tqstring.3qt
@@ -696,7 +696,7 @@ Constructs a string that is a deep copy of \fIstr\fR, interpreted as a classic C
.PP
If \fIstr\fR is 0, then a null string is created.
.PP
-This is a cast constructor, but it is perfectly safe: converting a Latin-1 \fCconst char *\fR to QString preserves all the information. You can disable this constructor by defining \fCQT_NO_CAST_ASCII\fR when you compile your applications. You can also make QString objects by using setLatin1(), fromLatin1(), fromLocal8Bit(), and fromUtf8(). Or whatever encoding is appropriate for the 8-bit data you have.
+This is a cast constructor, but it is perfectly safe: converting a Latin-1 \fCconst char *\fR to QString preserves all the information. You can disable this constructor by defining \fCTQT_NO_CAST_ASCII\fR when you compile your applications. You can also make QString objects by using setLatin1(), fromLatin1(), fromLocal8Bit(), and fromUtf8(). Or whatever encoding is appropriate for the 8-bit data you have.
.PP
See also isNull() and fromAscii().
.SH "QString::QString ( const std::string & str )"
@@ -1158,7 +1158,7 @@ Returns the Unicode string decoded from the first \fIlen\fR bytes of \fIascii\fR
.PP
If a codec has been set using QTextCodec::codecForCStrings(), it is used to convert the string from 8-bit characters to Unicode. Otherwise, this function does the same as fromLatin1().
.PP
-This is the same as the QString(const char*) constructor, but you can make that constructor invisible if you compile with the define \fCQT_NO_CAST_ASCII\fR, in which case you can explicitly create a QString from 8-bit ASCII text using this function.
+This is the same as the QString(const char*) constructor, but you can make that constructor invisible if you compile with the define \fCTQT_NO_CAST_ASCII\fR, in which case you can explicitly create a QString from 8-bit ASCII text using this function.
.PP
.nf
.br