File indexing completed on 2024-05-12 05:37:16
0001 /* 0002 SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <plasma/containmentactions.h> 0010 0011 class QAction; 0012 0013 class Paste : public Plasma::ContainmentActions 0014 { 0015 Q_OBJECT 0016 public: 0017 Paste(QObject *parent, const QVariantList &args); 0018 0019 QList<QAction *> contextualActions() override; 0020 0021 private Q_SLOTS: 0022 void doPaste(); 0023 0024 private: 0025 QAction *const m_action; 0026 };