Messagelib

mailwebenginepage.h
1 /*
2  SPDX-FileCopyrightText: 2016-2021 Laurent Montel <[email protected]>
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 
11 namespace MessageViewer
12 {
13 /**
14  * @brief The MailWebEnginePage class
15  * @author Laurent Montel <[email protected]>
16  */
17 class MESSAGEVIEWER_EXPORT MailWebEnginePage : public WebEngineViewer::WebEnginePage
18 {
19  Q_OBJECT
20 public:
21  explicit MailWebEnginePage(QObject *parent = nullptr);
22  ~MailWebEnginePage() override = default;
23 
24  void setPrintElementBackground(bool printElementBackground);
25 
26 private:
27  void slotFeaturePermissionRequested(const QUrl &url, QWebEnginePage::Feature feature);
28  void initialize();
29 };
30 }
The WebEnginePage class.
Definition: webenginepage.h:21
The MailWebEnginePage class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.