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

Method areaViewAdded

kdevplatform/shell/workingsets/workingset.cpp:508–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508void WorkingSet::areaViewAdded(Sublime::AreaIndex*, Sublime::View*) {
509 auto* area = qobject_cast<Sublime::Area*>(sender());
510 Q_ASSERT(area);
511 Q_ASSERT(area->workingSet() == m_id);
512
513 qCDebug(WORKINGSET) << "added view in" << area << ", id" << m_id;
514 if (m_loading) {
515 qCDebug(WORKINGSET) << "doing nothing because loading";
516 return;
517 }
518
519 changed(area);
520}
521
522void WorkingSet::areaViewRemoved(Sublime::AreaIndex*, Sublime::View* view) {
523 auto* area = qobject_cast<Sublime::Area*>(sender());

Callers

nothing calls this directly

Calls 1

workingSetMethod · 0.45

Tested by

no test coverage detected