blob: 833c6dcb93e4fcd2462d22d5bdc65918a970b070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant
#include "qqmlformatsettings_p.h"
QQmlFormatSettings::QQmlFormatSettings(const QString &toolName) : QQmlToolingSettings(toolName)
{
addOption(s_useTabsSetting, false);
addOption(s_indentWidthSetting, 4);
addOption(s_maxColumnWidthSetting, -1);
addOption(s_normalizeSetting, false);
addOption(s_newlineSetting, QStringLiteral("native"));
addOption(s_objectsSpacingSetting, false);
addOption(s_functionsSpacingSetting, false);
}
|