| 140 | } |
| 141 | |
| 142 | bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override |
| 143 | { |
| 144 | if (parent.isValid()) return false; |
| 145 | if (row+count > m_paths.count()) return false; |
| 146 | beginRemoveRows(parent, row, row+count-1); |
| 147 | for (int i=0; i<count; ++i) { |
| 148 | qCDebug(DEBUGGER) << row + i; |
| 149 | m_paths.removeAt(row + i); |
| 150 | } |
| 151 | qCDebug(DEBUGGER) << m_paths.count(); |
| 152 | endRemoveRows(); |
| 153 | |
| 154 | return true; |
| 155 | } |
| 156 | |
| 157 | void loadFromConfiguration(const KConfigGroup &config) |
| 158 | { |
nothing calls this directly
no test coverage detected