1 /*
2     SPDX-FileCopyrightText: 2009 Harald Hvaal <haraldhv (at@at) stud.ntnu.no>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef EXTRACTHEREDNDPLUGIN_H
8 #define EXTRACTHEREDNDPLUGIN_H
9 
10 #include <KIO/DndPopupMenuPlugin>
11 
12 #include <QUrl>
13 
14 class ExtractHereDndPlugin : public KIO::DndPopupMenuPlugin
15 {
16     Q_OBJECT
17 
18 private Q_SLOTS:
19     void slotTriggered();
20 
21 public:
22     ExtractHereDndPlugin(QObject* parent, const QVariantList&);
23 
24     QList<QAction *> setup(const KFileItemListProperties& popupMenuInfo,
25                                    const QUrl& destination) override;
26 
27 private:
28     QUrl m_dest;
29     QList<QUrl> m_urls;
30 };
31 
32 #endif /* EXTRACTHEREDNDPLUGIN_H */
33