| 567 | } |
| 568 | |
| 569 | void Matrix::addColumns() { |
| 570 | #ifndef SDK |
| 571 | Q_D(Matrix); |
| 572 | if (!m_view) |
| 573 | return; |
| 574 | WAIT_CURSOR; |
| 575 | int count = m_view->selectedRowCount(false); |
| 576 | beginMacro(i18np("%1: add %2 column", "%1: add %2 columns", name(), count)); |
| 577 | exec(new MatrixInsertColumnsCmd(d, columnCount(), count)); |
| 578 | endMacro(); |
| 579 | RESET_CURSOR; |
| 580 | #endif |
| 581 | } |
| 582 | |
| 583 | void Matrix::setCoordinates(double x1, double x2, double y1, double y2) { |
| 584 | Q_D(Matrix); |
nothing calls this directly
no test coverage detected