You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
/************************************************************************************* |
|
* SPDX-FileCopyrightText: 2016 Zhigalin Alexander <alexander@zhigalin.tk> |
|
* SPDX-FileCopyrightText: 2021 DI DIO Maximilien <maximilien.didio@gmail.com> |
|
* |
|
* 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 <QAction> |
|
#include <QObject> |
|
|
|
#include <KColorSchemeManager> |
|
|
|
// 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
|
|
|