Files
qt-creator/src/plugins/clangtools/settingswidget.h
Lucie Gérard a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00

47 lines
921 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "clangtoolssettings.h"
#include <coreplugin/dialogs/ioptionspage.h>
#include <memory>
namespace Utils { class FilePath; }
namespace ClangTools {
namespace Internal {
namespace Ui { class SettingsWidget; }
class SettingsWidget : public Core::IOptionsPageWidget
{
Q_OBJECT
public:
static SettingsWidget *instance();
SettingsWidget();
~SettingsWidget() override;
Utils::FilePath clangTidyPath() const;
Utils::FilePath clazyStandalonePath() const;
private:
void apply() final;
std::unique_ptr<Ui::SettingsWidget> m_ui;
ClangToolsSettings *m_settings;
};
class ClangToolsOptionsPage final : public Core::IOptionsPage
{
public:
ClangToolsOptionsPage();
};
} // namespace Internal
} // namespace ClangTools