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 <KAbstractFileItemActionPlugin>
|
2022-09-10 22:23:52 +01:00
|
|
|
#include <KFileItemListProperties>
|
2019-04-15 21:36:34 +01:00
|
|
|
|
|
|
|
class QAction;
|
|
|
|
class KFileItemListProperties;
|
|
|
|
class QWidget;
|
|
|
|
|
|
|
|
class SendFileItemAction : public KAbstractFileItemActionPlugin
|
|
|
|
{
|
2022-09-10 22:23:52 +01:00
|
|
|
Q_OBJECT
|
2019-04-15 21:36:34 +01:00
|
|
|
public:
|
2022-09-10 22:23:52 +01:00
|
|
|
SendFileItemAction(QObject *parent, const QVariantList &args);
|
|
|
|
QList<QAction *> actions(const KFileItemListProperties &fileItemInfos, QWidget *parentWidget) override;
|
2019-04-15 21:36:34 +01:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void sendFile();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SENDFILEITEMACTION_H
|