diff options
| -rw-r--r-- | src/qmlcompiler/qqmljsloggingutils.cpp | 36 | ||||
| -rw-r--r-- | src/qmlcompiler/qqmlsa.cpp | 6 |
2 files changed, 21 insertions, 21 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.cpp b/src/qmlcompiler/qqmljsloggingutils.cpp index 1b08df8720..6479a6c8fc 100644 --- a/src/qmlcompiler/qqmljsloggingutils.cpp +++ b/src/qmlcompiler/qqmljsloggingutils.cpp @@ -10,6 +10,24 @@ QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; +/*! + \class QQmlSA::LoggerWarningId + \inmodule QtQmlCompiler + + \brief A wrapper around a string literal to uniquely identify + warning categories in the \c{QQmlSA} framework. +*/ + +/*! + \fn QQmlSA::LoggerWarningId::LoggerWarningId(QAnyStringView name) + Constructs a LoggerWarningId object with logging catergory name \a name. +*/ + +/*! + \fn QAnyStringView QQmlSA::LoggerWarningId::name() const + Returns the name of the wrapped warning category. +*/ + namespace QQmlJS { LoggerCategory::LoggerCategory() : d_ptr{ new LoggerCategoryPrivate } { } @@ -127,24 +145,6 @@ LoggerCategoryPrivate *LoggerCategoryPrivate::get(LoggerCategory *loggerCategory return loggerCategory->d_func(); } -/*! - \class QQmlSA::LoggerWarningId - \inmodule QtQmlCompiler - - \brief A wrapper around a string literal to uniquely identify - warning categories in the \c{QQmlSA} framework. -*/ - -/*! - \fn constexpr LoggerWarningId::LoggerWarningId(QAnyStringView name) - Constructs a LoggerWarningId object with logging catergory name \a name. - */ - -/*! - \fn QAnyStringView LoggerWarningId::name() const - Returns the name of the wrapped warning category. - */ - namespace LoggingUtils { QString levelToString(const QQmlJS::LoggerCategory &category) diff --git a/src/qmlcompiler/qqmlsa.cpp b/src/qmlcompiler/qqmlsa.cpp index 0be0de264c..cbe0370032 100644 --- a/src/qmlcompiler/qqmlsa.cpp +++ b/src/qmlcompiler/qqmlsa.cpp @@ -452,7 +452,7 @@ QMultiHash<QString, Method>::const_iterator Method::Methods::constBegin() const } /*! - \fn QMultiHash<QString, Method>::const_iterator Methods::begin() const + \fn QMultiHash<QString, QQmlSA::Method>::const_iterator QQmlSA::Method::Methods::begin() const Returns an iterator to the beginning of the methods. */ @@ -471,7 +471,7 @@ QMultiHash<QString, Method>::const_iterator Method::Methods::constEnd() const } /*! - \fn QMultiHash<QString, Method>::const_iterator Methods::end() const + \fn QMultiHash<QString, QQmlSA::Method>::const_iterator QQmlSA::Method::Methods::end() const Returns an iterator to the end of the methods. */ @@ -839,7 +839,7 @@ Element &Element::operator=(const Element &other) } /*! - \fn Element &Element::operator=(Element &&) noexpect; + \fn QQmlSA::Element &QQmlSA::Element::operator=(QQmlSA::Element &&other) Move-assigns \a other to this Element instance. */ |
