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

Method VcsDiffWidget

kdevplatform/vcs/widgets/vcsdiffwidget.cpp:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60VcsDiffWidget::VcsDiffWidget( KDevelop::VcsJob* job, QWidget* parent )
61 : QWidget(parent)
62 , d_ptr(new VcsDiffWidgetPrivate(this))
63{
64 Q_D(VcsDiffWidget);
65
66 d->m_job = job;
67 d->m_ui = new Ui::VcsDiffWidget();
68 d->m_ui->setupUi( this );
69 connect( d->m_job, &VcsJob::resultsReady,
70 this, [this] (VcsJob* job) { Q_D(VcsDiffWidget); d->diffReady(job); } );
71 ICore::self()->runController()->registerJob( d->m_job );
72}
73
74VcsDiffWidget::~VcsDiffWidget()
75{

Callers

nothing calls this directly

Calls 4

setupUiMethod · 0.80
registerJobMethod · 0.80
runControllerMethod · 0.80
diffReadyMethod · 0.45

Tested by

no test coverage detected