| 1 | /* |
| 2 | SPDX-FileCopyrightText: 2011 Alejandro Fiestas Olivares <afiestas@kde.org> |
| 3 | SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@kde.org> |
| 4 | SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de> |
| 5 | |
| 6 | SPDX-License-Identifier: GPL-2.0-or-later |
| 7 | */ |
| 8 | |
| 9 | #ifndef SHAREFILEITEMACTION_H |
| 10 | #define SHAREFILEITEMACTION_H |
| 11 | |
| 12 | #include <KAbstractFileItemActionPlugin> |
| 13 | #include <KFileItemListProperties> |
| 14 | #include <QLoggingCategory> |
| 15 | |
| 16 | class QAction; |
| 17 | class KFileItemListProperties; |
| 18 | class QWidget; |
| 19 | |
| 20 | namespace Purpose |
| 21 | { |
| 22 | class ; |
| 23 | } |
| 24 | |
| 25 | Q_DECLARE_LOGGING_CATEGORY(PURPOSE_FILEITEMACTION) |
| 26 | class ShareFileItemAction : public KAbstractFileItemActionPlugin |
| 27 | { |
| 28 | Q_OBJECT |
| 29 | public: |
| 30 | ShareFileItemAction(QObject *parent); |
| 31 | ~ShareFileItemAction() override; |
| 32 | QList<QAction *> actions(const KFileItemListProperties &fileItemInfos, QWidget *parentWidget) override; |
| 33 | |
| 34 | private: |
| 35 | Purpose::Menu *; |
| 36 | bool m_isFinished = false; |
| 37 | }; |
| 38 | |
| 39 | #endif // SHAREFILEITEMACTION_H |
| 40 | |