From 5fd88f2a2099db96bee7a208d09843fd32fd6bf3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 27 Sep 2018 17:59:01 +0900 Subject: 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 --- src/tools/qstring.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tools/qstring.cpp') 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!(). */ -- cgit v1.2.3