Warning, file /libraries/xdg-portal-test-kde/src/dropsite/dropsitewindow.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // SPDX-License-Identifier: BSD-3-Clause 0002 // SPDX-FileCopyrightText: 2016 The Qt Company Ltd. <https://www.qt.io/licensing/> 0003 // SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org> 0004 0005 #pragma once 0006 0007 #include <QWidget> 0008 0009 class QDialogButtonBox; 0010 class QLabel; 0011 class QMimeData; 0012 class QPushButton; 0013 class QTableWidget; 0014 class DropArea; 0015 0016 class DropSiteWindow : public QWidget 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit DropSiteWindow(QWidget *parent = nullptr); 0022 0023 public Q_SLOTS: 0024 void updateFormatsTable(const QMimeData *mimeData); 0025 void copy(); 0026 0027 private: 0028 DropArea *dropArea; 0029 QLabel *abstractLabel; 0030 QTableWidget *formatsTable; 0031 0032 QPushButton *clearButton; 0033 QPushButton *copyButton; 0034 QDialogButtonBox *buttonBox; 0035 };