! Returns the number of selected columns. If \c full is \c true, this function only returns the number of fully selected columns. */
| 1198 | If \c full is \c true, this function only returns the number of fully selected columns. |
| 1199 | */ |
| 1200 | int SpreadsheetView::selectedColumnCount(bool full) const { |
| 1201 | int count = 0; |
| 1202 | const int cols = m_spreadsheet->columnCount(); |
| 1203 | for (int i = 0; i < cols; i++) |
| 1204 | if (isColumnSelected(i, full)) |
| 1205 | count++; |
| 1206 | return count; |
| 1207 | } |
| 1208 | |
| 1209 | int SpreadsheetView::selectedRowCount(bool full) const { |
| 1210 | if (full) |
no test coverage detected