Changeset View
Changeset View
Standalone View
Standalone View
shell/problemmodel.cpp
Context not available. | |||||
94 | 94 | | |||
---|---|---|---|---|---|
95 | connect(d->m_problems.data(), &ProblemStore::beginRebuild, this, &ProblemModel::onBeginRebuild); | 95 | connect(d->m_problems.data(), &ProblemStore::beginRebuild, this, &ProblemModel::onBeginRebuild); | ||
96 | connect(d->m_problems.data(), &ProblemStore::endRebuild, this, &ProblemModel::onEndRebuild); | 96 | connect(d->m_problems.data(), &ProblemStore::endRebuild, this, &ProblemModel::onEndRebuild); | ||
97 | | ||||
98 | connect(d->m_problems.data(), &ProblemStore::problemsChanged, this, &ProblemModel::problemsChanged); | ||||
97 | } | 99 | } | ||
98 | 100 | | |||
99 | ProblemModel::~ ProblemModel() | 101 | ProblemModel::~ ProblemModel() | ||
Context not available. | |||||
253 | endResetModel(); | 255 | endResetModel(); | ||
254 | } | 256 | } | ||
255 | 257 | | |||
258 | QVector<IProblem::Ptr> ProblemModel::problems(const KDevelop::IndexedString& document) | ||||
259 | { | ||||
260 | return d->m_problems->problems(document); | ||||
261 | } | ||||
256 | 262 | | |||
257 | QVariant ProblemModel::headerData(int section, Qt::Orientation orientation, int role) const | 263 | QVariant ProblemModel::headerData(int section, Qt::Orientation orientation, int role) const | ||
258 | { | 264 | { | ||
Context not available. |