KIO

dropintonewfolderPlugin.h
1/*
2 This file is part of the KDE project
3 SPDX-FileCopyrightText: 2025 Méven Car <meven@kde.org>
4
5 SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#ifndef DROPINTONEWFOLDERPLUGIN_H
9#define DROPINTONEWFOLDERPLUGIN_H
10
11#include <KIO/DndPopupMenuPlugin>
12
13#include <QUrl>
14
15class DropIntoNewFolderPlugin : public KIO::DndPopupMenuPlugin
16{
18
19public:
20 DropIntoNewFolderPlugin(QObject *parent, const QVariantList &);
21
22 QList<QAction *> setup(const KFileItemListProperties &fileItemProps, const QUrl &destination) override;
23
24private Q_SLOTS:
25 void slotTriggered();
26
27private:
28 QUrl m_dest;
29 QList<QUrl> m_urls;
30};
31
32#endif /* DROPINTONEWFOLDERPLUGIN_H */
Base class for drag and drop popup menus.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.