Krita Source Code Documentation
Loading...
Searching...
No Matches
KisActionsSnapshot.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISACTIONSSNAPSHOT_H
8#define KISACTIONSSNAPSHOT_H
9
10#include <kritawidgetutils_export.h>
11
12#include <QScopedPointer>
13#include <QMap>
14
15class QAction;
17
18
22class KRITAWIDGETUTILS_EXPORT KisActionsSnapshot
23{
24public:
27
35 void addAction(const QString &name, QAction *action);
36
43 QMap<QString, KisKActionCollection*> actionCollections();
44
45private:
46 struct Private;
47 const QScopedPointer<Private> m_d;
48};
49
50#endif // KISACTIONSSNAPSHOT_H
The KisActionsSnapshot class.
const QScopedPointer< Private > m_d
A container for a set of QAction objects.