2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 Hugues Delorme
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2016-01-15 14:57:40 +01:00
|
|
|
|
2016-02-03 17:35:54 +01:00
|
|
|
#pragma once
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2021-03-19 13:34:25 +01:00
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
|
|
|
|
|
2011-02-28 13:40:06 +01:00
|
|
|
#include <vcsbase/vcsbaseclientsettings.h>
|
|
|
|
|
|
|
|
|
|
namespace Bazaar {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2021-04-06 13:11:16 +02:00
|
|
|
class BazaarSettings final : public VcsBase::VcsBaseSettings
|
2011-02-28 13:40:06 +01:00
|
|
|
{
|
2021-07-09 14:51:22 +02:00
|
|
|
Q_DECLARE_TR_FUNCTIONS(Bazaar::Internal::BazaarSettings)
|
|
|
|
|
|
2011-02-28 13:40:06 +01:00
|
|
|
public:
|
2021-04-06 13:11:16 +02:00
|
|
|
BazaarSettings();
|
|
|
|
|
|
2021-03-19 13:34:25 +01:00
|
|
|
Utils::BoolAspect diffIgnoreWhiteSpace;
|
|
|
|
|
Utils::BoolAspect diffIgnoreBlankLines;
|
|
|
|
|
Utils::BoolAspect logVerbose;
|
|
|
|
|
Utils::BoolAspect logForward;
|
|
|
|
|
Utils::BoolAspect logIncludeMerges;
|
|
|
|
|
Utils::StringAspect logFormat;
|
2011-02-28 13:40:06 +01:00
|
|
|
};
|
|
|
|
|
|
2021-04-06 13:11:16 +02:00
|
|
|
class BazaarSettingsPage final : public Core::IOptionsPage
|
2021-03-19 13:34:25 +01:00
|
|
|
{
|
|
|
|
|
public:
|
2021-04-06 13:11:16 +02:00
|
|
|
explicit BazaarSettingsPage(BazaarSettings *settings);
|
2021-03-19 13:34:25 +01:00
|
|
|
};
|
|
|
|
|
|
2011-02-28 13:40:06 +01:00
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Bazaar
|