1 | /* |
2 | SPDX-FileCopyrightText: 2023 David Redondo <kde@david-redondo.de> |
3 | SPDX-License-Identifier: LGPL-2.0-or-later |
4 | */ |
5 | |
6 | #ifndef KCOLORSCHEMEMENU_H |
7 | #define |
8 | |
9 | class ; |
10 | class KColorSchemeManager; |
11 | class QObject; |
12 | |
13 | #include <kconfigwidgets_export.h> |
14 | |
15 | /** |
16 | * A menu for switching color schemes |
17 | */ |
18 | namespace KColorSchemeMenu |
19 | { |
20 | /** |
21 | * Creates a KActionMenu populated with all the available color schemes. |
22 | * All actions are in an action group and when one of the actions is triggered the scheme |
23 | * referenced by this action is activated. |
24 | * |
25 | * @since 5.107 |
26 | */ |
27 | KCONFIGWIDGETS_EXPORT KActionMenu *(KColorSchemeManager *manager, QObject *parent = nullptr); |
28 | } |
29 | |
30 | #endif |
31 | |