blob: b82b480ef10136e6cb9e09171aadc4313e82f0f6 (
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
28
29
30
31
32
|
// Copyright (C) 2016 Hugues Delorme
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <vcsbase/submiteditorwidget.h>
namespace Bazaar::Internal {
class BranchInfo;
class BazaarCommitPanel;
/*submit editor widget based on git SubmitEditor
Some extra fields have been added to the standard SubmitEditorWidget,
to help to conform to the commit style that is used by both git and Bazaar*/
class BazaarCommitWidget : public VcsBase::SubmitEditorWidget
{
public:
BazaarCommitWidget();
void setFields(const BranchInfo &branch, const QString &userName, const QString &email);
QString committer() const;
QStringList fixedBugs() const;
bool isLocalOptionEnabled() const;
private:
BazaarCommitPanel *m_bazaarCommitPanel;
};
} // Bazaar::Insteral
|