| 553 | } |
| 554 | |
| 555 | void Matrix::addRows() { |
| 556 | #ifndef SDK |
| 557 | Q_D(Matrix); |
| 558 | if (!m_view) |
| 559 | return; |
| 560 | WAIT_CURSOR; |
| 561 | int count = m_view->selectedRowCount(false); |
| 562 | beginMacro(i18np("%1: add %2 row", "%1: add %2 rows", name(), count)); |
| 563 | exec(new MatrixInsertRowsCmd(d, rowCount(), count)); |
| 564 | endMacro(); |
| 565 | RESET_CURSOR; |
| 566 | #endif |
| 567 | } |
| 568 | |
| 569 | void Matrix::addColumns() { |
| 570 | #ifndef SDK |
nothing calls this directly
no test coverage detected