9#include "webengineviewer_export.h"
10#include <QWebEnginePage>
11class QWebEngineProfile;
12class QWebEngineDownloadRequest;
13namespace WebEngineViewer
44 void saveHtml(QWebEngineDownloadRequest *download);
46 [[nodiscard]]
QPoint mapToViewport(
const QPoint &pos)
const;
48 void urlClicked(
const QUrl &url);
49 void showConsoleMessage(
const QString &message);
52 [[nodiscard]]
bool acceptNavigationRequest(
const QUrl &url, NavigationType type,
bool isMainFrame)
override;
53 void javaScriptConsoleMessage(JavaScriptConsoleMessageLevel level,
const QString &message,
int lineNumber,
const QString &sourceID)
override;
54 [[nodiscard]]
bool eventFilter(
QObject *obj,
QEvent *event)
override;
55 [[nodiscard]]
QString refreshCssVariablesScript();
58 WEBENGINEVIEWER_NO_EXPORT
void init();
60 std::unique_ptr<Private> d;
~WebEnginePage() override
Destructor.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:48:02 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.