| 432 | } |
| 433 | |
| 434 | void Spreadsheet::initConnectionsLinking(const Spreadsheet* sender, const Spreadsheet* receiver) { |
| 435 | QObject::connect(sender, &Spreadsheet::aspectAboutToBeRemoved, receiver, &Spreadsheet::linkedSpreadsheetDeleted); |
| 436 | QObject::connect(sender, &Spreadsheet::rowCountChanged, receiver, &Spreadsheet::linkedSpreadsheetNewRowCount); |
| 437 | } |
| 438 | |
| 439 | class SpreadsheetSetLinkingCmd : public QUndoCommand { |
| 440 | public: |