30 lines
736 B
C++
30 lines
736 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2011 Alejandro Fiestas Olivares <afiestas@kde.org>
|
|
* SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#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
|