summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstring.3qt
diff options
context:
space:
mode:
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 d6a7022e..7097b922 100644
--- a/doc/man/man3/tqstring.3qt
+++ b/doc/man/man3/tqstring.3qt
@@ -1456,7 +1456,7 @@ With 'e', 'E', and 'f', \fIprec\fR is the number of digits after the decimal poi
.PP
See also setNum().
.SH "QString::operator const char * () const"
-Returns ascii(). Be sure to see the warnings documented in the ascii() function. Note that for new code which you wish to be strictly Unicode-clean, you can define the macro \fCQT_NO_ASCII_CAST\fR when compiling your code to hide this function so that automatic casts are not done. This has the added advantage that you catch the programming error described in operator!().
+Returns ascii(). Be sure to see the warnings documented in the ascii() function. Note that for new code which you wish to be strictly Unicode-clean, you can define the macro \fCTQT_NO_ASCII_CAST\fR when compiling your code to hide this function so that automatic casts are not done. This has the added advantage that you catch the programming error described in operator!().
.SH "QString::operator std::string () const"
Returns ascii() as a std::string.
.PP
@@ -1486,7 +1486,7 @@ Note that if you say
.br
.fi
.PP
-It will call "operator const char*()", which is inefficent; you may wish to define the macro \fCQT_NO_ASCII_CAST\fR when writing code which you wish to remain Unicode-clean.
+It will call "operator const char*()", which is inefficent; you may wish to define the macro \fCTQT_NO_ASCII_CAST\fR when writing code which you wish to remain Unicode-clean.
.PP
When you want the above semantics, use:
.PP