diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 17:59:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 17:59:01 +0900 |
commit | 5fd88f2a2099db96bee7a208d09843fd32fd6bf3 (patch) | |
tree | 5cfd64687a124eb90c6dfee144b207d30df95073 /src/tools/qstring.cpp | |
parent | 3e98ce7f85f06e95ad121c6f541d14464d85919e (diff) | |
download | tqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.tar.gz tqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.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 'src/tools/qstring.cpp')
-rw-r--r-- | src/tools/qstring.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp index 755d26776..6afe0687a 100644 --- a/src/tools/qstring.cpp +++ b/src/tools/qstring.cpp @@ -1630,7 +1630,7 @@ TQString::TQString( const char *str ) d = new TQStringData(uc,l,l); } -#ifndef QT_NO_STL +#ifndef TQT_NO_STL /*! Constructs a string that is a deep copy of \a str. @@ -5703,7 +5703,7 @@ void TQString::setExpand( uint index, TQChar c ) \endcode It will call "operator const char*()", which is inefficent; you - may wish to define the macro \c QT_NO_ASCII_CAST when writing code + may wish to define the macro \c TQT_NO_ASCII_CAST when writing code which you wish to remain Unicode-clean. When you want the above semantics, use: @@ -6314,7 +6314,7 @@ TQString TQString::fromLocal8Bit( const char* local8Bit, int len ) 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 \c - QT_NO_ASCII_CAST when compiling your code to hide this function so + TQT_NO_ASCII_CAST 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!(). */ |