blob: a0e29ea4cbe8f5862c055d2785c7a167d8739038 (
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
|
// Copyright (C) 2016 Orgad Shaneh <orgads@gmail.com>.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/filepath.h>
#include <QComboBox>
namespace Git {
namespace Internal { class GitClient; }
}
namespace Gerrit {
namespace Internal {
class BranchComboBox : public QComboBox
{
public:
explicit BranchComboBox(QWidget *parent = nullptr);
void init(const Utils::FilePath &repository);
private:
Utils::FilePath m_repository;
bool m_detached = false;
};
} // namespace Internal
} // namespace Gerrit
|