KConfigWidgets

kcolorschememenu.h
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;
11class QObject;
12
13#include <kconfigwidgets_export.h>
14
15/**
16 * A menu for switching color schemes
17 */
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 */
27KCONFIGWIDGETS_EXPORT KActionMenu *createMenu(KColorSchemeManager *manager, QObject *parent = nullptr);
28}
29
30#endif
A menu for switching color schemes.
KActionMenu * createMenu(KColorSchemeManager *manager, QObject *parent=nullptr)
Creates a KActionMenu populated with all the available color schemes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.