summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/api/qquickwebenginedialogrequests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webenginequick/api/qquickwebenginedialogrequests.cpp')
-rw-r--r--src/webenginequick/api/qquickwebenginedialogrequests.cpp114
1 files changed, 0 insertions, 114 deletions
diff --git a/src/webenginequick/api/qquickwebenginedialogrequests.cpp b/src/webenginequick/api/qquickwebenginedialogrequests.cpp
index 5d56d6b75..3489eab31 100644
--- a/src/webenginequick/api/qquickwebenginedialogrequests.cpp
+++ b/src/webenginequick/api/qquickwebenginedialogrequests.cpp
@@ -715,120 +715,6 @@ void QQuickWebEngineFileDialogRequest::dialogReject()
///////////////////////////////////////////////////////////////////////////////
/*!
- \qmltype FormValidationMessageRequest
- //! \instantiates QQuickWebEngineFormValidationMessageRequest
- \inqmlmodule QtWebEngine
- \since QtWebEngine 1.4
- \obsolete
-
- \brief A request for showing a HTML5 form validation message to the user.
-
- No longer used since 5.11, as Blink now renders Validation messages internally.
-*/
-
-QQuickWebEngineFormValidationMessageRequest::QQuickWebEngineFormValidationMessageRequest(
- QQuickWebEngineFormValidationMessageRequest::RequestType type, const QRect& anchor,
- const QString &mainText, const QString &subText, QObject *parent):
- QObject(parent)
- , m_anchor(anchor)
- , m_mainText(mainText)
- , m_subText(subText)
- , m_type(type)
- , m_accepted(false)
-{
-
-}
-
-QQuickWebEngineFormValidationMessageRequest::~QQuickWebEngineFormValidationMessageRequest()
-{
-
-}
-
-/*!
- \qmlproperty rectangle FormValidationMessageRequest::anchor
- \readonly
-
- An anchor of an element in the viewport for which the form
- validation message should be displayed.
-*/
-
-QRect QQuickWebEngineFormValidationMessageRequest::anchor() const
-{
- return m_anchor;
-}
-
-/*!
- \qmlproperty bool FormValidationMessageRequest::text
- \readonly
-
- The text of the form validation message.
-*/
-
-
-QString QQuickWebEngineFormValidationMessageRequest::text() const
-{
- return m_mainText;
-}
-
-/*!
- \qmlproperty bool FormValidationMessageRequest::subText
- \readonly
-
- The subtext of the form validation message.
-*/
-
-
-QString QQuickWebEngineFormValidationMessageRequest::subText() const
-{
- return m_subText;
-}
-
-/*!
- \qmlproperty enumeration FormValidationMessageRequest::type
- \readonly
-
- The type of the form validation message request.
-
- \value ValidationMessageRequest.Show
- The form validation message should be shown.
- \value ValidationMessageRequest.Hide
- The form validation message should be hidden.
- \value ValidationMessageRequest.Move
- The form validation message should be moved.
-*/
-
-QQuickWebEngineFormValidationMessageRequest::RequestType QQuickWebEngineFormValidationMessageRequest::type() const
-{
- return m_type;
-}
-
-/*!
- \qmlproperty bool FormValidationMessageRequest::accepted
-
- Indicates whether the form validation request has been
- accepted by the signal handler.
-
- If the property is \c false after any signal handlers
- for WebEngineView::validationMessageRequested have been executed,
- a default file validation message will be shown.
- To prevent this, set \c {request.accepted} to \c true.
-
- The default is \c false.
-*/
-
-bool QQuickWebEngineFormValidationMessageRequest::isAccepted() const
-{
- return m_accepted;
-}
-
-void QQuickWebEngineFormValidationMessageRequest::setAccepted(bool accepted)
-{
- m_accepted = accepted;
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-/*!
\qmltype TooltipRequest
//! \instantiates QQuickWebEngineTooltipRequest
\inqmlmodule QtWebEngine