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 | * \namespace KColorSchemeMenu |
17 | * \inmodule KConfigWidgets |
18 | * |
19 | * \brief A menu for switching color schemes. |
20 | */ |
21 | namespace KColorSchemeMenu |
22 | { |
23 | /*! |
24 | * Creates a KActionMenu populated with all the available color schemes. |
25 | * All actions are in an action group and when one of the actions is triggered the scheme |
26 | * referenced by this action is activated. |
27 | * |
28 | * \since 5.107 |
29 | */ |
30 | KCONFIGWIDGETS_EXPORT KActionMenu *(KColorSchemeManager *manager, QObject *parent = nullptr); |
31 | } |
32 | |
33 | #endif |
34 | |