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

Method workingSet

kdevplatform/shell/workingsetcontroller.cpp:133–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133WorkingSet* WorkingSetController::workingSet(const QString& id)
134{
135 if(id.isEmpty())
136 return m_emptyWorkingSet;
137
138 auto workingSetIt = m_workingSets.find(id);
139 if (workingSetIt == m_workingSets.end()) {
140 auto* set = new WorkingSet(id);
141 connect(set, &WorkingSet::aboutToRemove,
142 this, &WorkingSetController::aboutToRemoveWorkingSet);
143 workingSetIt= m_workingSets.insert(id, set);
144 emit workingSetAdded(set);
145 }
146
147 return *workingSetIt;
148}
149
150QWidget* WorkingSetController::createSetManagerWidget(MainWindow* parent, Sublime::Area* fixedArea) {
151 if (fixedArea) {

Callers 11

addSessionMethod · 0.45
debuggerStateChangedMethod · 0.45
backToCodeMethod · 0.45
saveAreaMethod · 0.45
loadAreaMethod · 0.45
cleanupMethod · 0.45
showGlobalToolTipMethod · 0.45
areaCreatedMethod · 0.45
saveAreaMethod · 0.45
viewAddedMethod · 0.45
clearWorkingSetMethod · 0.45

Calls 4

isEmptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected