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 KCOLORSCHEMEMENU_H
8
9class KActionMenu;
10class KColorSchemeManager;
11class 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 */
21namespace 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 */
30KCONFIGWIDGETS_EXPORT KActionMenu *createMenu(KColorSchemeManager *manager, QObject *parent = nullptr);
31}
32
33#endif
34

source code of kconfigwidgets/src/kcolorschememenu.h