Libksieve

sieveeditorwebengineview.h
1 /*
2  SPDX-FileCopyrightText: 2016-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #pragma once
8 
9 #include <QWebEngineView>
10 class QWebEngineDownloadItem;
11 namespace KSieveUi
12 {
13 class SieveEditorWebEngineView : public QWebEngineView
14 {
15  Q_OBJECT
16 public:
17  explicit SieveEditorWebEngineView(QWidget *parent = nullptr);
18  ~SieveEditorWebEngineView() override;
19 
20 protected:
21  void contextMenuEvent(QContextMenuEvent *ev) override;
22  QWebEngineView *createWindow(QWebEnginePage::WebWindowType type) override;
23 
24 private:
25  void downloadRequested(QWebEngineDownloadItem *);
26 };
27 }
28 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:09:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.