blob: c08bd8d59edefaaaa6e8041a535d77a6c107aab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (C) 2018 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 <utils/settingsaccessor.h>
#include <QList>
namespace ProjectExplorer {
class ToolChain;
namespace Internal {
class ToolChainSettingsAccessor : public Utils::UpgradingSettingsAccessor
{
public:
ToolChainSettingsAccessor();
QList<ToolChain *> restoreToolChains(QWidget *parent) const;
void saveToolChains(const QList<ToolChain *> &toolchains, QWidget *parent);
private:
QList<ToolChain *> toolChains(const QVariantMap &data) const;
};
} // namespace Internal
} // namespace ProjectExplorer
|