blob: 2c6743301ba256c7ec0f36eae101799c78191142 (
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
|
// 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/mimeutils.h>
#include <coreplugin/dialogs/ioptionspage.h>
namespace Beautifier::Internal {
class GeneralSettings : public Core::PagedSettings
{
public:
GeneralSettings();
static GeneralSettings *instance();
QList<Utils::MimeType> allowedMimeTypes() const;
Utils::BoolAspect autoFormatOnSave;
Utils::BoolAspect autoFormatOnlyCurrentProject;
Utils::SelectionAspect autoFormatTools;
Utils::StringAspect autoFormatMime;
};
} // Beautifier::Internal
|