| 69 | hash(_hash), status(_status), showTransaction(_showTransaction) {} |
| 70 | |
| 71 | void invoke(QObject *ttm) |
| 72 | { |
| 73 | QString strHash = QString::fromStdString(hash.GetHex()); |
| 74 | qDebug() << "NotifyTransactionChanged: " + strHash + " status= " + QString::number(status); |
| 75 | bool invoked = QMetaObject::invokeMethod(ttm, "updateTransaction", Qt::QueuedConnection, |
| 76 | Q_ARG(QString, strHash), |
| 77 | Q_ARG(int, status), |
| 78 | Q_ARG(bool, showTransaction)); |
| 79 | assert(invoked); |
| 80 | } |
| 81 | private: |
| 82 | uint256 hash; |
| 83 | ChangeType status; |
no test coverage detected