diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 18:25:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 18:25:39 +0900 |
commit | 65ff0e19f47662065572e1d9efbd347b2181e12e (patch) | |
tree | 010125608d403d0fb7349b71e61e6a4e7047f25d /qtinterface/tqt4/Qt/qstring.h | |
parent | 7b9c011fa0b2632d63f37918bc006f6b041a92e8 (diff) | |
download | tqtinterface-65ff0e19.tar.gz tqtinterface-65ff0e19.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 'qtinterface/tqt4/Qt/qstring.h')
-rw-r--r-- | qtinterface/tqt4/Qt/qstring.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qtinterface/tqt4/Qt/qstring.h b/qtinterface/tqt4/Qt/qstring.h index bdb01db..9b6d650 100644 --- a/qtinterface/tqt4/Qt/qstring.h +++ b/qtinterface/tqt4/Qt/qstring.h @@ -50,7 +50,7 @@ #include <Qt3Support/q3cstring.h> #endif -#ifndef QT_NO_STL +#ifndef TQT_NO_STL # if defined (Q_CC_MSVC_NET) && _MSC_VER < 1310 // Avoids nasty warning for xlocale, line 450 # pragma warning (push) # pragma warning (disable : 4189) @@ -60,12 +60,12 @@ # include <string> # endif -# ifndef QT_NO_STL_WCHAR +# ifndef TQT_NO_STL_WCHAR // workaround for some headers not typedef'ing std::wstring typedef std::basic_string<wchar_t> QStdWString; -# endif // QT_NO_STL_WCHAR +# endif // TQT_NO_STL_WCHAR -#endif // QT_NO_STL +#endif // TQT_NO_STL #include <stdarg.h> @@ -476,17 +476,17 @@ public: inline void push_front(QChar c) { prepend(c); } inline void push_front(const QString &s) { prepend(s); } -#ifndef QT_NO_STL +#ifndef TQT_NO_STL static inline QString fromStdString(const std::string &s); inline std::string toStdString() const; # ifdef qdoc static inline QString fromStdWString(const std::wstring &s); inline std::wstring toStdWString() const; # else -# ifndef QT_NO_STL_WCHAR +# ifndef TQT_NO_STL_WCHAR static inline QString fromStdWString(const QStdWString &s); inline QStdWString toStdWString() const; -# endif // QT_NO_STL_WCHAR +# endif // TQT_NO_STL_WCHAR # endif // qdoc #endif @@ -1031,14 +1031,14 @@ inline QT_ASCII_CAST_WARN const QString operator+(const QString &s, const QByteA # endif // QT_USE_FAST_CONCATENATION #endif // QT_USE_FAST_OPERATOR_PLUS -#ifndef QT_NO_STL +#ifndef TQT_NO_STL inline std::string QString::toStdString() const { const QByteArray asc = toAscii(); return std::string(asc.constData(), asc.length()); } inline QString QString::fromStdString(const std::string &s) { return fromAscii(s.data(), int(s.size())); } -# ifndef QT_NO_STL_WCHAR +# ifndef TQT_NO_STL_WCHAR inline QStdWString QString::toStdWString() const { QStdWString str; |