blob: 23c55e1765dbe33f462e14e9c6e2a455b5d38013 (
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
|
// Copyright (C) 2016 Lorenz Haas
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/aspects.h>
#include <utils/mimeutils.h>
namespace Beautifier::Internal {
class GeneralSettings final : public Utils::AspectContainer
{
public:
GeneralSettings();
QList<Utils::MimeType> allowedMimeTypes() const;
Utils::BoolAspect autoFormatOnSave{this};
Utils::BoolAspect autoFormatOnlyCurrentProject{this};
Utils::SelectionAspect autoFormatTools{this};
Utils::StringAspect autoFormatMime{this};
};
GeneralSettings &generalSettings();
} // Beautifier::Internal
|