File indexing completed on 2024-05-12 04:38:18

0001 /*
0002     SPDX-FileCopyrightText: 2006 Adam Treat <treat@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_ENVIRONMENTPREFERENCES_H
0008 #define KDEVPLATFORM_ENVIRONMENTPREFERENCES_H
0009 
0010 #include <interfaces/configpage.h>
0011 
0012 namespace KDevelop
0013 {
0014 class EnvironmentPreferencesPrivate;
0015 
0016 class EnvironmentPreferences : public ConfigPage
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit EnvironmentPreferences(const QString& preselectedProfileName = {}, QWidget* parent = nullptr);
0021     ~EnvironmentPreferences() override;
0022 
0023     QString name() const override;
0024     QString fullName() const override;
0025     QIcon icon() const override;
0026 
0027     void apply() override;
0028     void reset() override;
0029     void defaults() override;
0030 
0031 private:
0032     const QScopedPointer<class EnvironmentPreferencesPrivate> d_ptr;
0033     Q_DECLARE_PRIVATE(EnvironmentPreferences)
0034 };
0035 
0036 }
0037 
0038 #endif
0039