1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

QML: Fix enum documentation doxygen comments

This commit is contained in:
Juraj Oravec 2022-04-08 22:12:21 +02:00
parent 1b0e728e02
commit 9085681bb3
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B
3 changed files with 16 additions and 16 deletions

View File

@ -42,12 +42,12 @@ public:
* @brief The Error enum, exposes QWebEngineUrlRequestJob::Error to QML * @brief The Error enum, exposes QWebEngineUrlRequestJob::Error to QML
*/ */
enum Error { enum Error {
NoError = QWebEngineUrlRequestJob::NoError, //! No error NoError = QWebEngineUrlRequestJob::NoError, //!< No error
UrlNotFound = QWebEngineUrlRequestJob::UrlNotFound, //! Url not found error UrlNotFound = QWebEngineUrlRequestJob::UrlNotFound, //!< Url not found error
UrlInvaild = QWebEngineUrlRequestJob::UrlInvalid, //! Url invalid error UrlInvaild = QWebEngineUrlRequestJob::UrlInvalid, //!< Url invalid error
RequestAborted = QWebEngineUrlRequestJob::RequestAborted, //! Request aborted RequestAborted = QWebEngineUrlRequestJob::RequestAborted, //!< Request aborted
RequestDenied = QWebEngineUrlRequestJob::RequestDenied, //! Request denied RequestDenied = QWebEngineUrlRequestJob::RequestDenied, //!< Request denied
RequestFailed = QWebEngineUrlRequestJob::RequestFailed //! Request failed RequestFailed = QWebEngineUrlRequestJob::RequestFailed //!< Request failed
}; };
Q_ENUM(Error) Q_ENUM(Error)
explicit QmlWebEngineUrlRequestJob(QWebEngineUrlRequestJob *job = nullptr, QObject *parent = nullptr); explicit QmlWebEngineUrlRequestJob(QWebEngineUrlRequestJob *job = nullptr, QObject *parent = nullptr);

View File

@ -31,11 +31,11 @@ public:
* @brief The WindowState enum * @brief The WindowState enum
*/ */
enum WindowState { enum WindowState {
FullScreen, //! Represents full screen window FullScreen, //!< Represents full screen window
Maximized, //! Represents maximized window Maximized, //!< Represents maximized window
Minimized, //! Represents minimized window Minimized, //!< Represents minimized window
Normal, //! Represents normal window Normal, //!< Represents normal window
Invalid //! Represents a invalid window Invalid //!< Represents a invalid window
}; };
Q_ENUM(WindowState) Q_ENUM(WindowState)
@ -43,10 +43,10 @@ public:
* @brief The WindowType enum * @brief The WindowType enum
*/ */
enum WindowType { enum WindowType {
FirstAppWindow = Qz::BW_FirstAppWindow, //! Represents first app window FirstAppWindow = Qz::BW_FirstAppWindow, //!< Represents first app window
MacFirstWindow = Qz::BW_MacFirstWindow, //! Represents first mac window MacFirstWindow = Qz::BW_MacFirstWindow, //!< Represents first mac window
NewWindow = Qz::BW_NewWindow, //! Represents new window NewWindow = Qz::BW_NewWindow, //!< Represents new window
OtherRestoredWindow = Qz::BW_OtherRestoredWindow //! Represents other restored window OtherRestoredWindow = Qz::BW_OtherRestoredWindow //!< Represents other restored window
}; };
Q_ENUM(WindowType) Q_ENUM(WindowType)

View File

@ -68,7 +68,7 @@ public:
enum ScriptWorldId { enum ScriptWorldId {
MainWorld = QWebEngineScript::MainWorld, //!< Represents QWebEngineScript::MainWorld MainWorld = QWebEngineScript::MainWorld, //!< Represents QWebEngineScript::MainWorld
ApplicationWorld = QWebEngineScript::ApplicationWorld, //!< Represents QWebEngineScript::ApplicationWorld ApplicationWorld = QWebEngineScript::ApplicationWorld, //!< Represents QWebEngineScript::ApplicationWorld
UserWorld = QWebEngineScript::UserWorld //! < Represents QWebEngineScript::UserWorld UserWorld = QWebEngineScript::UserWorld //!< Represents QWebEngineScript::UserWorld
}; };
Q_ENUM(InjectionPoint) Q_ENUM(InjectionPoint)
Q_ENUM(ScriptWorldId) Q_ENUM(ScriptWorldId)