File indexing completed on 2024-10-27 04:51:00
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 class KMComposerWin; 0011 class KMComposerGlobalAction : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit KMComposerGlobalAction(KMComposerWin *composerWin, QObject *parent = nullptr); 0016 ~KMComposerGlobalAction() override; 0017 0018 public Q_SLOTS: 0019 void slotUndo(); 0020 void slotRedo(); 0021 void slotCut(); 0022 void slotCopy(); 0023 void slotPaste(); 0024 void slotMarkAll(); 0025 void slotInsertEmoticon(const QString &str); 0026 void slotInsertText(const QString &str); 0027 0028 private: 0029 KMComposerWin *const mComposerWin; 0030 };