MCPcopy Create free account
hub / github.com/ElementsProject/elements / invoke

Method invoke

src/qt/transactiontablemodel.cpp:71–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }
81private:
82 uint256 hash;
83 ChangeType status;

Callers 2

DispatchNotificationsMethod · 0.45

Calls 1

GetHexMethod · 0.45

Tested by

no test coverage detected