MCPcopy Create free account
hub / github.com/KDE/okular / clearOldModelData

Method clearOldModelData

gui/tocmodel.cpp:438–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438TOCModel *TOCModel::clearOldModelData() const
439{
440 TOCModel *oldModel = d->m_oldModel;
441 d->m_oldModel = nullptr;
442 d->m_oldTocExpandedIndexes.clear();
443 return oldModel;
444}
445
446QString TOCModel::externalFileNameForIndex(const QModelIndex &index) const
447{

Callers 1

rollbackReloadMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected