| 1 | // Copyright (C) 2015 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | |
| 5 | #ifndef QWEBVIEWLOADREQUESTPRIVATE_H |
| 6 | #define QWEBVIEWLOADREQUESTPRIVATE_H |
| 7 | |
| 8 | // |
| 9 | // W A R N I N G |
| 10 | // ------------- |
| 11 | // |
| 12 | // This file is not part of the Qt API. It exists purely as an |
| 13 | // implementation detail. This header file may change from version to |
| 14 | // version without notice, or even be removed. |
| 15 | // |
| 16 | // We mean it. |
| 17 | // |
| 18 | |
| 19 | #include <QtWebView/private/qwebview_p.h> |
| 20 | #include <QtCore/qstring.h> |
| 21 | #include <QtCore/qurl.h> |
| 22 | |
| 23 | QT_BEGIN_NAMESPACE |
| 24 | |
| 25 | class Q_WEBVIEW_EXPORT QWebViewLoadRequestPrivate |
| 26 | { |
| 27 | public: |
| 28 | QWebViewLoadRequestPrivate(); |
| 29 | QWebViewLoadRequestPrivate(const QUrl &url, |
| 30 | QWebView::LoadStatus status, |
| 31 | const QString &errorString); |
| 32 | ~QWebViewLoadRequestPrivate(); |
| 33 | |
| 34 | QUrl m_url; |
| 35 | QWebView::LoadStatus m_status; |
| 36 | QString m_errorString; |
| 37 | }; |
| 38 | |
| 39 | QT_END_NAMESPACE |
| 40 | |
| 41 | Q_DECLARE_METATYPE(QWebViewLoadRequestPrivate) |
| 42 | |
| 43 | #endif // QWEBVIEWLOADREQUESTPRIVATE_H |
| 44 | |