| 282 | } |
| 283 | |
| 284 | void TransactionTableModel::updateConfirmations() |
| 285 | { |
| 286 | // Blocks came in since last poll. |
| 287 | // Invalidate status (number of confirmations) and (possibly) description |
| 288 | // for all rows. Qt is smart enough to only actually request the data for the |
| 289 | // visible rows. |
| 290 | Q_EMIT dataChanged(index(0, Status), index(priv->size()-1, Status)); |
| 291 | Q_EMIT dataChanged(index(0, ToAddress), index(priv->size()-1, ToAddress)); |
| 292 | } |
| 293 | |
| 294 | int TransactionTableModel::rowCount(const QModelIndex &parent) const |
| 295 | { |
no test coverage detected