Merge remote-tracking branch 'origin/Applications/16.08
[kdepim.git] / kmail / src / editor / kmcomposerglobalaction.h
blob16fda8956b96e9dbfb2ca937b49f841592d8ed2b
1 /*
2 Copyright (c) 2015-2016 Montel Laurent <montel@kde.org>
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License, version 2, as
6 published by the Free Software Foundation.
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef KMCOMPOSERGLOBALACTION_H
19 #define KMCOMPOSERGLOBALACTION_H
21 #include <QObject>
22 class KMComposerWin;
23 class KMComposerGlobalAction : public QObject
25 Q_OBJECT
26 public:
27 explicit KMComposerGlobalAction(KMComposerWin *composerWin, QObject *parent = Q_NULLPTR);
28 ~KMComposerGlobalAction();
30 public Q_SLOTS:
31 void slotUndo();
32 void slotRedo();
33 void slotCut();
34 void slotCopy();
35 void slotPaste();
36 void slotMarkAll();
37 private:
38 KMComposerWin *mComposerWin;
41 #endif // KMCOMPOSERGLOBALACTION_H