File indexing completed on 2024-04-28 05:48:37

0001 #pragma once
0002 // SPDX-FileCopyrightText: 2023 Kåre Särs <kare.sars@iki.fi>
0003 //
0004 // SPDX-License-Identifier: LGPL-2.0-or-later                            *
0005 //
0006 // This program is distributed in the hope that it will be useful,
0007 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0008 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0009 // General Public License for more details.
0010 // You should have received a copy of the GNU General Public
0011 // License along with this program.  If not, see <http://www.gnu.org/licenses/>.
0012 
0013 #include <KTextEditor/ConfigPage>
0014 
0015 class QCheckBox;
0016 
0017 class KateBuildConfigPage : public KTextEditor::ConfigPage
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit KateBuildConfigPage(QWidget *parent = nullptr);
0022     ~KateBuildConfigPage() override
0023     {
0024     }
0025 
0026     QString name() const override;
0027     QString fullName() const override;
0028     QIcon icon() const override;
0029 
0030     void apply() override;
0031     void reset() override;
0032     void defaults() override;
0033 
0034 Q_SIGNALS:
0035     void configChanged();
0036 
0037 private:
0038     QCheckBox *m_useDiagnosticsCB = nullptr;
0039     QCheckBox *m_autoSwitchToOutput = nullptr;
0040 };