MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / TransactionTableModel

Method TransactionTableModel

src/qt/transactiontablemodel.cpp:219–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217};
218
219TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle, WalletModel *parent):
220 QAbstractTableModel(parent),
221 walletModel(parent),
222 priv(new TransactionTablePriv(this)),
223 fProcessingQueuedTransactions(false),
224 platformStyle(_platformStyle)
225{
226 columns << QString() << QString() << tr("Date") << tr("Type") << tr("Label") << BitcoinUnits::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit());
227 priv->refreshWallet(walletModel->wallet());
228
229 connect(walletModel->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit()));
230
231 subscribeToCoreSignals();
232}
233
234TransactionTableModel::~TransactionTableModel()
235{

Callers

nothing calls this directly

Calls 3

getDisplayUnitMethod · 0.80
refreshWalletMethod · 0.80
getOptionsModelMethod · 0.45

Tested by

no test coverage detected