MCPcopy Create free account
hub / github.com/KDE/labplot / ~WorkbookView

Method ~WorkbookView

src/frontend/workbook/WorkbookView.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69WorkbookView::~WorkbookView() {
70 // no need to react on currentChanged() in TabWidget when views are deleted
71 disconnect(m_tabWidget, nullptr, nullptr, nullptr);
72
73 // delete all children views here, its own view will be deleted in ~AbstractPart()
74 for (const auto* part : m_workbook->children<AbstractPart>())
75 part->deleteView();
76}
77
78int WorkbookView::currentIndex() const {
79 return m_tabWidget->currentIndex();

Callers

nothing calls this directly

Calls 1

deleteViewMethod · 0.80

Tested by

no test coverage detected