diff options
Diffstat (limited to 'src/corelib/text/qstringalgorithms.h')
-rw-r--r-- | src/corelib/text/qstringalgorithms.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/corelib/text/qstringalgorithms.h b/src/corelib/text/qstringalgorithms.h index 490e4376db..40882a73ee 100644 --- a/src/corelib/text/qstringalgorithms.h +++ b/src/corelib/text/qstringalgorithms.h @@ -41,6 +41,7 @@ #define QSTRINGALGORITHMS_H #include <QtCore/qnamespace.h> +#include <QtCore/qstringfwd.h> #include <QtCore/qcontainerfwd.h> #if 0 #pragma qt_class(QStringAlgorithms) @@ -48,31 +49,6 @@ QT_BEGIN_NAMESPACE -#if QT_VERSION >= QT_VERSION_CHECK(7, 0, 0) -# define QT_BEGIN_HAS_CHAR8_T_NAMESPACE inline namespace q_has_char8_t { -# define QT_BEGIN_NO_CHAR8_T_NAMESPACE namespace q_no_char8_t { -#else -# define QT_BEGIN_HAS_CHAR8_T_NAMESPACE namespace q_has_char8_t { -# define QT_BEGIN_NO_CHAR8_T_NAMESPACE inline namespace q_no_char8_t { -#endif -#define QT_END_HAS_CHAR8_T_NAMESPACE } -#define QT_END_NO_CHAR8_T_NAMESPACE } - -// declare namespaces: -QT_BEGIN_HAS_CHAR8_T_NAMESPACE -QT_END_HAS_CHAR8_T_NAMESPACE -QT_BEGIN_NO_CHAR8_T_NAMESPACE -QT_END_NO_CHAR8_T_NAMESPACE - -class QByteArray; -class QLatin1String; -class QStringView; -template <bool> class QBasicUtf8StringView; -class QAnyStringView; -class QChar; -class QRegularExpression; -class QRegularExpressionMatch; - namespace QtPrivate { [[nodiscard]] Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const char16_t *str) noexcept; |