Messagelib

mailwebenginepage.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7
8#include "messageviewer_export.h"
9#include <WebEngineViewer/WebEnginePage>
10
11namespace MessageViewer
12{
13/**
14 * @brief The MailWebEnginePage class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class MESSAGEVIEWER_EXPORT MailWebEnginePage : public WebEngineViewer::WebEnginePage
18{
19 Q_OBJECT
20public:
21 explicit MailWebEnginePage(QObject *parent = nullptr);
22 ~MailWebEnginePage() override = default;
23
24 void setPrintElementBackground(bool printElementBackground);
25
26private:
27 MESSAGEVIEWER_NO_EXPORT void slotFeaturePermissionRequested(const QUrl &url, QWebEnginePage::Feature feature);
28 MESSAGEVIEWER_NO_EXPORT void initialize();
29};
30}
The MailWebEnginePage class.
The WebEnginePage class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:37:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.