| 200 | } |
| 201 | |
| 202 | void frmOptions::pbMoveDownClicked() { |
| 203 | int currentRow = ui.twEngines->row(ui.twEngines->selectedItems().at(0)); |
| 204 | |
| 205 | QTableWidgetItem *current, *below; |
| 206 | current = ui.twEngines->item(currentRow, 0); |
| 207 | below = ui.twEngines->item(currentRow + 1, 0); |
| 208 | |
| 209 | QTableWidgetItem tmp = *current; |
| 210 | *current = *below; |
| 211 | *below = tmp; |
| 212 | |
| 213 | ui.twEngines->selectRow(currentRow + 1); |
| 214 | } |
| 215 | |
| 216 | void frmOptions::pbEngineConfClicked() { |
| 217 | QString engineName = ui.twEngines->selectedItems().at(0)->text(); |
nothing calls this directly
no outgoing calls
no test coverage detected