File indexing completed on 2024-10-27 04:51:06

0001 /*
0002    SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class QMimeData;
0012 class KMComposerWin;
0013 class DndFromArkJob : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit DndFromArkJob(QObject *parent = nullptr);
0018     static bool dndFromArk(const QMimeData *source);
0019     [[nodiscard]] bool extract(const QMimeData *source);
0020     void setComposerWin(KMComposerWin *composerWin);
0021 
0022 private:
0023     KMComposerWin *mComposerWin = nullptr;
0024 };