File indexing completed on 2024-12-22 05:05:20
0001 // SPDX-FileCopyrightText: 2023 Carl Schwan <carl.schwan@gnupg.com> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 #pragma once 0005 0006 #include <QTreeView> 0007 0008 class AttachmentView : public QTreeView 0009 { 0010 Q_OBJECT 0011 0012 public: 0013 explicit AttachmentView(QWidget *parent); 0014 void contextMenuEvent(QContextMenuEvent *event) override; 0015 0016 Q_SIGNALS: 0017 void contextMenuRequested(); 0018 };