Warning, file /utilities/kate/addons/gdbplugin/debugconfigpage.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2019 Mark Nauwelaerts <mark.nauwelaerts@gmail.com>
0003     SPDX-FileCopyrightText: 2023 Akseli Lahtinen <akselmo@akselmo.dev>
0004 
0005     SPDX-License-Identifier: MIT
0006 */
0007 
0008 #pragma once
0009 
0010 #include <KTextEditor/ConfigPage>
0011 
0012 class KatePluginGDB;
0013 
0014 namespace Ui
0015 {
0016 class DebugConfigWidget;
0017 }
0018 
0019 class DebugConfigPage : public KTextEditor::ConfigPage
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     explicit DebugConfigPage(QWidget *parent = nullptr, KatePluginGDB *plugin = nullptr);
0025     ~DebugConfigPage() override;
0026 
0027     QString name() const override;
0028     QString fullName() const override;
0029     QIcon icon() const override;
0030 
0031 public Q_SLOTS:
0032     void apply() override;
0033     void defaults() override;
0034     void reset() override;
0035     void configTextChanged();
0036     void configUrlChanged();
0037     void updateHighlighters();
0038 
0039 private:
0040     void readUserConfig(const QString &fileName);
0041     void updateConfigTextErrorState();
0042 
0043     Ui::DebugConfigWidget *ui;
0044     KatePluginGDB *m_plugin;
0045 };