MCPcopy Create free account
hub / github.com/KDE/kdevelop / RebaseDialog

Method RebaseDialog

plugins/git/rebasedialog.cpp:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20using namespace KDevelop;
21
22RebaseDialog::RebaseDialog(GitPlugin* plugin, const QUrl &repository, QWidget* parent)
23 : QDialog(parent), m_plugin(plugin), m_repository(repository)
24{
25 setWindowTitle(i18nc("@title:window", "Branch Selection"));
26
27 m_ui = new Ui::RebaseDialog();
28 m_ui->setupUi(this);
29
30 m_model = new BranchesListModel(this);
31 m_model->initialize(plugin, repository);
32 m_ui->branches->setModel(m_model);
33 connect(m_ui->rebaseButton, &QPushButton::clicked, this, &RebaseDialog::performRebase);
34}
35
36RebaseDialog::~RebaseDialog()
37{

Callers

nothing calls this directly

Calls 3

setupUiMethod · 0.80
initializeMethod · 0.45
setModelMethod · 0.45

Tested by

no test coverage detected