Libksieve

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

KDE's Doxygen guidelines are available online.