From 9085681bb3e4d5d611c7e8c0fb4ee8eb6c863ccc Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Fri, 8 Apr 2022 22:12:21 +0200 Subject: [PATCH] QML: Fix enum documentation doxygen comments --- .../qmlwebengineurlrequestjob.h | 12 ++++++------ src/lib/plugins/qml/api/qmlenums.h | 18 +++++++++--------- .../plugins/qml/api/userscript/qmluserscript.h | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/lib/plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.h b/src/lib/plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.h index 5f1bdef2c..6efce95b3 100644 --- a/src/lib/plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.h +++ b/src/lib/plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.h @@ -42,12 +42,12 @@ public: * @brief The Error enum, exposes QWebEngineUrlRequestJob::Error to QML */ enum Error { - NoError = QWebEngineUrlRequestJob::NoError, //! No error - UrlNotFound = QWebEngineUrlRequestJob::UrlNotFound, //! Url not found error - UrlInvaild = QWebEngineUrlRequestJob::UrlInvalid, //! Url invalid error - RequestAborted = QWebEngineUrlRequestJob::RequestAborted, //! Request aborted - RequestDenied = QWebEngineUrlRequestJob::RequestDenied, //! Request denied - RequestFailed = QWebEngineUrlRequestJob::RequestFailed //! Request failed + NoError = QWebEngineUrlRequestJob::NoError, //!< No error + UrlNotFound = QWebEngineUrlRequestJob::UrlNotFound, //!< Url not found error + UrlInvaild = QWebEngineUrlRequestJob::UrlInvalid, //!< Url invalid error + RequestAborted = QWebEngineUrlRequestJob::RequestAborted, //!< Request aborted + RequestDenied = QWebEngineUrlRequestJob::RequestDenied, //!< Request denied + RequestFailed = QWebEngineUrlRequestJob::RequestFailed //!< Request failed }; Q_ENUM(Error) explicit QmlWebEngineUrlRequestJob(QWebEngineUrlRequestJob *job = nullptr, QObject *parent = nullptr); diff --git a/src/lib/plugins/qml/api/qmlenums.h b/src/lib/plugins/qml/api/qmlenums.h index 5e52c65bf..1db8c35bc 100644 --- a/src/lib/plugins/qml/api/qmlenums.h +++ b/src/lib/plugins/qml/api/qmlenums.h @@ -31,11 +31,11 @@ public: * @brief The WindowState enum */ enum WindowState { - FullScreen, //! Represents full screen window - Maximized, //! Represents maximized window - Minimized, //! Represents minimized window - Normal, //! Represents normal window - Invalid //! Represents a invalid window + FullScreen, //!< Represents full screen window + Maximized, //!< Represents maximized window + Minimized, //!< Represents minimized window + Normal, //!< Represents normal window + Invalid //!< Represents a invalid window }; Q_ENUM(WindowState) @@ -43,10 +43,10 @@ public: * @brief The WindowType enum */ enum WindowType { - FirstAppWindow = Qz::BW_FirstAppWindow, //! Represents first app window - MacFirstWindow = Qz::BW_MacFirstWindow, //! Represents first mac window - NewWindow = Qz::BW_NewWindow, //! Represents new window - OtherRestoredWindow = Qz::BW_OtherRestoredWindow //! Represents other restored window + FirstAppWindow = Qz::BW_FirstAppWindow, //!< Represents first app window + MacFirstWindow = Qz::BW_MacFirstWindow, //!< Represents first mac window + NewWindow = Qz::BW_NewWindow, //!< Represents new window + OtherRestoredWindow = Qz::BW_OtherRestoredWindow //!< Represents other restored window }; Q_ENUM(WindowType) diff --git a/src/lib/plugins/qml/api/userscript/qmluserscript.h b/src/lib/plugins/qml/api/userscript/qmluserscript.h index 98ccd1777..17fcf2f18 100644 --- a/src/lib/plugins/qml/api/userscript/qmluserscript.h +++ b/src/lib/plugins/qml/api/userscript/qmluserscript.h @@ -68,7 +68,7 @@ public: enum ScriptWorldId { MainWorld = QWebEngineScript::MainWorld, //!< Represents QWebEngineScript::MainWorld ApplicationWorld = QWebEngineScript::ApplicationWorld, //!< Represents QWebEngineScript::ApplicationWorld - UserWorld = QWebEngineScript::UserWorld //! < Represents QWebEngineScript::UserWorld + UserWorld = QWebEngineScript::UserWorld //!< Represents QWebEngineScript::UserWorld }; Q_ENUM(InjectionPoint) Q_ENUM(ScriptWorldId)