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

Method setDefaultCheckSetSelection

plugins/clazy/checksetselectionmanager.cpp:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void CheckSetSelectionManager::setDefaultCheckSetSelection(const QString& checkSetSelectionId)
210{
211 QFile defaultCheckSetSelectionFile(defaultCheckSetSelectionFilePath());
212 defaultCheckSetSelectionFile.open(QIODevice::WriteOnly);
213
214 defaultCheckSetSelectionFile.write(checkSetSelectionId.toUtf8());
215 defaultCheckSetSelectionFile.close();
216}
217
218CheckSetSelectionLock CheckSetSelectionManager::createLock(const QString& checkSetSelectionId)
219{

Callers

nothing calls this directly

Calls 4

openMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected