File indexing completed on 2024-04-28 05:47:34
0001 /* 0002 SPDX-FileCopyrightText: 2009 Harald Hvaal <haraldhv (at@at) stud.ntnu.no> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef EXTRACTHEREDNDPLUGIN_H 0008 #define EXTRACTHEREDNDPLUGIN_H 0009 0010 #include <KIO/DndPopupMenuPlugin> 0011 0012 #include <QUrl> 0013 0014 class ExtractHereDndPlugin : public KIO::DndPopupMenuPlugin 0015 { 0016 Q_OBJECT 0017 0018 private Q_SLOTS: 0019 void slotTriggered(); 0020 0021 public: 0022 ExtractHereDndPlugin(QObject *parent, const QVariantList &); 0023 0024 QList<QAction *> setup(const KFileItemListProperties &popupMenuInfo, const QUrl &destination) override; 0025 0026 private: 0027 QUrl m_dest; 0028 QList<QUrl> m_urls; 0029 }; 0030 0031 #endif /* EXTRACTHEREDNDPLUGIN_H */