summaryrefslogtreecommitdiffstats
path: root/doc/porting2.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 17:59:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 17:59:01 +0900
commit5fd88f2a2099db96bee7a208d09843fd32fd6bf3 (patch)
tree5cfd64687a124eb90c6dfee144b207d30df95073 /doc/porting2.doc
parent3e98ce7f85f06e95ad121c6f541d14464d85919e (diff)
downloadtqt-5fd88f2a.tar.gz
tqt-5fd88f2a.zip
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/porting2.doc')
-rw-r--r--doc/porting2.doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/porting2.doc b/doc/porting2.doc
index 639a5a83d..f0affd51f 100644
--- a/doc/porting2.doc
+++ b/doc/porting2.doc
@@ -280,7 +280,7 @@ functionality in TQt 2.x, the following steps are required:
Unicode information is being converted to ASCII (loosing
information if your user in not using Latin1). TQt has
a small number of calls to this - ignore those. As a stricter
- alternative, compile your code with QT_NO_ASCII_CAST defined,
+ alternative, compile your code with TQT_NO_ASCII_CAST defined,
which hides the automatic conversion of QString to const char*,
so you can catch problems at compile time.
</p>
@@ -1002,7 +1002,7 @@ only work for Latin1 locales (eg. Western Europe, the U.S.). To ensure your cod
filenames in other locales, either use the TQt functions, or convert the filenames via
\code QFile::encodeFilename()\endcode and \code QFile::decodeFilename()\endcode - but do it
\e just as you call the system function - code that mixes encoded and unencoded filenames
-is very error prone. See the comments in QString, such as regarding QT_NO_ASCII_CAST that
+is very error prone. See the comments in QString, such as regarding TQT_NO_ASCII_CAST that
can help find potential problems.