diff options
Diffstat (limited to 'doc/html/ntqstring.html')
-rw-r--r-- | doc/html/ntqstring.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/ntqstring.html b/doc/html/ntqstring.html index 6db0e307e..e8605bc65 100644 --- a/doc/html/ntqstring.html +++ b/doc/html/ntqstring.html @@ -1236,7 +1236,7 @@ significant digits (trailing zeroes are omitted). <p> Returns <a href="#ascii">ascii</a>(). 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 <tt>QT_NO_ASCII_CAST</tt> when compiling your code to hide this function so +strictly Unicode-clean, you can define the macro <tt>TQT_NO_ASCII_CAST</tt> 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 <a href="#operator!">operator!</a>(). @@ -1266,7 +1266,7 @@ alternative is to call ascii() directly and construct a std::string manually. </pre> <p> It will call "operator const char*()", which is inefficent; you -may wish to define the macro <tt>QT_NO_ASCII_CAST</tt> when writing code +may wish to define the macro <tt>TQT_NO_ASCII_CAST</tt> when writing code which you wish to remain Unicode-clean. <p> When you want the above semantics, use: <p> <pre> |