MCPcopy Create free account
hub / github.com/KDE/krusader / clear

Method clear

app/DiskUsage/diskusage.cpp:457–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void DiskUsage::clear()
458{
459 baseURL = QUrl();
460 emit clearing();
461
462 QHashIterator<File *, Properties *> lit(propertyMap);
463 while (lit.hasNext())
464 delete lit.next().value();
465
466 propertyMap.clear();
467 contentMap.clear();
468 if (root)
469 delete root;
470 root = currentDirectory = nullptr;
471}
472
473int DiskUsage::calculateSizes(Directory *dirEntry, bool emitSig, int depth)
474{

Callers 12

clearListMethod · 0.45
runMethod · 0.45
slotAddMethod · 0.45
setUrlListMethod · 0.45
PackGUIMethod · 0.45
rejectMethod · 0.45
onResultPageMethod · 0.45
rejectMethod · 0.45
clearSelectionsMethod · 0.45
extraPropertiesMethod · 0.45
loadMethod · 0.45

Calls 2

nextMethod · 0.80
QUrlClass · 0.50

Tested by

no test coverage detected