McuSupport: Move McuDependenciesKitAspectWidget into its own file

Change-Id: I41a2a6ec48c5c02ca655cb09ad08080d73d336fe
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Erik Verbruggen
2022-02-01 16:51:27 +01:00
committed by piotr.mucko
parent 6472e8c5bb
commit 250f4fb72f
7 changed files with 193 additions and 119 deletions

View File

@@ -1,6 +1,6 @@
/****************************************************************************
**
** Copyright (C) 2020 The Qt Company Ltd.
** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
@@ -27,8 +27,6 @@
#include "mcusupport_global.h"
#include <projectexplorer/kitinformation.h>
#include <QObject>
#include <QVector>
#include <QVersionNumber>
@@ -155,24 +153,4 @@ signals:
};
} // namespace Internal
class MCUSUPPORTSHARED_EXPORT McuDependenciesKitAspect : public ProjectExplorer::KitAspect
{
Q_OBJECT
public:
McuDependenciesKitAspect();
ProjectExplorer::Tasks validate(const ProjectExplorer::Kit *k) const override;
void fix(ProjectExplorer::Kit *k) override;
ProjectExplorer::KitAspectWidget *createConfigWidget(ProjectExplorer::Kit *k) const override;
ItemList toUserOutput(const ProjectExplorer::Kit *k) const override;
static Utils::Id id();
static Utils::NameValueItems dependencies(const ProjectExplorer::Kit *k);
static void setDependencies(ProjectExplorer::Kit *k, const Utils::NameValueItems &dependencies);
};
} // namespace McuSupport