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

Method StashModel

plugins/git/stashmanagerdialog.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136//////////////////StashModel
137
138StashModel::StashModel(const QDir& dir, GitPlugin* git, QObject* parent)
139 : QStandardItemModel(parent)
140{
141 auto job = git->stashList(dir, OutputJob::Silent);
142 connect(job, &VcsJob::finished, this, &StashModel::stashListReady);
143 ICore::self()->runController()->registerJob(job);
144}
145
146void StashModel::stashListReady(KJob* _job)
147{

Callers

nothing calls this directly

Calls 3

stashListMethod · 0.80
registerJobMethod · 0.80
runControllerMethod · 0.80

Tested by

no test coverage detected