Purpose

sharefileitemaction.h
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
16class QAction;
18class QWidget;
19
20namespace Purpose
21{
22class Menu;
23}
24
25Q_DECLARE_LOGGING_CATEGORY(PURPOSE_FILEITEMACTION)
26class ShareFileItemAction : public KAbstractFileItemActionPlugin
27{
29public:
30 ShareFileItemAction(QObject *parent);
31 ~ShareFileItemAction() override;
32 QList<QAction *> actions(const KFileItemListProperties &fileItemInfos, QWidget *parentWidget) override;
33
34private:
35 Purpose::Menu *m_menu;
36 bool m_isFinished = false;
37};
38
39#endif // SHAREFILEITEMACTION_H
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.