forked from qt-creator/qt-creator
Change-Id: Ifc758fb4ac5d00a7b755ea06f3f6b98d53e7cc46 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <utils/aspects.h>
|
|
|
|
namespace Core::Internal {
|
|
|
|
class SystemSettings final : public Utils::AspectContainer
|
|
{
|
|
public:
|
|
SystemSettings();
|
|
|
|
Utils::FilePathAspect patchCommand{this};
|
|
|
|
Utils::BoolAspect autoSaveModifiedFiles{this};
|
|
Utils::IntegerAspect autoSaveInterval{this};
|
|
|
|
Utils::BoolAspect autoSaveAfterRefactoring{this};
|
|
|
|
Utils::BoolAspect autoSuspendEnabled{this};
|
|
Utils::IntegerAspect autoSuspendMinDocumentCount{this};
|
|
|
|
Utils::BoolAspect warnBeforeOpeningBigFiles{this};
|
|
Utils::IntegerAspect bigFileSizeLimitInMB{this};
|
|
|
|
Utils::IntegerAspect maxRecentFiles{this};
|
|
|
|
Utils::SelectionAspect reloadSetting{this};
|
|
|
|
#ifdef ENABLE_CRASHPAD
|
|
Utils::BoolAspect enableCrashReporting{this};
|
|
Utils::BoolAspect showCrashButton{this};
|
|
#endif
|
|
|
|
Utils::BoolAspect askBeforeExit{this};
|
|
};
|
|
|
|
SystemSettings &systemSettings();
|
|
|
|
} // Core::Internal
|