2019-04-15 21:36:34 +01:00
|
|
|
/*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2011 Alejandro Fiestas Olivares <afiestas@kde.org>
|
|
|
|
* SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@kde.org>
|
2019-04-15 21:36:34 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2019-04-15 21:36:34 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SENDFILEITEMACTION_H
|
|
|
|
#define SENDFILEITEMACTION_H
|
|
|
|
|
|
|
|
#include <KFileItemListProperties>
|
|
|
|
#include <KAbstractFileItemActionPlugin>
|
|
|
|
|
|
|
|
class QAction;
|
|
|
|
class KFileItemListProperties;
|
|
|
|
class QWidget;
|
|
|
|
|
|
|
|
class SendFileItemAction : public KAbstractFileItemActionPlugin
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
SendFileItemAction(QObject* parent, const QVariantList& args);
|
|
|
|
QList< QAction* > actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget) override;
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void sendFile();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SENDFILEITEMACTION_H
|