| 253 | } |
| 254 | |
| 255 | void TransactionTableModel::updateConfirmations() |
| 256 | { |
| 257 | // Blocks came in since last poll. |
| 258 | // Invalidate status (number of confirmations) and (possibly) description |
| 259 | // for all rows. Qt is smart enough to only actually request the data for the |
| 260 | // visible rows. |
| 261 | Q_EMIT dataChanged(index(0, Status), index(priv->size()-1, Status)); |
| 262 | Q_EMIT dataChanged(index(0, ToAddress), index(priv->size()-1, ToAddress)); |
| 263 | } |
| 264 | |
| 265 | int TransactionTableModel::rowCount(const QModelIndex &parent) const |
| 266 | { |
no test coverage detected