MCPcopy Create free account
hub / github.com/KDE/labplot / rowsAboutToBeRemoved

Method rowsAboutToBeRemoved

src/backend/notebook/Notebook.cpp:239–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void Notebook::rowsAboutToBeRemoved(const QModelIndex& /*parent*/, int first, int last) {
240 for (int i = first; i <= last; ++i) {
241 const QString& name = m_variableModel->data(m_variableModel->index(first, 0)).toString();
242 Column* column = child<Column>(name);
243 if (column)
244 column->remove();
245 }
246}
247
248QList<Cantor::PanelPlugin*> Notebook::getPlugins() {
249 DEBUG(Q_FUNC_INFO)

Callers 2

removeColumnsMethod · 0.80

Calls 4

toStringMethod · 0.45
dataMethod · 0.45
indexMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected