1 #ifndef TOKENITEMMODEL_H 2 #define TOKENITEMMODEL_H 4 #include <QAbstractItemModel> 41 QModelIndex
index(
int row,
int column,
42 const QModelIndex &
parent = QModelIndex())
const;
43 QModelIndex
parent(
const QModelIndex &child)
const;
46 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const;
55 void updateToken(
const QString &hash,
int status,
bool showToken);
74 #endif // TOKENITEMMODEL_H
WalletModel * walletModel
int rowCount(const QModelIndex &parent=QModelIndex()) const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
void emitDataChanged(int index)
Notify listeners that data changed.
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
void updateToken(const QString &hash, int status, bool showToken)
void unsubscribeFromCoreSignals()
QModelIndex parent(const QModelIndex &child) const
TokenItemModel(CWallet *wallet, WalletModel *parent=0)
void subscribeToCoreSignals()
int columnCount(const QModelIndex &parent=QModelIndex()) const
Interface to Fabcoin wallet from Qt view code.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
void checkTokenBalanceChanged()