2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2016-02-03 12:15:21 +01:00
|
|
|
#pragma once
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2023-07-18 12:14:21 +02:00
|
|
|
#include <utils/aspects.h>
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2023-05-26 09:41:47 +02:00
|
|
|
namespace VcsBase::Internal {
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2023-07-18 12:14:21 +02:00
|
|
|
class CommonVcsSettings final : public Utils::AspectContainer
|
2010-04-12 16:34:21 +02:00
|
|
|
{
|
2011-12-08 13:07:00 +01:00
|
|
|
public:
|
2010-04-12 16:34:21 +02:00
|
|
|
CommonVcsSettings();
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2023-06-01 13:58:35 +02:00
|
|
|
Utils::FilePathAspect nickNameMailMap{this};
|
|
|
|
|
Utils::FilePathAspect nickNameFieldListFile{this};
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2023-06-01 13:58:35 +02:00
|
|
|
Utils::FilePathAspect submitMessageCheckScript{this};
|
2009-03-19 17:40:01 +01:00
|
|
|
|
2010-05-21 17:46:00 +02:00
|
|
|
// Executable run to graphically prompt for a SSH-password.
|
2023-06-01 13:58:35 +02:00
|
|
|
Utils::FilePathAspect sshPasswordPrompt{this};
|
2010-05-21 17:46:00 +02:00
|
|
|
|
2023-05-26 09:41:47 +02:00
|
|
|
Utils::BoolAspect lineWrap{this};
|
|
|
|
|
Utils::IntegerAspect lineWrapWidth{this};
|
2009-03-19 17:40:01 +01:00
|
|
|
};
|
|
|
|
|
|
2023-06-01 14:30:06 +02:00
|
|
|
CommonVcsSettings &commonSettings();
|
2021-03-23 13:57:54 +01:00
|
|
|
|
2023-05-26 09:41:47 +02:00
|
|
|
} // VcsBase::Internal
|