/************************************************************************************* * SPDX-FileCopyrightText: 2016 Zhigalin Alexander * SPDX-FileCopyrightText: 2021 DI DIO Maximilien * * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL *************************************************************************************/ #ifndef KONSOLE_COLOR_SCHEME_CHOOSER_H #define KONSOLE_COLOR_SCHEME_CHOOSER_H #include #include #include // Konsole #include "konsoleprivate_export.h" class KActionCollection; /** * Provides a menu that will offer to change the color scheme * * Furthermore, it will save the selection in the user configuration. */ class KONSOLEPRIVATE_EXPORT AppColorSchemeChooser : public QAction { public: explicit AppColorSchemeChooser(QObject *parent); QString currentSchemeName() const; private Q_SLOTS: void slotSchemeChanged(QAction *triggeredAction); }; #endif