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

Method execute

src/backend/spreadsheet/Spreadsheet.cpp:451–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449 }
450
451 void execute() {
452 if (m_target->linking.linkedSpreadsheet)
453 QObject::disconnect(m_target->linking.linkedSpreadsheet, nullptr, m_target->q, nullptr);
454
455 if (m_linking.linkedSpreadsheet) {
456 m_linking.linkedSpreadsheetPath = m_linking.linkedSpreadsheet->path();
457 m_target->q->initConnectionsLinking(m_linking.linkedSpreadsheet, m_target->q);
458 }
459
460 const auto l = m_target->linking;
461 m_target->linking = m_linking;
462 m_linking = l;
463 }
464
465 virtual void redo() override {
466 execute();

Callers

nothing calls this directly

Calls 2

pathMethod · 0.45

Tested by

no test coverage detected